[Pkg-sysvinit-devel] Bug#786361: sysv-rc: pre-configuration error messages when /tmp is mounted noexec

Colomban Wendling lists.ban at herbesfolles.org
Wed May 20 22:12:41 UTC 2015


Package: sysv-rc
Version: 2.88dsf-59.1
Severity: normal

Dear Maintainer,

I relatively recently switched to a separate /tmp partition mounted
with option 'nexec'.  But apparently the pre-configuration script for
sysv-rc doesn't like it, as I seen this running aptitude for upgrading
a lot of things, including sysv-rc:

> Preconfiguring packages...
> Can't exec "/tmp/sysv-rc.config.CDuxPn": Permission denied at /usr/share/perl/5.20/IPC/Open3.pm line 177.
> open2: exec of /tmp/sysv-rc.config.CDuxPn configure 2.88dsf-59 failed at /usr/share/perl5/Debconf/ConfModule.pm line 59.

The file /tmp/sysv-rc.config.CDuxPn is still present:

> $ ls -l /tmp/sysv-rc.config.CDuxPn
> -rwxr-xr-x 1 root root 0 May 20 21:49 /tmp/sysv-rc.config.CDuxPn

This doesn't seem to be fatal as the rest of the process continued and
seem to have succeeded.

I don't know the implications of these messages, but this should be
fixed, as I believe noexec on /tmp should be supported.

Regards,
Colomban

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sysv-rc depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  insserv                1.14.0-5
ii  startpar               0.59-3
ii  sysvinit-utils         2.88dsf-59.1

Versions of packages sysv-rc recommends:
ii  lsb-base  4.1+Debian13+nmu1

Versions of packages sysv-rc suggests:
pn  bum  <none>

-- debconf information:
  sysv-rc/unable-to-convert:
* sysv-rc/convert-legacy: true



More information about the Pkg-sysvinit-devel mailing list