Bug#653673: the live-config init.d script should depend on mountkernfs

2011-12-31 Thread Daniel Baumann
On 12/31/2011 10:49 AM, intrigeri wrote: >X-Start-Before: mountkernfs ack, thanks. -- Address:Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern Email: daniel.baum...@progress-technologies.net Internet: http://people.progress-technologies.net/~daniel.baumann/ -- To UNS

Bug#653673: the live-config init.d script should depend on mountkernfs

2011-12-31 Thread intrigeri
Hi, Daniel Baumann wrote (30 Dec 2011 22:57:22 GMT) : > the only problem here remains that mountkernfs in sid does an > automatic tmpfs on /tmp (unless /tmp is configured in fstab). > since /tmp on a tmpfs for a live system has no merits in the first > place, it's save to disable that. and that c

Bug#653673: the live-config init.d script should depend on mountkernfs

2011-12-31 Thread Daniel Baumann
On 12/31/2011 06:14 AM, Andrei Purdea wrote: > --exposed-root is supposed to mount / as read-only. ..and make those directories rw that need to (which then would need to include /tmp; but that's an issue from squeeze->sid that needs handling anyway). > RAMTMP is on by default in wheezy too. [ na

Bug#653673: the live-config init.d script should depend on mountkernfs

2011-12-30 Thread Andrei Purdea
> which is ensured since / is writable (through aufs).\ --exposed-root is supposed to mount / as read-only. It doesn't really work for me, so I might be wrong, but in that case /tmp would not be writable (unless something in the initrd mounts /tmp as tmpfs) > the only problem here remains that mo

Bug#653673: the live-config init.d script should depend on mountkernfs

2011-12-30 Thread Daniel Baumann
tag 653673 - unreproducible thanks On 12/30/2011 09:04 PM, Andrei Purdea wrote: > But live-config needs something too: It needs a writable /tmp partition. which is ensured since / is writable (through aufs). > And this /tmp partition can't be remounted while live-config is in execution, > or oth

Bug#653673: the live-config init.d script should depend on mountkernfs

2011-12-30 Thread Andrei Purdea
I attached /etc/init.d/mountkernfs.sh, and /lib/live/config/002-user-setup Only two modifications have been made: I added a sleep statement to each: 002-user-setup:72 contains: sleep 40 mountkernfs.sh:120 contains: sleep 20 This will force the bug to show up Every time you try to boot. The error

Bug#653673: the live-config init.d script should depend on mountkernfs

2011-12-30 Thread intrigeri
Hi, Daniel Baumann wrote (30 Dec 2011 08:41:05 GMT) : > On 12/30/2011 07:29 AM, Andrei Purdea wrote: >> There is a race condition between mountkernfs and user-setup > first; /etc/init.d/live-config always has absolutely to be the first > script that gets executed, we do depend on that, if live-c

Bug#653673: the live-config init.d script should depend on mountkernfs

2011-12-30 Thread Daniel Baumann
tag 653673 unreproducible tag 653673 moreinfo thanks On 12/30/2011 07:29 AM, Andrei Purdea wrote: > There is a race condition between mountkernfs and user-setup first; /etc/init.d/live-config always has absolutely to be the first script that gets executed, we do depend on that, if live-config is

Bug#653673: the live-config init.d script should depend on mountkernfs

2011-12-29 Thread Andrei Purdea
Package: live-config Version: 3.0~a31-1 There is a race condition between mountkernfs and user-setup When RAMTMP=yes in /etc/default/rcS, then the mountkernfs init.d script mounts /tmp as a tmpfs. The 002-user-setup script first writes some data into a temporary file, and then reads it back, and