Re: Trying to solve file lock problem with /etc/sudoers

2014-03-12 Thread Peter Baumgarten
On Tue, 2014-03-11 at 10:15 +0100, Samuel Thibault wrote: > No, it's rather the locking function which spuriously fails. The > debian/patches/use-flock-on-hurd.diff patch is supposed to make sudo use > flock instead of lockf, but that doesn't seem to actually happen. Some > autoconf patching is pro

Re: [GSoC] Porting Guix to GNU/Hurd

2014-03-12 Thread Samuel Thibault
Ludovic Courtès, le Tue 11 Mar 2014 12:19:44 +0100, a écrit : > I can mentor the project, but I would really like someone from the Hurd > side to co-mentor. Any volunteer? (This is essentially already the > case in practice, but we could make it official.) I can co-mentor, but I guess Richard wi

Re: [GSoC] Porting Guix to GNU/Hurd

2014-03-12 Thread Manolis Ragkousis
Hi David > I'm not really a Hurd developer, but I've been cross-compiling > Hurd-from-scratch from git for a little over a year now. Let me know > if you get stuck or just want to see some relevant code, and we can > share scripts and notes (at least for the earlier stages of your > project). Th

Re: [PATCH 8/8] mach-defpager: silently ignore requests to page to active partition

2014-03-12 Thread Samuel Thibault
Justus Winter, le Wed 12 Mar 2014 15:55:54 +0100, a écrit : > Currently, if mach-defpager is asked to page to an already active > partition, it ignores this request and returns success. It does, > however, print a message about this to stdout. > > This message might indicate to the user that ther

Re: [PATCH 7/8] mach-defpager: fix type of size arguments

2014-03-12 Thread Samuel Thibault
Justus Winter, le Wed 12 Mar 2014 15:55:53 +0100, a écrit : > * mach-defpager/default_pager.c (new_partition): Fix type of bsize. > * mach-defpager/file_io.h (page_read_file_direct): Fix type of size argument. > (page_write_file_direct): Likewise. > * mach-defpager/setup.c (page_read_file_direct):

Re: [PATCH 6/8] mach-defpager: fix warnings about uninitialized variables

2014-03-12 Thread Samuel Thibault
Justus Winter, le Wed 12 Mar 2014 15:55:52 +0100, a écrit : > * mach-defpager/default_pager.c (S_default_pager_objects): Initialize > address, size-pairs to 0. > (S_default_pager_object_pages): Likewise. > * mach-defpager/kalloc.c (kget_space): Likewise. Ack. > --- > mach-defpager/default_pager.

Re: [PATCH 5/8] mach-defpager: fix warning about uninitialized variable

2014-03-12 Thread Samuel Thibault
Justus Winter, le Wed 12 Mar 2014 15:55:51 +0100, a écrit : > Previously, failure to look up the given partition was detected after > the loop by checking whether the loop ran over all existing > partitions. Initialize part to NULL and check for that instead. This > retains the behavior, but expr

Re: [PATCH 4/8] mach-defpager: fix error handling in S_default_pager_object_set_size

2014-03-12 Thread Samuel Thibault
Justus Winter, le Wed 12 Mar 2014 15:55:50 +0100, a écrit : > Fix a compiler warning about kr being potentially being uninitialized. Ack. > * mach-defpager/default_pager.c (S_default_pager_object_set_size): > Initialize kr. > --- > mach-defpager/default_pager.c | 2 +- > 1 file changed, 1 insert

Re: [PATCH 3/8] mach-defpager: add and use synchronized_printf for dprintf

2014-03-12 Thread Samuel Thibault
Justus Winter, le Wed 12 Mar 2014 15:55:49 +0100, a écrit : > * mach-defpager/default_pager.c (synchronized_printf): New function. > (printf_lock): Move to synchronized_printf. > (dprintf): Use synchronized_printf. > (ddprintf): Likewise. Ack. > --- > mach-defpager/default_pager.c | 29 +

Re: [PATCH 2/8] mach-defpager: fix warnings about unused variables

