Re: [systemd-devel] Revisiting the "ExecRestart" issue

2014-04-22 Thread Lennart Poettering
On Fri, 28.03.14 12:12, Brandon Black (blbl...@gmail.com) wrote: > 4) Socket Activation! I know this is what some will scream when they skim > the above, but it's not a realistic solution in this case for a few reasons: > a) The startup delay, in some cases, can be many whole wallclock > secon

Re: [systemd-devel] Unable to override systemd-udevd.service

2014-04-22 Thread Kirill Elagin
While playing with this I've also noticed that systemd treats symlinks in a bit weird way: looks like if it sees a symlink it dereferences it, but not all the symlinks in the path. Here is an example: # systemctl show systemd-udevd.service -p FragmentPath FragmentPath=/usr/lib64/systemd/system/sys

Re: [systemd-devel] [PATCH] build: change tcpwrappers support to disabled by default

2014-04-22 Thread Lennart Poettering
On Tue, 25.03.14 19:11, Michael Biebl (mbi...@gmail.com) wrote: > > 2014-03-20 20:29 GMT+01:00 Lennart Poettering : > > > > TO figure out what we can do in Fedora I have now started a discussion > > on fedora-devel, about getting rid of tcpwrap system-wide. Let's see > > where this goes. Would be

Re: [systemd-devel] [PATCH] backlight: do nothing if max_brightness is 0

2014-04-22 Thread Lennart Poettering
On Thu, 27.03.14 23:41, Thomas Bächler (tho...@archlinux.org) wrote: > On virtually any newer Asus mainboard, the eeepc-wmi driver is loaded. > It exposes a backlight device despite the lack of any physical backlight > devices. This fake backlight device has max_brightness set to 0. Since > the in

Re: [systemd-devel] Unable to override systemd-udevd.service

2014-04-22 Thread Lennart Poettering
On Sun, 30.03.14 19:23, Andrey Borzenkov (arvidj...@gmail.com) wrote: > linux-qbc6:~ # systemctl show systemd-udevd.service -p FragmentPath > FragmentPath=/usr/lib/systemd/system/systemd-udevd.service > linux-qbc6:~ # cp /usr/lib/systemd/system/systemd-udevd.service > /etc/systemd/system > linux-

Re: [systemd-devel] seat > 0 provided by standalone X server (Xspice, xvnc)

2014-04-22 Thread Lennart Poettering
On Tue, 01.04.14 15:31, David Jaša (dj...@redhat.com) wrote: > > Hi, > > I'm looking at clean solution how to create additional seat for > standalone, self-contained X server (one X server per seat, X server > does not rely on any physical hardware). Such X server are xvnc or > Xspice. I could f

Re: [systemd-devel] LXC not working with systemd 209 or later

2014-04-22 Thread Lennart Poettering
On Sat, 05.04.14 22:04, John Lane (syst...@jelmail.com) wrote: > it starts: will see journal output in the console boot messages, > like this: "<30>systemd[1]: Set hostname to ." > you can log in as root. no password. Long delay. Eventual > "user@0.service start operation timed out. Terminating" >

Re: [systemd-devel] systemd-udevd seems to kill mount.ntfs started in rules scripts?

2014-04-22 Thread Lennart Poettering
On Thu, 03.04.14 16:13, Barry Scott (barry.sc...@onelan.co.uk) wrote: > More of my porting from F16 to F20. > > I have the following in /etc/udev/rules.d > > ACTION=="add", SUBSYSTEM=="block", SUBSYSTEMS=="usb", > RUN+="/usr/local/onelan/ntb/bin/ntb_mount_usb" > ACTION=="remove", SUBSYSTEM=="bl

Re: [systemd-devel] Proper use of the Session.Unlock method call

2014-04-22 Thread Lennart Poettering
On Thu, 03.04.14 21:42, Kirill Elagin (kirela...@gmail.com) wrote: > Hi, > > There are plenty people who have some kind of automatic session unlocking > set up. > Examples are: BT phone proximity, USB-drive being plugged in, etc. > This is normally done via DBus `ScreenSaver.SetActive(false)` cal

