Re: shepherd, default /etc/shepherd.scm for other distributions

2016-04-12 Thread David Michael
On Tue, Apr 12, 2016 at 7:52 AM, Jean Louis wrote: > I am searching for a sample shepherd /etc/shepherd.scm to be run on > other distributions. If anyone has such file, just a sample, for one > service, with the recent shepherd version, let me know. It would be > enough If you just want to see a

[PATCH shepherd v2] support: Ignore errors in mkdir-p when the directories exist.

2016-02-05 Thread David Michael
* modules/shepherd/support.scm (mkdir-p): Don't throw errors when mkdir fails but the directory exists afterwards. --- modules/shepherd/support.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/shepherd/support.scm b/modules/shepherd/support.scm index 9bc5f5d..405

Re: [PATCH shepherd] support: Ignore errors on parent directories in mkdir-p.

2016-02-05 Thread David Michael
On Thu, Feb 4, 2016 at 11:47 AM, Ludovic Courtès wrote: > David Michael skribis: > >> My use case for this is that I have a crazy Hurd setup that boots a >> read-only root file system with a passive tmpfs translator on /run. >> When mkdir-p runs with "/run/sheph

[PATCH shepherd] support: Ignore errors on parent directories in mkdir-p.

2016-02-02 Thread David Michael
* modules/shepherd/support.scm (mkdir-p): Don't throw errors when mkdir fails and there are more subdirectory components to try. --- Hi, My use case for this is that I have a crazy Hurd setup that boots a read-only root file system with a passive tmpfs translator on /run. When mkdir-p runs with

Re: [PATCH] dmd: Allow storing early logs before writing to disk

2014-09-17 Thread David Michael
On Sat, Sep 13, 2014 at 8:16 AM, Ludovic Courtès wrote: > David Michael skribis: >> On Thu, Sep 11, 2014 at 10:31 AM, Ludovic Courtès wrote: [snip] >>> The ideal thing would be: >>> >>> 1. Run ‘dmd -l foo.log’. >>> 2. If foo.log is not w

Re: [PATCH] dmd: Allow storing early logs before writing to disk

2014-09-11 Thread David Michael
On Thu, Sep 11, 2014 at 10:31 AM, Ludovic Courtès wrote: > David Michael skribis: > >> When using dmd to bring up a read-only file system, it will quit when it >> fails to open a log file for writing. > > Out of curiosity, are you trying to use dmd in the initrd, or ma

[PATCH] dmd: Allow storing early logs before writing to disk

2014-09-10 Thread David Michael
* modules/dmd.scm (main): Start logging to a buffer instead of a file when the logfile option is set to "delayed". * modules/dmd/comm.scm (start-logging-to-buffer): New procedure. (start-logging): If logs were being written to a string port, write its contents to the log file. --- Hi, When

[PATCH] dmd: Find the system dmdconf.scm in the configured sysconfdir

2014-07-09 Thread David Michael
* Makefile.am (instantiate): Substitute the sysconfdir value. * modules/dmd/config.scm.in (%sysconfdir): New variable. * modules/dmd/support.scm (default-config-file): Use %sysconfdir in place of prefix+"/etc". --- Hi, As is, using "./configure --prefix=/usr --sysconfdir=/etc" will try to read

[PATCH] dmd: Support cross-compilation

2014-07-09 Thread David Michael
* Makefile.am (%.go): Specify the target platform. --- Hi, Configuring different build and host platforms could result in guile object files for the wrong CPU architecture. Can something like this set the target for guild? Thanks. David Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1