2014-03-12 Thread Samuel Thibault
Justus Winter, le Wed 12 Mar 2014 15:55:48 +0100, a écrit : > * mach-defpager/default_pager.c (pager_alloc): Declare variables only > when needed. > (dealloc_direct): Remove unused variables. > (seqnos_memory_object_terminate): Remove unused variable, adjust > ddprintfs accordingly. > (seqnos_memor

Re: [PATCH 1/8] mach-defpager: remove comments around form feeds

2014-03-12 Thread Samuel Thibault
Justus Winter, le Wed 12 Mar 2014 15:55:47 +0100, a écrit : > Form feed characters (\f) are whitespace and are treated as such by c > compilers. There is no need to enclose them in comments. Ack. > * mach-defpager/default_pager.c: Remove comments around form feeds. > --- > mach-defpager/default

Re: hurd does not compile

2014-03-12 Thread Justus Winter
Quoting Peter Baumgarten (2014-03-12 21:38:13) > On Wed, 2014-03-12 at 11:25 +0100, Samuel Thibault wrote: > > I's actually the Mach headers which need to be upgraded to the version > > which includes task_set_name, and glibc then recompiled against it. > > So does this mean I need to compile mach

Re: [GSoC] Porting Guix to GNU/Hurd

2014-03-12 Thread David Michael
Hi, On Tue, Mar 11, 2014 at 6:26 AM, Manolis Ragkousis wrote: > I am reading any available documentation or existing source that can help me > and I would really appreciate any suggestions ,corrections or questions that > can help me. I'm not really a Hurd developer, but I've been cross-compilin

Re: hurd does not compile

2014-03-12 Thread Peter Baumgarten
On Wed, 2014-03-12 at 11:25 +0100, Samuel Thibault wrote: > I's actually the Mach headers which need to be upgraded to the version > which includes task_set_name, and glibc then recompiled against it. So does this mean I need to compile mach, hurd, and glibc from their respective development branc

[PATCH 6/8] mach-defpager: fix warnings about uninitialized variables

2014-03-12 Thread Justus Winter
* mach-defpager/default_pager.c (S_default_pager_objects): Initialize address, size-pairs to 0. (S_default_pager_object_pages): Likewise. * mach-defpager/kalloc.c (kget_space): Likewise. --- mach-defpager/default_pager.c | 12 ++-- mach-defpager/kalloc.c| 2 +- 2 files changed, 7

[PATCH 7/8] mach-defpager: fix type of size arguments

2014-03-12 Thread Justus Winter
* mach-defpager/default_pager.c (new_partition): Fix type of bsize. * mach-defpager/file_io.h (page_read_file_direct): Fix type of size argument. (page_write_file_direct): Likewise. * mach-defpager/setup.c (page_read_file_direct): Likewise. (page_write_file_direct): Likewise. --- mach-defpager/def

[PATCH 8/8] mach-defpager: silently ignore requests to page to active partition

2014-03-12 Thread Justus Winter
Currently, if mach-defpager is asked to page to an already active partition, it ignores this request and returns success. It does, however, print a message about this to stdout. This message might indicate to the user that there is some kind of a problem with the configuration of the machine, eve

[PATCH 4/8] mach-defpager: fix error handling in S_default_pager_object_set_size

2014-03-12 Thread Justus Winter
Fix a compiler warning about kr being potentially being uninitialized. * mach-defpager/default_pager.c (S_default_pager_object_set_size): Initialize kr. --- mach-defpager/default_pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mach-defpager/default_pager.c b/mach-defpa

[PATCH 5/8] mach-defpager: fix warning about uninitialized variable

2014-03-12 Thread Justus Winter
Previously, failure to look up the given partition was detected after the loop by checking whether the loop ran over all existing partitions. Initialize part to NULL and check for that instead. This retains the behavior, but expresses it in a way the compiler understands better. * mach-defpager/

[PATCH 2/8] mach-defpager: fix warnings about unused variables

2014-03-12 Thread Justus Winter
* mach-defpager/default_pager.c (pager_alloc): Declare variables only when needed. (dealloc_direct): Remove unused variables. (seqnos_memory_object_terminate): Remove unused variable, adjust ddprintfs accordingly. (seqnos_memory_object_data_write): Remove unused variable. --- mach-defpager/default

[PATCH 1/8] mach-defpager: remove comments around form feeds

2014-03-12 Thread Justus Winter
Form feed characters (\f) are whitespace and are treated as such by c compilers. There is no need to enclose them in comments. * mach-defpager/default_pager.c: Remove comments around form feeds. --- mach-defpager/default_pager.c | 13 - 1 file changed, 13 deletions(-) diff --git a/m

[PATCH 3/8] mach-defpager: add and use synchronized_printf for dprintf

2014-03-12 Thread Justus Winter
* mach-defpager/default_pager.c (synchronized_printf): New function. (printf_lock): Move to synchronized_printf. (dprintf): Use synchronized_printf. (ddprintf): Likewise. --- mach-defpager/default_pager.c | 29 ++--- 1 file changed, 18 insertions(+), 11 deletions(-) diff -

Re: New installation CDs and qemu image

2014-03-12 Thread Riccardo Mottola
Hi, Samuel Thibault wrote: Or simpler: dpkg-reconfigure hurd I remounted read-write /, run it and it complted. Now I have a nicely populated /proc ! However, my /run is still empty. Something else to reconfigure perhaps? Needles to say, i still get the boot failure about fsck complaining the

Re: hurd does not compile

2014-03-12 Thread Samuel Thibault
Justus Winter, le Wed 12 Mar 2014 11:15:04 +0100, a écrit : > http://git.sceen.net/hurd/gnumach.git/commitdiff/877a319c94619e51a0103b9f201523b269588eb0 > > Unfortunately, the client side rpc stub has not made it into whatever > library that the client stubs for the kernel are supposed to go (I'm >

Re: hurd does not compile

2014-03-12 Thread Justus Winter
Hi Peter :) Quoting Peter Baumgarten (2014-03-12 08:00:35) > So as the title suggests hurd from git.sv.gnu.org/hurd/ does not compile > for me, but hurd-0.5 from ftp.gnu.org/gnu/ does. The message I am > getting is > > ~/hurd/exec/exec.c:1173: undefined reference to `task_set_name' > collect2:

hurd does not compile

2014-03-12 Thread Peter Baumgarten
So as the title suggests hurd from git.sv.gnu.org/hurd/ does not compile for me, but hurd-0.5 from ftp.gnu.org/gnu/ does. The message I am getting is ~/hurd/exec/exec.c:1173: undefined reference to `task_set_name' collect2: error: ld returned 1 exit status make[1]: *** [exec] Error 1 make[1]: Le