Package: runit
Version: 2.0.0-1
Severity: serious
Justification: Policy 10.4.7
Runit does cat/sed magic on /etc/inittab on installation and removal.
echo 'Adding SV inittab entry...'
cp /etc/inittab /etc/inittab'{new}'
cat >>/etc/inittab'{new}' <<-\EOT
#-- runit begin
SV:123456:respawn:/usr/sbin/runsvdir-start
#-- runit end
EOT
mv -f /etc/inittab'{new}' /etc/inittab
from postinst
and
echo 'Removing SV inittab entry...'
rm -f /etc/inittab'{new}'
sed -e '/#-- runit begin/,/#-- runit end/d' \
</etc/inittab >/etc/inittab'{new}'
mv -f /etc/inittab'{new}' /etc/inittab
in postrm.
it looks like a clear violation of 10.4.7.
and by the way, postinst also uses plain stdout to communicate with the
user, not debconf.
/Sune
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (200,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]