[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 22:14:30 UTC 2013

tags 697994 + pending

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
a try and let me know if this fixes the problem for you?
You probably only need to install initscripts, which is

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.


  .''`.  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