[Pkg-sysvinit-devel] Bug#697994: initscripts: cannot create temp file for here-document: Read-only file system

Zlatko Calusic zlatko.calusic at iskon.hr
Mon Jan 14 22:49:52 UTC 2013


On 14.01.2013 23:14, Roger Leigh wrote:
> tags 697994 + pending
> thanks
>
> On Sun, Jan 13, 2013 at 11:21:10PM +0000, Roger Leigh wrote:
>> On Sat, Jan 12, 2013 at 04:33:50PM +0100, Zlatko Calusic wrote:
>>> This latest version emits lots of errors during boot sequence. I found
>>> only this one line in /var/log/boot, but I think all errors looked
>>> just like that:
>>> Sat Jan 12 16:20:28 2013: /lib/init/mount-functions.sh: line 39: cannot create temp file for here-document: Read-only file system
>>
>> Thanks for reporting this, I'll fix it tomorrow.  Looks like heredocs
>> create temporary files, which doesn't work in the early boot until
>> a writable /tmp becomes available.  I'll just replace them.
>
> Please could you give the packages at
>    http://people.debian.org/~rleigh/sysvinit/
> a try and let me know if this fixes the problem for you?
> You probably only need to install initscripts, which is
>    http://people.debian.org/~rleigh/sysvinit/initscripts_2.88dsf-37_amd64.deb
>

I installed them all, and yes, everything seems to be in order, again. 
No errors in /var/log/boot and I didn't see any during boot.

> Out of interest, what is the output of
>    % ls -l /bin/sh
> on your system?  I was testing with dash, and didn't
> observe this behaviour.
>

lrwxrwxrwx 1 root root 4 Apr 22  2012 /bin/sh -> bash

I guess I could point it to /bin/dash and speed up boot sequence a bit, 
but then again, it's already too fast. :P

Thanks for your work!
-- 
Zlatko



More information about the Pkg-sysvinit-devel mailing list