[systemd-devel] How to handle loop mounts?

2012-08-07 Thread Eelco Dolstra
Hi, I have an /etc/fstab that contains the following line: /disk1.img /disk1 ext4 loop 0 2 where /disk1.img is a regular file containing an ext4 filesystem. Systemd fails to mount /disk1 if I run "systemctl start disk1.mount": > Aug 07 23:53:24 machine systemd[1]: Job disk1.img.device/start

Re: [systemd-devel] Automatic unmount of inactive automounted dir?

2012-08-07 Thread Dave Reisner
On Tue, Aug 07, 2012 at 04:23:05PM -0400, Maddy, Noel wrote: > I have a number of network shares automounted through systemd's automount. > > > > How do I make them automatically unmount after a given period of inactivity? > > > > Thanks, > > Noel > This isn't currently supported. See th

[systemd-devel] Automatic unmount of inactive automounted dir?

2012-08-07 Thread Maddy, Noel
I have a number of network shares automounted through systemd's automount. How do I make them automatically unmount after a given period of inactivity? Thanks, Noel CONFIDENTIALITY NOTICE: This email contains information from the sender that may be CONFIDENTIAL,

Re: [systemd-devel] List all available units

2012-08-07 Thread Kay Sievers
On Tue, Aug 7, 2012 at 5:21 PM, "Jóhann B. Guðmundsson" wrote: > On 08/07/2012 02:35 PM, Václav Pavlín wrote: >> >> https://bugzilla.redhat.com/show_bug.cgi?id=790768 > > > I thought Harald had already fixed this one but perhaps Lennart never > committed it. http://cgit.freedesktop.org/systemd/sy

Re: [systemd-devel] List all available units

2012-08-07 Thread Jóhann B. Guðmundsson
On 08/07/2012 02:35 PM, Václav Pavlín wrote: https://bugzilla.redhat.com/show_bug.cgi?id=790768 I thought Harald had already fixed this one but perhaps Lennart never committed it. See [1]. JBG 1.http://lists.freedesktop.org/archives/systemd-devel/2012-February/004573.html

[systemd-devel] List all available units

2012-08-07 Thread Václav Pavlín
Hi everyone, I started to work on these two bugs (if I solve the first one, the second one will be almost solved as well): https://bugzilla.redhat.com/show_bug.cgi?id=748512 https://bugzilla.redhat.com/show_bug.cgi?id=790768 My idea is to get list of loaded units, then list of unit files and the

Re: [systemd-devel] [PATCH] systemd: introduced new timeout types

2012-08-07 Thread Michal Sekletar
Hello, it should be fixed and behavior should be the same as Michal has described, however patch is not based on current origin/master HEAD since I am unable to pull today. If it does not apply cleanly please let me know. Thank you. Regards, Michal _

[systemd-devel] [PATCH] systemd: introduced new timeout types

2012-08-07 Thread Michal Sekletar
Makes possible to specify separate timeout for start and stop of the service. --- man/systemd.service.xml | 25 - src/core/dbus-service.c | 4 +++- src/core/load-fragment-gperf.gperf.m4 | 4 +++- src/core/load-fragment.c | 12 +

Re: [systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

2012-08-07 Thread David Strauss
On Sat, Aug 4, 2012 at 4:46 AM, Lennart Poettering wrote: > (But please, don't implement this bit just yet, let's wait for somebody > actually needing this. Note though, that Upstart actually does have > functionality like this). There are broken daemons like the "cluster" support in node.js that