[Pkg-sysvinit-devel] Bug#620191: initscripts: [patch] Please support top-level /run

Sedat Dilek sedat.dilek at googlemail.com
Fri Apr 1 08:55:43 UTC 2011


Resend (b0rked subject line, add TO BR initiator).

- Sedat -


---------- Forwarded message ----------
From: Sedat Dilek <sedat.dilek at googlemail.com>
Date: Fri, Apr 1, 2011 at 9:18 AM
Subject: Re: 620191 at bugs.debian.org
To: 620191 at bugs.debian.org


Hi,

[1] says:
...
I've filed a bug (#620191) against initscripts containing a proposed
patch for this.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620191

/var/run (→ /run)
/var/lock (→ /run/lock)
/lib/init/rw (→ /run/init)
/dev/.* (→ /run/*)
/dev/shm/.* (→ /run/*)
writable files under /etc (→ /run/*)
...

Whereas in "initscripts-run-transition-wip2.patch" I see:
...
diff -urN sysvinit-2.88dsf.original/debian/src/initscripts/Makefile
sysvinit-2.88dsf/debian/src/initscripts/Makefile
--- sysvinit-2.88dsf.original/debian/src/initscripts/Makefile   2011-03-30
16:46:27.675265266 +0100
+++ sysvinit-2.88dsf/debian/src/initscripts/Makefile    2011-03-30
16:54:07.988949558 +0100
@@ -10,7 +10,7 @@
 all:

 install:
-       $(INSTALL) -d $(DESTDIR)/lib/init/rw/.
+       ln -s /run $(DESTDIR)/lib/init/rw
...

Shouldn't that be?

ln -s /run/init $(DESTDIR)/lib/init/rw

Test-Case:

# mkdir -p /run/init
# ln -s /run/init /lib/init/rw-test
# touch /lib/init/rw-test/teschd

# ls -l /lib/init/rw-test
lrwxrwxrwx 1 root root 9  1. Apr 09:12 /lib/init/rw-test -> /run/init
# ls -l /run/init/
insgesamt 0
-rw-r--r-- 1 root root 0  1. Apr 09:16 teschd

- Sedat -

[1] http://lists.debian.org/debian-devel/2011/03/msg01150.html





More information about the Pkg-sysvinit-devel mailing list