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

2014-04-22 Thread Lennart Poettering
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, no? Normally default.target should not exist in /etc, only in /usr. This means

Re: [systemd-devel] Systemd askpassword

2014-04-22 Thread Lennart Poettering
On Sat, 12.04.14 22:08, Ismael Bouya (ismael.bo...@normalesup.org) wrote: (Side question: Is there a way to say that systemd-tty-ask-password-agent can be run by the user and not only by root to mount the disk? If he know the disk password then he's most probably allowed to mount it...) The

Re: [systemd-devel] Default file permissions in user mode

2014-04-22 Thread Lennart Poettering
On Sat, 12.04.14 12:14, Tanu Kaskinen (tanu.kaski...@linux.intel.com) wrote: Hi, The systemd.socket man page says that the default value for DirectoryMode is 0755. Judging from the code in the socket_init() function, the documentation matches the implementation. 0755 seems appropriate for

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 dh.herrm...@gmail.com wrote: On Fri, Apr 18, 2014 at 3:16 AM, Djalal Harouni tix...@opendz.org 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

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 timer unit

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 tho...@archlinux.org 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

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 tho...@archlinux.org 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

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, no?

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 mschif...@universe-factory.net 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

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 mschif...@universe-factory.net 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

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

2014-04-22 Thread Nikolaus Rath
Lennart Poettering lenn...@poettering.net 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:

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 tho...@archlinux.org 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

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.la

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

[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] 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 lenn...@poettering.net 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

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. This is

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)` call,

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==block,

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: 30systemd[1]: Set hostname to test. you can log in as root. no password. Long delay. Eventual user@0.service start operation timed out. Terminating You

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 find a

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

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

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 lenn...@poettering.net: 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