Bug#675326: iipimage: log file /var/log/iipsrv.log is not being created
Log file problem can be fixed by simply adding the following lines to postinst file: touch /var/log/iipsrv.log chown www-data:www-data /var/log/iipsrv.log See attached patch. 12a13,14 > touch /var/log/iipsrv.log > chown www-data:www-data /var/log/iipsrv.log
Bug#675001: iipimage: add Lighttpd support
For Lighttpd support, simply add the following to the postinst file: if [ -e /etc/lighttpd/lighttpd.conf ]; then lighty-enable-mod iipsrv || true touch /var/log/iipsrv.log chown www-data:www-data /var/log/iipsrv.log fi See attached postinst patch. And include the attached 20-iipsrv.conf file in /etc/lighttpd/conf-available/ # Lighttpd configuration of the iipimage-server package. server.modules += ( "mod_fastcgi" ) fastcgi.server += ( "/fcgi-bin/iipsrv.fcgi" => (( "host" => "127.0.0.1", "port" => 9000, "check-local" => "disable", "min-procs" => 1, "max-procs" => 1, "bin-path" => "/usr/lib/iipimage-server/iipsrv.fcgi", # IIPImage server parameters. # See iipimage manpage for more details. "bin-environment" => ( "LOGFILE" => "/var/log/iipsrv.log", "VERBOSITY" => "1", "JPEG_QUALITY" => "90", "MAX_IMAGE_CACHE_SIZE" => "10", "MAX_CVT" => "5000", "MEMCACHED_SERVERS" => "localhost" ) )) ) 14a15,20 > if [ -e /etc/lighttpd/lighttpd.conf ]; then > lighty-enable-mod iipsrv || true > touch /var/log/iipsrv.log > chown www-data:www-data /var/log/iipsrv.log > fi >
Bug#675325: iipimage: iipsrv.conf file is configured to use mod_fastcgi
Here's the iipsrv.conf mod_fcgid configuration file to use instead. # Create a directory for the iipsrv binary ScriptAlias /fcgi-bin/ "/usr/lib/iipimage-server/" # Set the options on that directory AllowOverride None Options None Order allow,deny Allow from all # Set the module handler AddHandler fcgid-script .fcgi # Set our environment variables for the IIP server FcgidInitialEnv VERBOSITY "1" FcgidInitialEnv LOGFILE "/var/log/iipsrv.log" FcgidInitialEnv MAX_IMAGE_CACHE_SIZE "10" FcgidInitialEnv JPEG_QUALITY "90" FcgidInitialEnv MAX_CVT "5000" FcgidInitialEnv MEMCACHED_SERVERS "localhost" # Define the idle timeout as unlimited and the number of # processes we want FcgidIdleTimeout 0 FcgidMaxClassProcessesPerClass 1
Bug#675001: iipimage: add Lighttpd support
lighty-enable-mod works in the same way as a2enmod and will symlink to the conf-enabled directory. I've tested this and it does work. Our Ubuntu binary .deb uses this technique. On 06/13/2012 06:23 PM, Mathieu Malaterre wrote: > tags 675001 - patch > tags 675001 moreinfo > thanks > > On Wed, Jun 13, 2012 at 3:59 PM, Ruven wrote: >> For Lighttpd support, simply add the following to the postinst file: >> >> if [ -e /etc/lighttpd/lighttpd.conf ]; then >>lighty-enable-mod iipsrv || true >>touch /var/log/iipsrv.log >>chown www-data:www-data /var/log/iipsrv.log >> fi >> >> See attached postinst patch. >> >> And include the attached 20-iipsrv.conf file in >> /etc/lighttpd/conf-available/ >> > > You are not installing 20-iipsrv.conf at any point in time... are you > sure about this patch ? Does it works for you ? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#675325: iipimage: iipsrv.conf file is configured to use mod_fastcgi
OK, try this then. On 06/13/2012 06:17 PM, Mathieu Malaterre wrote: > tags 675325 - patch > thanks > > > On Wed, Jun 13, 2012 at 4:40 PM, Ruven wrote: >> >> Here's the iipsrv.conf mod_fcgid configuration file to use instead. > > > This file is not a patch. It does not respect debian webapp policy either: > > http://webapps-common.alioth.debian.org/draft/html/ch-httpd.html#s-httpd-location 9a10,12 > ># Set the module handler >AddHandler fcgid-script .fcgi 12,13c15,26 < # Set the handler < AddHandler fastcgi-script fcg fcgi fpl --- > # Set our environment variables for the IIP server > FcgidInitialEnv VERBOSITY "1" > FcgidInitialEnv LOGFILE "/var/log/iipsrv.log" > FcgidInitialEnv MAX_IMAGE_CACHE_SIZE "10" > FcgidInitialEnv JPEG_QUALITY "90" > FcgidInitialEnv MAX_CVT "5000" > FcgidInitialEnv MEMCACHED_SERVERS "localhost" > > # Define the idle timeout as unlimited and the number of > # processes we want > FcgidIdleTimeout 0 > FcgidMaxClassProcessesPerClass 1 15,22d27 < # Initialise the FCGI server - set some default values < FastCgiServer /usr/lib/iipimage-server/iipsrv.fcgi \ < -initial-env LOGFILE=/var/log/iipsrv.log \ < -initial-env VERBOSITY=1 \ < -initial-env JPEG_QUALITY=90 \ < -initial-env MAX_IMAGE_CACHE_SIZE=10 \ < -initial-env MAX_CVT=5000 \ < -initial-env MEMCACHED_SERVERS=localhost
Bug#675001: iipimage: add Lighttpd support
And if we're using /iipsrv/ as per policy then you should apply this patch to 20-iipsrv.conf On 06/13/2012 06:31 PM, Ruven wrote: > > lighty-enable-mod works in the same way as a2enmod and will symlink to > the conf-enabled directory. I've tested this and it does work. Our > Ubuntu binary .deb uses this technique. > > > > On 06/13/2012 06:23 PM, Mathieu Malaterre wrote: >> tags 675001 - patch >> tags 675001 moreinfo >> thanks >> >> On Wed, Jun 13, 2012 at 3:59 PM, Ruven wrote: >>> For Lighttpd support, simply add the following to the postinst file: >>> >>> if [ -e /etc/lighttpd/lighttpd.conf ]; then >>>lighty-enable-mod iipsrv || true >>>touch /var/log/iipsrv.log >>>chown www-data:www-data /var/log/iipsrv.log >>> fi >>> >>> See attached postinst patch. >>> >>> And include the attached 20-iipsrv.conf file in >>> /etc/lighttpd/conf-available/ >>> >> >> You are not installing 20-iipsrv.conf at any point in time... are you >> sure about this patch ? Does it works for you ? > > > 6c6 < "/fcgi-bin/iipsrv.fcgi" => --- > "/iipsrv/iipsrv.fcgi" =>
Bug#675001: iipimage: add Lighttpd support
And of course the rules file needs to be updated to include this new conf file. 24a25 > dh_install debian/20-iipsrv.conf etc/lighttpd/conf-available
Bug#675001: iipimage: add Lighttpd support
And the final prerm disabling of the lighttpd config. 15c15,17 < --- > if [ -e /etc/lighttpd/lighttpd.conf ]; then > lighty-disable-mod iipsrv || true > fi
Bug#675325: iipimage: iipsrv.conf file is configured to use mod_fastcgi
Not really! This config works with mod_fcgid, which is what you have listed as a dependency. mod_fastcgi works fine also, but is for some reason, included in Debian's "non-free" repository. So, we need to decide which fcgi module we use. Also on your setup, you should check why mod_fcgid has not been pulled in and installed as a dependency. On 06/13/2012 07:01 PM, Mathieu Malaterre wrote: > On Wed, Jun 13, 2012 at 6:45 PM, Ruven wrote: >> >> OK, try this then. > > Your patch breaks the old conf for apache2. Is this intended ? > > $ sudo /etc/init.d/apache2 restart > Syntax error on line 16 of /etc/apache2/mods-enabled/iipsrv.conf: > Invalid command 'FcgidInitialEnv', perhaps misspelled or defined by a > module not included in the server configuration > Action 'configtest' failed. > The Apache error log may have more information. > failed! -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#675325: iipimage: iipsrv.conf file is configured to use mod_fastcgi
I'm saying libapache2-mod-fcgid is a dependency, but your original config file was not compatible with this and was for libapache2-mod-fastcgi, which therefore didn't work (and is also even non-free). So, the question is why does this new config file not work on your machine? Is libapache2-mod-fcgid being installed? How exactly does the dependency "libapache2-mod-fcgid | httpd" work? Is httpd is a virtual package? In which case, libapache2-mod-fcgid won't necessarily be pulled in if you have apache installed. Perhaps the dependency should be "libapache2-mod-fcgid | lighttpd"? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#675325: iipimage: iipsrv.conf file is configured to use mod_fastcgi
So your previous error is no longer happening?: > Syntax error on line 16 of /etc/apache2/mods-enabled/iipsrv.conf: > Invalid command 'FcgidInitialEnv', perhaps misspelled or defined by a > module not included in the server configuration > Action 'configtest' failed. > The Apache error log may have more information. > failed! -- http://iipimage.sourceforge.net --- On 06/14/2012 05:13 PM, Mathieu Malaterre wrote: > On Thu, Jun 14, 2012 at 5:10 PM, Ruven wrote: >> I'm saying libapache2-mod-fcgid is a dependency, but your original >> config file was not compatible with this and was for >> libapache2-mod-fastcgi, which therefore didn't work (and is also even >> non-free). > > It is working. I am using it right now. When all else fails read the > instructions: > > > $ apt-cache show libapache2-mod-fcgid > Package: libapache2-mod-fcgid > Priority: optional > Section: httpd > Installed-Size: 260 > Maintainer: Tatsuki Sugiura > Architecture: amd64 > Version: 1:2.3.6-1+squeeze1 > Depends: libc6 (>= 2.3), apache2.2-common > Filename: > pool/main/liba/libapache2-mod-fcgid/libapache2-mod-fcgid_2.3.6-1+squeeze1_amd64.deb > Size: 73198 > MD5sum: d3a8631cd7256901afdcd992e83fded4 > SHA1: 26394883f95588039a2e7eebd00f96732e34353b > SHA256: ea72dfd6e80458560609b1f8300a4f48e4d33356718c5d5aa0ca21e10fb4156d > Description: an alternative module compat with mod_fastcgi > mod_fcgid is a high performance alternative to mod_cgi or mod_cgid, > which starts a sufficient number instances of the CGI program to handle > concurrent requests, and these programs remain running to handle further > incoming requests. It is favored by the PHP developers, for example, > as a preferred alternative to running mod_php in-process, delivering > very similar performance. > . > It is a binary compatibility alternative to Apache module mod_fastcgi. > ^ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#675325: iipimage: iipsrv.conf file is configured to use mod_fastcgi
It looks fine. Perhaps mod_fcgid has not been enabled in /etc/apache2/conf-enabled/ ? --- http://iipimage.sourceforge.net --- On 06/14/2012 05:51 PM, Mathieu Malaterre wrote: > tags 675325 grave > thanks > > On Thu, Jun 14, 2012 at 5:27 PM, Ruven wrote: >> >> So your previous error is no longer happening?: >> >>> Syntax error on line 16 of /etc/apache2/mods-enabled/iipsrv.conf: >>> Invalid command 'FcgidInitialEnv', perhaps misspelled or defined by a >>> module not included in the server configuration >>> Action 'configtest' failed. >>> The Apache error log may have more information. >>> failed! > > I messed up the installation on my side. I was using > libapache2-mod-fastcgi on my test server instead of > libapache2-mod-fcgid. It appears that I cannot get iipsrv to work with > libapache2-mod-fcgid. > > Here is my conf: > > $ apt-cache policy libapache2-mod-fcgid > libapache2-mod-fcgid: > Installed: 1:2.3.6-1+squeeze1 > Candidate: 1:2.3.6-1+squeeze1 > Version table: > *** 1:2.3.6-1+squeeze1 0 > 500 http://mirror.ovh.net/debian/ squeeze/main amd64 Packages > 500 http://security.debian.org/ squeeze/updates/main amd64 Packages > 100 /var/lib/dpkg/status > > > And: > > $ sudo /etc/init.d/apache2 restart > Syntax error on line 16 of /etc/apache2/mods-enabled/iipsrv.conf: > Invalid command 'FcgidInitialEnv', perhaps misspelled or defined by a > module not included in the server configuration > Action 'configtest' failed. > The Apache error log may have more information. > failed! > > > $ cat /etc/apache2/mods-enabled/iipsrv.conf > > # Create a directory for the iipsrv binary > ScriptAlias /iipsrv/ "/usr/lib/iipimage-server/" > > # Set the options on that directory > >AllowOverride None >Options None >Order allow,deny >Allow from all > ># Set the module handler >AddHandler fcgid-script .fcgi > > > # Set our environment variables for the IIP server > FcgidInitialEnv VERBOSITY "1" > FcgidInitialEnv LOGFILE "/var/log/iipsrv.log" > FcgidInitialEnv MAX_IMAGE_CACHE_SIZE "10" > FcgidInitialEnv JPEG_QUALITY "90" > FcgidInitialEnv MAX_CVT "5000" > FcgidInitialEnv MEMCACHED_SERVERS "localhost" > > # Define the idle timeout as unlimited and the number of > # processes we want > FcgidIdleTimeout 0 > FcgidMaxClassProcessesPerClass 1 > > > Do you see anything wrong ? > > Thanks -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#760838: iipimage-server: Config file changes required for Apache 2.4
Package: iipimage-server Severity: grave Tags: patch Justification: renders package unusable Dear Maintainer, iipsrv.conf Apache config file does not work with Apache 2.4 due to changes in Apache auth syntax. The "Allow from all" syntax is now "Require all granted". As mod_version is installed and activated by default in Debian, a generic solution would be to add version detection to the config file. For example: Order allow,deny Allow from all = 2.4> Require all granted -- System Information: Debian Release: 7.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=UTF-8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Ne peut initialiser LC_ALL ? la locale par d?faut: Aucun fichier ou dossier de ce type ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages iipimage-server depends on: pn libapache2-mod-fcgid | lighttpd ii libc62.13-38+deb7u4 ii libfcgi0ldbl 2.4.0-8.1 ii libgcc1 1:4.7.2-5 ii libjpeg8 8d-1+deb7u1 ii libmemcached10 1.0.8-1 ii libstdc++6 4.7.2-5 ii libtiff4 3.9.6-11 Versions of packages iipimage-server recommends: ii imagemagick8:6.7.7.10-5+deb7u3 ii libvips-tools 7.28.5-1+deb7u1 Versions of packages iipimage-server suggests: pn iipimage-doc pn jiipview ii memcached 1.4.13-0.2+deb7u1 8,17c8,9 < < <Order allow,deny >Allow from all
Bug#922175: iipimage-server systemd support
Package: iipimage-server Version: 1.0-1+deb9u1 Severity: wishlist It would be nice to have systemd support for the iipimage-server package. I've attached a service file (iipsrv.service) for /lib/systemd/system/ and an environment file (iipsrv) for /etc/default/ containing runtime parameters for iipsrv. These allow the iipsrv process to be started independently of a web server via systemd. [Install] WantedBy=multi-user.target [Unit] Description=IIPImage server After=network.target Documentation=https://iipimage.sourceforge.io man:iipsrv(8) [Service] User=www-data Group=www-data EnvironmentFile=/etc/default/iipsrv ExecStart=/usr/lib/iipimage-server/iipsrv.fcgi --bind 0.0.0.0:9000 --backlog 1024 Restart=on-failure VERBOSITY=1 LOGFILE=/var/log/iipsrv.log MAX_IMAGE_CACHE_SIZE=10 JPEG_QUALITY=90 MAX_CVT=5000 MEMCACHED_SERVERS=localhost
Bug#1053404: iipimage-server: New upstream release of version 1.2
Package: iipimage-server Severity: normal Dear Maintainer, * New upstream release of version 1.2 * Note that new release has new build dependencies on libwebp-dev and libpng-dev * The Depends on Apache or Lighttpd should be changed to Recommends as it is possible to start using systemd -- --- http://iipimage.sourceforge.net ---
Bug#343133: varkon: Can't acces fonts other than default (font 0)
Package: varkon Version: 1.18A-2 Severity: normal No matter how or where I set TFONT, all I get is font 0. All fontfiles are installed in proper places, and have proper permissions set. I'm not certain that this bug isn't in varkon itself, but I saw nothing on the mailing list. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.4.27-2-k7 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages varkon depends on: ii libc6 2.3.5-8GNU C Library: Shared libraries an ii unixodbc 2.2.11-9 ODBC tools libraries ii xlibmesa-gl [libgl1] 6.8.2.dfsg.1-7 Mesa 3D graphics library [X.Org] ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m Versions of packages varkon recommends: ii varkon-user-manual1.18A-2User manual for VARKON -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#354753: backuppc: Debconf doesn't allow selection of datadir, as does configure.pl
Package: backuppc Version: 2.1.1-2sarge1 Severity: normal The default datadir is set to /var/lib/backuppc. If you want to use a seperate disk for backups, you can't. The configure script with backuppc allows setting the datadir to whatever the user wants. Debconf ought to allow the user to set the datadir depending on how the machine is set up. -- System Information: Debian Release: 3.1 Architecture: i386 (i586) Kernel: Linux 2.4.27-2-386 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages backuppc depends on: ii adduser 3.63Add and remove users and groups ii apache2 2.0.54-5next generation, scalable, extenda ii apache2-mpm-prefork [apa 2.0.54-5traditional model for Apache2 ii debconf 1.4.30.13 Debian configuration management sy ii dpkg 1.10.28 Package maintenance system for Deb ii libarchive-zip-perl 1.14-1 Module for manipulation of ZIP arc ii libcompress-zlib-perl1.34-1 Perl module for creation and manip ii perl [libdigest-md5-perl 5.8.4-8sarge3 Larry Wall's Practical Extraction ii perl-suid5.8.4-8sarge3 Runs setuid Perl scripts ii samba-common 3.0.14a-3sarge1 Samba common files used by both th ii smbclient3.0.14a-3sarge1 a LanManager-like simple client fo ii tar 1.14-2 GNU tar ii wwwconfig-common 0.0.43 Debian web auto configuration -- debconf information: backuppc/tmppass: (password omitted) * backuppc/add-lines: true * backuppc/configuration-note: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#986699: thunar: Thunar default dir and file sort is reversed. Manual changes not persistent.
Package: thunar Version: 4.16.3-1 Severity: normal Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? Don't know. Just began to notice reverse sort. * What exactly did you do (or not do) that was effective (or ineffective)? Tried to adjust sort in settings. No adjustment possible, except "Sort dirs before files", which had no effect. Also checked /etc/default/locale, which is as pasted in: LANG="en_US.UTF-8" LC_COLLATE=C * What was the outcome of this action? No effect. * What outcome did you expect instead? Sort dirs before files, in ascending order. This used to be the default. *** End of the template - remove these template lines *** -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-5-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages thunar depends on: ii desktop-file-utils 0.26-1 ii exo-utils4.16.0-1 ii libatk1.0-0 2.36.0-2 ii libc62.31-11 ii libcairo21.16.0-5 ii libexo-2-0 4.16.0-1 ii libgdk-pixbuf-2.0-0 2.42.2+dfsg-1 ii libglib2.0-0 2.66.8-1 ii libgtk-3-0 3.24.24-3 ii libgudev-1.0-0 234-1 ii libice6 2:1.0.10-1 ii libnotify4 0.7.9-3 ii libpango-1.0-0 1.46.2-3 ii libsm6 2:1.2.3-1 ii libthunarx-3-0 4.16.3-1 ii libxfce4ui-2-0 4.16.0-1 ii libxfce4util74.16.0-1 ii libxfconf-0-34.16.0-2 ii shared-mime-info 2.0-1 ii thunar-data 4.16.3-1 Versions of packages thunar recommends: ii dbus-user-session [default-dbus-session-bus] 1.12.20-2 ii gvfs 1.46.2-1 ii libxfce4panel-2.0-4 4.16.2-1 ii policykit-1-gnome [polkit-1-auth-agent] 0.105-7 ii thunar-volman 4.16.0-1 ii tumbler 4.16.0-1 ii udisks2 2.9.2-1 ii xdg-user-dirs 0.17-2 Versions of packages thunar suggests: ii gvfs-backends 1.46.2-1 ii thunar-archive-plugin 0.4.0-2 ii thunar-media-tags-plugin 0.3.0-2