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

Roger Leigh rleigh at codelibre.net
Mon Jan 14 23:06:58 UTC 2013


On Mon, Jan 14, 2013 at 11:49:52PM +0100, Zlatko Calusic wrote:
> 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.

Super, thanks for checking.  Uploaded now, so should be in unstable
later tonight.

> >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

That explains why I didn't see it at least, which is useful
to know--I've removed all other uses of heredocs, so hopefully
this won't cause any further problems.


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Pkg-sysvinit-devel mailing list