On Tue, May 15, 2012 at 02:20:52PM +0200, Santiago Vila wrote:
> On Mon, 14 May 2012, Josh Triplett wrote:
> 
> > On Tue, May 15, 2012 at 01:37:06AM +0200, Santiago Vila wrote:
> > > On Sun, 22 Apr 2012, Josh Triplett wrote:
> > > 
> > > > Package: base-files
> > > > Version: 6.7
> > > > Severity: normal
> > > > 
> > > > Currently, only the initscripts package ships the empty /sys directory,
> > > > which made sense since initscripts contains the script to mount /sys.
> > > > However, new init systems don't necessarily need to depend on
> > > > initscripts, and systemd has almost reached the point where it no longer
> > > > needs to do so.  I think it would make sense for base-files to ship
> > > > /sys, just as it currently ships many other top-level directories.
> > > 
> > > Before I do this:
> > > 
> > > Can anyone tell me if the Hurd and the kFreeBSDs use /sys as well?
> > 
> > As far as I know they don't.
> 
> In such case, /sys is not debian-wide essential.

If base-files had "Architecture: all" this would make sense.  However,
base-files has "Architecture: any", and has different behavior on
different architectures; for instance, the Hurd version of base-files
doesn't ship /proc.  Couldn't you ship /sys on all Linux architectures?

> If systemd needs also en empty /sys instead of relying on the one
> provided by initscripts, the sensible thing to do here is to ship an
> empty /sys in systemd as well (Unless I'm missing anything).

initscripts needs it, upstart probably needs it, systemd needs it,
custom embedded init mechanisms need it, and the current version of the
FHS defines it (in the operating-system-specific annex for Linux).

Also, based on some recent discussion with Roger Leigh (the maintainer
of sysvinit), sysvinit will likely become non-Essential, which will
remove initscripts from the pseudo-Essential set; thus, no Essential or
pseudo-Essential package will ship /sys unless base-files does.

By this argument, adduser could ship /home, and bootloaders and kernels
could ship /boot, and initscripts and systemd rather than base-files
could ship /run, and udev could ship /dev, and mount could ship /mnt,
and initscripts and systemd could ship /tmp...

> May I close this bug?

I'd appreciate it if you did so with a "Closes: 670091" in the changelog
for a new base-files version. :)

- Josh Triplett



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to