Debian Bug report logs - #849861
sessionclean service cannot write to /dev/null

version graph

Package: php-common; Maintainer for php-common is Debian PHP Maintainers <team+pkg-php@tracker.debian.org>; Source for php-common is src:php-defaults (PTS, buildd, popcon).

Reported by: wavexx@thregr.org

Date: Sun, 1 Jan 2017 15:57:02 UTC

Severity: normal

Found in version php-defaults/48

Fixed in version php-defaults/49

Done: Ondřej Surý <ondrej@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#849861; Package php-common. (Sun, 01 Jan 2017 15:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to wavexx@thregr.org:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Sun, 01 Jan 2017 15:57:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: wavexx@thregr.org
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: sessionclean service cannot write to /dev/null
Date: Sun, 01 Jan 2017 16:56:05 +0100
Package: php-common
Version: 1:48
Severity: normal

Looks like the default permissions (ProtectDevices) defined in the
sessionclean.service (enabled in the latest release through a timer) prevents
the redirection of output to /dev/null.

sessionclean[11959]: /usr/lib/php/sessionclean: 49: /usr/lib/php/sessionclean: cannot create /dev/null: Permission denied

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (800, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.4.112-kvm-i386-20161024
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php-common depends on:
ii  init-system-helpers  1.46
ii  psmisc               22.21-2.1
ii  sed                  4.2.2-8

php-common recommends no packages.

php-common suggests no packages.



Reply sent to Ondřej Surý <ondrej@debian.org>:
You have taken responsibility. (Sun, 01 Jan 2017 21:12:11 GMT) (full text, mbox, link).


Notification sent to wavexx@thregr.org:
Bug acknowledged by developer. (Sun, 01 Jan 2017 21:12:11 GMT) (full text, mbox, link).


Message #10 received at 849861-close@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@debian.org>
To: 849861-close@bugs.debian.org
Subject: Bug#849861: fixed in php-defaults 49
Date: Sun, 01 Jan 2017 21:08:19 +0000
Source: php-defaults
Source-Version: 49

We believe that the bug you reported is fixed in the latest version of
php-defaults, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 849861@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ondřej Surý <ondrej@debian.org> (supplier of updated php-defaults package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 01 Jan 2017 20:43:53 +0100
Source: php-defaults
Binary: libapache2-mod-php libphp-embed php php-all-dev php-bcmath php-bz2 php-cgi php-cli php-common php-curl php-dev php-enchant php-fpm php-gd php-gmp php-imap php-interbase php-intl php-json php-ldap php-mbstring php-mcrypt php-mysql php-odbc php-pgsql php-phpdbg php-pspell php-readline php-recode php-snmp php-soap php-sqlite3 php-sybase php-tidy php-xml php-xmlrpc php-zip
Architecture: source
Version: 49
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Changed-By: Ondřej Surý <ondrej@debian.org>
Description:
 libapache2-mod-php - server-side, HTML-embedded scripting language (Apache 2 module) (
 libphp-embed - HTML-embedded scripting language (Embedded SAPI library) (default
 php        - server-side, HTML-embedded scripting language (default)
 php-all-dev - package depending on all supported PHP development packages
 php-bcmath - Bcmath module for PHP [default]
 php-bz2    - bzip2 module for PHP [default]
 php-cgi    - server-side, HTML-embedded scripting language (CGI binary) (defau
 php-cli    - command-line interpreter for the PHP scripting language (default)
 php-common - Common files for PHP packages
 php-curl   - CURL module for PHP [default]
 php-dev    - Files for PHP module development (default)
 php-enchant - Enchant module for PHP [default]
 php-fpm    - server-side, HTML-embedded scripting language (FPM-CGI binary) (d
 php-gd     - GD module for PHP [default]
 php-gmp    - GMP module for PHP [default]
 php-imap   - IMAP module for PHP [default]
 php-interbase - Interbase module for PHP [default]
 php-intl   - Internationalisation module for PHP [default]
 php-json   - JSON module for PHP [default]
 php-ldap   - LDAP module for PHP [default]
 php-mbstring - MBSTRING module for PHP [default]
 php-mcrypt - libmcrypt module for PHP [default]
 php-mysql  - MySQL module for PHP [default]
 php-odbc   - ODBC module for PHP [default]
 php-pgsql  - PostgreSQL module for PHP [default]
 php-phpdbg - server-side, HTML-embedded scripting language (PHPDBG binary) (de
 php-pspell - pspell module for PHP [default]
 php-readline - readline module for PHP [default]
 php-recode - recode module for PHP [default]
 php-snmp   - SNMP module for PHP [default]
 php-soap   - SOAP module for PHP [default]
 php-sqlite3 - SQLite3 module for PHP [default]
 php-sybase - Sybase module for PHP [default]
 php-tidy   - tidy module for PHP [default]
 php-xml    - DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
 php-xmlrpc - XMLRPC-EPI module for PHP [default]
 php-zip    - Zip module for PHP [default]
Closes: 849861
Changes:
 php-defaults (49) unstable; urgency=medium
 .
   * PrivateDevices=true cannot be used as it mount /dev read-only (Closes: #849861)
Checksums-Sha1:
 f78757e31319d4f421b2b3ec1f96988a692e48ab 3556 php-defaults_49.dsc
 389a59c8ee5187cfaa6ad3fcabdeee3232338127 14624 php-defaults_49.tar.xz
Checksums-Sha256:
 41a7068ef5453aab22c34f941befc499c4c4f6adeca5421df503a8ae3ec95e97 3556 php-defaults_49.dsc
 6d6c2fa4decca4dcfee5fb8c2a6b603d60d8b49efc012bebf6c409abdd4cc234 14624 php-defaults_49.tar.xz
Files:
 40c3b72c5db2c908398a9d34edb7cc78 3556 php optional php-defaults_49.dsc
 0c74753844f8536bface8878030478c6 14624 php optional php-defaults_49.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJYaVzHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMEI5MzNEODBGQ0UzRDk4MUEyRDM4RkIw
Qzk5QjcwRUY0RkNCQjA3AAoJEAyZtw70/LsHxlQP/133osi4vr/nr3AiYZj/AXTt
pxQp9A5K28gd1QjJIv/CAKSt6U8lX3ax97tken1lyx/KyNNMXJxioTzBWNw2wp+a
rMBLPSRZd8mBZvs+OLCOyVDdlGgqkzeiI2qB0CtqvDnrN4NJsaddmtipHBQVxpQn
+KiHUWYdkc4T1YvLYjUr9NjgzxS/SmRMqJol46VzNybBp7B1+6O8DQZEfMSV3T6M
Nn4+GtqeZbXDHM3aKZxHtQ5VPKzWoSbRB4MzgmB7UB4lQ/RGmGBqPd5p2iufJZ2o
F1K6deVLGmFRw6XdTqZHVdxd3TLKlFz9+VfDqHMeytDIbUS4VxdazmtHIcrc2N3t
XwAVwZDKJgrQZrS+spVzbaMCJ9aZmz+acbX4YGYoQ97XXyHUzpwkf9YLQXMu0mqk
YBw4aoxkZ7PYCDUMFDUsDwz/pJGSlYk0nMGKHI8OguxNYGVNDmMbltXfoTTIVr9E
xAETRm94St/WI/nFW1/HpWE7BfjwU+1QHbdxz5kQSJ7Gr2X3sylEvHdrGo9QrKfP
R+3G4fBTzOeDN0B8NCIAEzv96x0Rm7xVDFr+Y66nInkuiKi7stbqGUrMvoHClZIj
xeiKwBVddfBsgW/W10XSdEpH0qN6iDIUrCP1VuAav/+s0Xs+LGvoVEdtO0LGXR9k
cNs2Wg2qPD8KczDqKYpi
=h3e+
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 31 Jan 2017 07:32:56 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 02:21:20 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.