[DRE-maint] Bug#736849: libapache2-mod-passenger: wrong passenger tmpdir permissions

Hubert Krause hubert.krause at inform-software.com
Mon Jan 27 15:47:29 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: libapache2-mod-passenger
Version: 3.0.13debian-1+deb7u1
Severity: important

Dear Maintainer,

upgrading libapache2-mod-passenger from Verion 3.0.13debian-1 to 
3.0.13debian-1+deb7u1 leads to incorrect permissions on passenger
tmp folder: /tmp/passenger.1.<pid>. Permissons where 750 and not 
755, what is necessary. Permissions 750 on this folder will give
the following error (apache2 error.log):

[ pid=27537 thr=139753881134848 file=ext/apache2/Hooks.cpp:862
time=2014-01-23 11:27:03.316 ]: Unexpected error in mod_passenger:
Cannot connect to Unix socket '/tmp/passenger.1.0.27500/gene
ration-0/socket': Permission denied (13) Backtrace: (empty)

With permissions 755 everything works fine.

Workaround: adding the following line to /etc/apache2/envvars:

umask 022

Best regards,

Hubert

- -- System Information:
Debian Release: 7.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-openvz-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libapache2-mod-passenger depends on:
ii  apache2-mpm-worker  2.2.22-13
ii  libapr1             1.4.6-3+deb7u1
ii  libaprutil1         1.4.1-3
ii  libc6               2.13-38
ii  libgcc1             1:4.7.2-5
ii  libstdc++6          4.7.2-5
ii  ruby-passenger      3.0.13debian-1+deb7u1

libapache2-mod-passenger recommends no packages.

libapache2-mod-passenger suggests no packages.

- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlLmf5EACgkQFUpf3meJP56yMQCfcgLNIYdq5YPGCWjTmYy//UCv
LP4AniZeQCG8osuXaniAr9cfCGK/UxCe
=39f8
-----END PGP SIGNATURE-----


More information about the Pkg-ruby-extras-maintainers mailing list