[php-maint] Bug#849861: sessionclean service cannot write to /dev/null

wavexx at thregr.org wavexx at thregr.org
Sun Jan 1 15:56:05 UTC 2017

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.

More information about the pkg-php-maint mailing list