Re: [systemd-devel] Persistent timers delay Type=idle units

2014-04-22 Thread Lennart Poettering
On Tue, 22.04.14 12:13, Leonid Isaev (lis...@umail.iu.edu) wrote: > > Am 22.04.2014 07:07, schrieb Lennart Poettering: > > > Humm? What precisely do you mean by "delays bootup"? Just scheduling a > > > timer unit should have about zero effect on boot times... If it does > > > this would be a bug.

Re: [systemd-devel] Unit configuration for S3QL filesystem

2014-04-22 Thread Lennart Poettering
On Tue, 22.04.14 07:48, Nikolaus Rath (nikol...@rath.org) wrote: > Lennart Poettering writes: > > On Mon, 21.04.14 19:05, Diogo Vieira (d...@eurotux.com) wrote: > > > >> Hello, > >> > >> I'm trying to create a unit to automatically mount a fuse filesystem > >> known as S3QL, which is the one in

[systemd-devel] [PATCH] gudev: avoid using export-symbols-regex

2014-04-22 Thread Cristian Rodríguez
There is no need for this hackery, just hide the internal functions using glib 's G_GNUC_INTERNAL macro. --- Makefile.am | 3 +-- src/gudev/gudevprivate.h | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6967b6f..903d888 100644

Re: [systemd-devel] Compilation with gcc-4.9 fails

2014-04-22 Thread Cristian Rodríguez
El 22/04/14 20:05, Jan Engelhardt escribió: On Monday 2014-03-03 07:51, Jan Engelhardt wrote: When building with GCC 4.9.0 [svn r208221], then the following happens: [...] $ nm src/libsystemd/sd-bus/.libs/libsystemd_la-sd-bus.o 0001 C __gnu_lto_slim 0001 C __gnu_lto_v1

Re: [systemd-devel] Compilation with gcc-4.9 fails

2014-04-22 Thread Cristian Rodríguez
El 22/04/14 20:05, Jan Engelhardt escribió: On Monday 2014-03-03 07:51, Jan Engelhardt wrote: When building with GCC 4.9.0 [svn r208221], then the following happens: [...] $ nm src/libsystemd/sd-bus/.libs/libsystemd_la-sd-bus.o 0001 C __gnu_lto_slim 0001 C __gnu_lto_v1

Re: [systemd-devel] Compilation with gcc-4.9 fails

2014-04-22 Thread Jan Engelhardt
On Monday 2014-03-03 07:51, Jan Engelhardt wrote: > >When building with GCC 4.9.0 [svn r208221], then the following happens: >[...] >$ nm src/libsystemd/sd-bus/.libs/libsystemd_la-sd-bus.o >0001 C __gnu_lto_slim >0001 C __gnu_lto_v1 >$ make >[...] > CCLD libgudev-1.0.

Re: [systemd-devel] Persistent timers delay Type=idle units

2014-04-22 Thread Leonid Isaev
Hi, I'll try to answer all questions at once... On Tue, 22 Apr 2014 09:37:29 +0200 Thomas Bächler wrote: > Am 22.04.2014 07:07, schrieb Lennart Poettering: > > Humm? What precisely do you mean by "delays bootup"? Just scheduling a > > timer unit should have about zero effect on boot ti

Re: [systemd-devel] mount failed during system start but after "systemctl daemon-reload" everything works

