[Pkg-sysvinit-devel] Bug#722179: Should mount pstore pseudo-filesystem

Ben Hutchings ben at decadent.org.uk
Sun Sep 8 21:01:30 UTC 2013


[Re-sending with cc to the bug.]

On Sun, 2013-09-08 at 21:44 +0100, Roger Leigh wrote:
> On Sun, Sep 08, 2013 at 09:04:01PM +0100, Ben Hutchings wrote:
> > Package: initscripts
> > Version: 2.88dsf-43
> > Severity: normal
> > 
> > The pstore pseudo-filesystem provides access to persistent storage
> > outside the regular filesystems that the kernel uses for, primarily,
> > crash logs.  On EFI systems this is implemented on top of EFI
> > variables, but there are other backends for pSeries NVRAM, the ACPI
> > ERST facility and reserved RAM.
> > 
> > For the linux-image-* bug script I want to be able to read crash logs
> > from pstore, but currently I can't do this because it isn't mounted by
> > default.  (I was thinking of implementing a fallback to the sysfs
> > efivars interface, but this is only readable by root.)
> > 
> > Please mount pstore on /sys/fs/pstore if this directory exists at
> > boot time.
> 
> This can certainly be added to mountkernfs.
> 
> Are there any particular mount options needed/recommended?

It has no options of its own.  It should only contain regular files, so
could be mounted nosuid,noexec,nodev as systemd does (from version 198).
But I don't really see the point of that.

Ben.

-- 
Ben Hutchings
I haven't lost my mind; it's backed up on tape somewhere.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20130908/7fe10b55/attachment.sig>


More information about the Pkg-sysvinit-devel mailing list