Bug#923168: initscripts: Old cruft in initscripts postinst
Pierre Ynard
linkfanel at yahoo.fr
Sun Feb 24 17:48:12 GMT 2019
Package: initscripts
Version: 2.93-8
Severity: minor
Tags: patch
Hello,
initscripts.postinst still contains old cruft, unused now as far as I
can see, left over from the /run/shm migration. The code making use of
it was already removed in:
https://salsa.debian.org/debian/sysvinit/commit/e58f3742cc303fd1563e6cf046661e892b97181a
> debian: Clean up legacy migration logic in maintainer and init scripts
One is a stray, write-only $devshm variable introduced as a workaround
in:
https://salsa.debian.org/debian/sysvinit/commit/82a6316cbaa982d5887c2bec25a903f4a64843c6
> initscripts.postinst: hide from lintian the fact that we're removing
> /dev/shm, since otherwise a buggy lintian check prevents us from
> uploading legitimate code to the archive.
The other is a compat_link() helper function doing the kind of things
also handled in /lib/init/mount-functions.sh
I think they're safe to remove now.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages initscripts depends on:
ii coreutils 8.30-1
ii debianutils 4.8.6.1
ii lsb-base 10.2018112800
ii mount 2.33.1-0.1
ii sysv-rc 2.93-8
ii sysvinit-utils 2.93-8
Versions of packages initscripts recommends:
ii e2fsprogs 1.44.5-1
ii psmisc 23.2-1
initscripts suggests no packages.
-- Configuration Files:
/etc/default/rcS changed [not included]
/etc/default/tmpfs changed [not included]
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devshm_variable.patch
Type: text/x-diff
Size: 829 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20190224/2f922d60/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compat_link.patch
Type: text/x-diff
Size: 1439 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20190224/2f922d60/attachment-0001.patch>
More information about the Debian-init-diversity
mailing list