Re: [systemd-devel] [RFC] link against util-linux for fstab parsing

2012-02-17 Thread Dave Reisner
On Fri, Feb 17, 2012 at 11:41:05PM +0100, Michael Biebl wrote: > Am 17. Februar 2012 22:47 schrieb Dave Reisner : > >  Makefile.am  |    6 ++- > >  configure.ac |    1 + > >  src/mount.c  |  157 > > +- > >  3 files changed, 83 insertions(+),

Re: [systemd-devel] [RFC] link against util-linux for fstab parsing

2012-02-17 Thread Michael Biebl
Am 17. Februar 2012 22:47 schrieb Dave Reisner : >  Makefile.am  |    6 ++- >  configure.ac |    1 + >  src/mount.c  |  157 > +- >  3 files changed, 83 insertions(+), 81 deletions(-) Interesting numbers. By using the external library we actu

[systemd-devel] [RFC] link against util-linux for fstab parsing

2012-02-17 Thread Dave Reisner
Based on the premise that we shouldn't develop a case of NIH, link against a library whose sole purpose in life is parsing tab files. --- Curious if something like this is wanted -- it's 90% complete, but there's no sense in finishing it up if it's not interesting. I'd like to be able to get rid of

[systemd-devel] [PATCH] mount: properly check return for mount_add_*

2012-02-17 Thread Dave Reisner
Previously, mount_load_etc_fstab() could never fail for reasons other than a setmntent() or allocation failure. --- src/mount.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mount.c b/src/mount.c index 0ae964b..5e52a54 100644 --- a/src/mount.c +++ b/src/mount.c @@ -

[systemd-devel] Rethinking getty and fast user switching

2012-02-17 Thread Colin Guthrie
Hi, I meant to bug Lennart and Kay about this at FOSDEM, but as it panned out I didn't see much of you guys so never got the opportunity. So here goes at an email based description of my thoughts. As we're (Mageia) following the (somewhat old now) lead of Fedora by starting X on tty1, and as I h

[systemd-devel] PATCH: making sure /run/systemd/system is not evincted from unit search path

2012-02-17 Thread Frederic Crozat
This is a follow-up of a issue I raised last August but we didn't fix it at all and it stayed in limbo until I got it by this issue this week. Currently, unit search path lists is getting cleaned (where paths containing no files are removed from the list ) when systemd is initialized, but before g

Re: [systemd-devel] Cannot make java exit 0 on SIGTERM

2012-02-17 Thread mokasin
On 15.12.2011 16:56, Lennart Poettering wrote: > On Mon, 28.11.11 15:12, Chris Paulson-Ellis ([email protected]) wrote: > >> Hi, >> >> I'm running a Java JVM service using: >> >> ExecStart=/usr/bin/java -jar foo.jar >> >> When I stop the service with systemctl, it goes into the failed >> state becau