Re: Passive translators

2013-07-09 Thread Justus Winter
Hi Thomas :) Quoting Thomas Schwinge (2013-07-09 15:40:18) > Hi! > > On Tue, 09 Jul 2013 15:00:00 +0200, Justus Winter > <4win...@informatik.uni-hamburg.de> wrote: > > Quoting Pino Toscano (2013-07-09 10:52:56) > > > Alle martedì 9 luglio 2013, Justus Winter ha scritto: > > > > Ignore the --node

Passive translators (was: [PATCH] procfs: Ignore arguments for compatibility with Linux' procfs.)

2013-07-09 Thread Thomas Schwinge
Hi! On Tue, 09 Jul 2013 15:00:00 +0200, Justus Winter <4win...@informatik.uni-hamburg.de> wrote: > Quoting Pino Toscano (2013-07-09 10:52:56) > > Alle martedì 9 luglio 2013, Justus Winter ha scritto: > > > Ignore the --nodev, --noexec and --nosuid arguments. > > > > Why nodev? The only consumer

Re: [PATCH] procfs: Ignore arguments for compatibility with Linux' procfs.

2013-07-09 Thread Justus Winter
Quoting Pino Toscano (2013-07-09 10:52:56) > Hi, > > Alle martedì 9 luglio 2013, Justus Winter ha scritto: > > Ignore the --nodev, --noexec and --nosuid arguments. > > Why nodev? The only consumer of it seems to be sysvinit, which has been > patched to not pass nodev also on Hurd (in addition to

Re: [PATCH 8/8] sysvinit: Fix getty path in /etc/inittab on Hurd.

2013-07-09 Thread Justus Winter
Quoting Ivan Shmakov (2013-07-09 12:59:01) > > Justus Winter <4win...@informatik.uni-hamburg.de> writes: > > > This is essentially the same as > > 89f6476d8979174f395a1bf784486254464c349d but fixes the existing > > /etc/inittab file in the postinstall script. > > […] > > > + * sysvinit.

Re: [PATCH 8/8] sysvinit: Fix getty path in /etc/inittab on Hurd.

2013-07-09 Thread Ivan Shmakov
> Justus Winter <4win...@informatik.uni-hamburg.de> writes: > This is essentially the same as > 89f6476d8979174f395a1bf784486254464c349d but fixes the existing > /etc/inittab file in the postinstall script. […] > + * sysvinit.postinst: Fix getty path in /etc/inittab on Hurd. Pl

Re: [PATCH] procfs: Ignore arguments for compatibility with Linux' procfs.

2013-07-09 Thread Pino Toscano
Hi, Alle martedì 9 luglio 2013, Justus Winter ha scritto: > Ignore the --nodev, --noexec and --nosuid arguments. Why nodev? The only consumer of it seems to be sysvinit, which has been patched to not pass nodev also on Hurd (in addition to kFreeBSD) when mounting /proc. -- Pino Toscano sign

Re: [PATCH] Include the umount utility in hurd and hurd-udeb.

2013-07-09 Thread Pino Toscano
Hi, Alle martedì 9 luglio 2013, Justus Winter ha scritto: > --- > debian/hurd-udeb.install.in |1 + > debian/hurd.install.in |1 + > 2 files changed, 2 insertions(+) Patches touching Debian packaging only should go to debian-h...@lists.debian.org. > diff --git a/debian/hurd-udeb.in

[PATCH 8/8] sysvinit: Fix getty path in /etc/inittab on Hurd.

2013-07-09 Thread Justus Winter
This is essentially the same as 89f6476d8979174f395a1bf784486254464c349d but fixes the existing /etc/inittab file in the postinstall script. --- debian/changelog |1 + debian/sysvinit.postinst |4 2 files changed, 5 insertions(+) diff --git a/debian/changelog b/debian/changel

[PATCH 6/8] killall5.c: Use sysconf(_SC_SYMLOOP_MAX) instead of MAXSYMLINKS.

2013-07-09 Thread Justus Winter
Fixes build on Hurd. --- debian/changelog |2 ++ src/killall5.c |2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index e77bd4e..50944ca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -60,6 +60,8 @@ sysvinit (2.88dsf-42) UNR

[PATCH 5/8] initscripts: Disable rootcheck on Hurd

2013-07-09 Thread Justus Winter
The concept of device ids simply does not apply to the Hurd system. Note that fsck is still run, rootcheck refers to the check whether the root device in /etc/fstab matches the actual device. --- debian/changelog |2 ++ debian/src/initscripts/etc/init.d/checkroot.

[PATCH 4/8] initscripts: add runsystem.sysv

2013-07-09 Thread Justus Winter
runsystem.sysv does some very early initialization of Hurd and execs /sbin/init to start the system using sysvinit. Hurd uses the alternatives system to choose which runsystem to use and traditionally shipped a custom init solution. Add runsystem.sysv using update-alternatives in initscripts.postin

[PATCH 7/8] sendsigs, killprocs: Disable on Hurd. killall5 kills essential processes.

2013-07-09 Thread Justus Winter
Temporary workaround until http://lists.gnu.org/archive/html/bug-hurd/2006-02/msg00081.html is addressed. --- debian/changelog|5 + debian/src/initscripts/etc/init.d/killprocs |5 + debian/src/initscripts/etc/init.d/sendsigs |5 + 3 files change

[PATCH 3/8] initscripts: use pidof -s /sbin/init for robustness

2013-07-09 Thread Justus Winter
pidof -s returns the first matching process. Since readdir(2) on procfs returns the processes in ascending order, this returns the first process. This is more robust if there is more than one /sbin/init process. Currently on Hurd there are two /sbin/init processes. Clearly this needs some investig

patches for sysvinit, debian repository for testing

2013-07-09 Thread Justus Winter
Hi, this is a patch series for the sysvinit package. Comments are welcome. Patches seven and eight are somewhat questionable, but I'd propose the first six for inclusion. Any hints how to send patches to the sysvinit maintainers? Attached to a bug report maybe? I uploaded patched sysvinit package

[PATCH 1/8] initscripts: hurd has a proper tmpfs now, remove workaround

2013-07-09 Thread Justus Winter
--- debian/changelog |3 +++ debian/src/initscripts/lib/init/mount-functions.sh |1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 7c92f0f..a1da0fb 100644 --- a/debian/changelog +++ b/debian/change

[PATCH 2/8] initscripts: add -ocompatible to procfs mounts on Hurd

2013-07-09 Thread Justus Winter
--- debian/changelog |1 + debian/src/initscripts/lib/init/mount-functions.sh |3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a1da0fb..1ff8750 100644 --- a/debian/changelog +++ b/debian/change