[Pkg-sysvinit-devel] Bug#693398: Bug#693387: Pre-approval for unblock: sysvinit/2.88dsf-33

Michael Biebl biebl at debian.org
Fri Nov 16 13:33:54 UTC 2012


I'm redirecting this to #693398 since I don't want to spam the unblock
request bug.

On 16.11.2012 11:37, Roger Leigh wrote:
> On Fri, Nov 16, 2012 at 02:11:13AM +0100, Michael Biebl wrote:

>>
>> As already mentioned on IRC: checkroot-bootclean is kinda odd.
>> It cleans up /run/, /run/lock *after* the tmpfs has been mounted, so
>> this cleanup looks entirely pointless.
> 
> The main point of this script was to clean /tmp prior to mounting a
> tmpfs, as well as /lib/init/rw (for historical reasons).  It also
> handles cleaning of /run and /run/lock; for platforms which don't
> support a tmpfs, or where the admin has explicitly disabled tmpfs
> mounting.

/run-on-tmpfs is not really optional (at least not on kfreebsd and
Linux). So this only seems to be relevant for Hurd.
Especially cleaning up /run/lock seems completely pointless, since we
already cleanup /run.
Also, keep in mind that clean_all is run *three* times during boot.
So for all non-Hurd users, which probably make up 100% of our user base
(minus rounding errors), we run those clean up rules unnecessarily.

While I could see the point of cleaning up /var/lock and /var/run, if
you mount a tmpfs on those dirs, that is no longer what's happening with
them being migrated to symlinks on upgrades.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20121116/a81ac0b4/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list