2014-04-22 Thread Andrey Borzenkov
В Tue, 22 Apr 2014 18:49:49 +0200 Oliver пишет: > > Am 22.04.2014 07:04, schrieb Lennart Poettering: > > On Fri, 18.04.14 10:32, Oliver (oli...@business-security.de) wrote: > > > >> Hello. > >> Could anyone tell me a reason why a mount (regardless of via fstab > >> or "mountpoint.mount" unit fil

Re: [systemd-devel] mount failed during system start but after "systemctl daemon-reload" everything works

2014-04-22 Thread Oliver
Am 22.04.2014 07:04, schrieb Lennart Poettering: On Fri, 18.04.14 10:32, Oliver (oli...@business-security.de) wrote: Hello. Could anyone tell me a reason why a mount (regardless of via fstab or "mountpoint.mount" unit file) during system boot leads to a timeout because of device timeout and af

Re: [systemd-devel] Unit configuration for S3QL filesystem

2014-04-22 Thread Nikolaus Rath
Lennart Poettering writes: > On Mon, 21.04.14 19:05, Diogo Vieira (d...@eurotux.com) wrote: > >> Hello, >> >> I'm trying to create a unit to automatically mount a fuse filesystem >> known as S3QL, which is the one in question in this older thread: >> http://lists.freedesktop.org/archives/systemd-

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-04-22 Thread Matthias Schiffer
On 04/22/2014 04:07 PM, Tom Gundersen wrote: > Hi Matthias, > > On Fri, Apr 18, 2014 at 1:08 AM, Matthias Schiffer > wrote: >> On 04/18/2014 12:14 AM, Matthias Schiffer wrote: >>> On 04/17/2014 11:28 PM, Dave Reisner wrote: On Thu, Apr 17, 2014 at 11:02:11PM +0200, Matthias Schiffer wrote: >

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-04-22 Thread Tom Gundersen
Hi Matthias, On Fri, Apr 18, 2014 at 1:08 AM, Matthias Schiffer wrote: > On 04/18/2014 12:14 AM, Matthias Schiffer wrote: >> On 04/17/2014 11:28 PM, Dave Reisner wrote: >>> On Thu, Apr 17, 2014 at 11:02:11PM +0200, Matthias Schiffer wrote: Hi, I'd like to configure the MAC address of a

Re: [systemd-devel] [PATCH] systemctl: allow to change the default target without the --force switch

2014-04-22 Thread Djalal Harouni
On Tue, Apr 22, 2014 at 08:01:43AM +0200, Lennart Poettering wrote: > On Mon, 14.04.14 01:07, Djalal Harouni (tix...@opendz.org) wrote: > > > Currently "systemctl set-default" will fail to change the default target > > due to the 'default.target' being a symlink which is always the case. > > Humm

Re: [systemd-devel] Persistent timers delay Type=idle units

2014-04-22 Thread Thomas Bächler
Am 22.04.2014 10:33, schrieb Tom Gundersen: > On Tue, Apr 22, 2014 at 9:37 AM, Thomas Bächler wrote: >> I'm >> CC'ing the original reporter, maybe he can give more information. > > I think you forgot to do that... Strange stuff - he is listed in CC in the mail I received, but his address is miss

Re: [systemd-devel] Persistent timers delay Type=idle units

2014-04-22 Thread Tom Gundersen
On Tue, Apr 22, 2014 at 9:37 AM, Thomas Bächler wrote: > I'm > CC'ing the original reporter, maybe he can give more information. I think you forgot to do that... -t ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedes

Re: [systemd-devel] Persistent timers delay Type=idle units

2014-04-22 Thread Thomas Bächler
Am 22.04.2014 07:07, schrieb Lennart Poettering: > On Fri, 18.04.14 11:34, Thomas Bächler (tho...@archlinux.org) wrote: > >> According to [1], when a persistent timer runs its service on boot, it >> delays startup. > > Humm? What precisely do you mean by "delays bootup"? Just scheduling a > time

Re: [systemd-devel] [PATCH] names: take the registry write lock in kdbus_name_release()

2014-04-22 Thread Kay Sievers
On Fri, Apr 18, 2014 at 9:55 PM, David Herrmann wrote: > On Fri, Apr 18, 2014 at 3:16 AM, Djalal Harouni wrote: >> Take the write lock in kdbus_name_release() instead of >> kdbus_cmd_name_release() in order to reduce the lock hold time. >> >> This change permits to convert the kdbus_bus_find_conn