Bug#923168: initscripts: Old cruft in initscripts postinst

Dmitry Bogatov KAction at debian.org
Wed Feb 27 03:01:16 GMT 2019


[2019-02-24 18:48] Pierre Ynard <linkfanel at yahoo.fr>
> 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.

Thank you very much for your research and patches. Can you please
re-submit your patches in format, generated by `git format-patch'?

What you included is `git show` output, which is not possible to apply
directly. Thank you again.
-- 
        Note, that I send and fetch email in batch, once every 24 hours.
                 If matter is urgent, try https://t.me/kaction
                                                                             --




More information about the Debian-init-diversity mailing list