[systemd-devel] [PATCH] autogen: Allow running autogen from a builddir != srcdir

2014-02-25 Thread Stef Walter
While the configure correctly supports being run outside of the top source directory by default, it's nice if autogen.sh does too: $ git clone git://anongit.freedesktop.org/systemd/systemd $ cd systemd $ mkdir $(uname -m) $ cd $(uname -m) $ ../autogen.sh a $ make --- autogen.sh | 18

[systemd-devel] [PATCH] NEWS: fix typo

2014-02-25 Thread Ansgar Burchardt
--- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 73a1dc2..41ed127 100644 --- a/NEWS +++ b/NEWS @@ -30,7 +30,7 @@ CHANGES WITH 210: * logind will now watch SW_DOCK switches and inhibit reaction to the lid switch if it is pressed.

Re: [systemd-devel] [PATCH] backlight: don't hardcode path in binary

2014-02-25 Thread Holger Schurig
Hmm, why should it be configurable? Isn't one (of the many) purposes of systemd to unify the user-space of Linux? And we don't have /lib/systemd/system-sleep/ configurable either, for example. ___ systemd-devel mailing list

[systemd-devel] [PATCH] fix typo in iDRAC network interface name: irdac-idrac

2014-02-25 Thread Tomasz Torcz
--- hwdb/20-net-ifname.hwdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwdb/20-net-ifname.hwdb b/hwdb/20-net-ifname.hwdb index 29d2633..2408dc1 100644 --- a/hwdb/20-net-ifname.hwdb +++ b/hwdb/20-net-ifname.hwdb @@ -2,4 +2,4 @@ # Dell iDRAC Virtual USB NIC

Re: [systemd-devel] [PATCH] NEWS: fix typo

2014-02-25 Thread Tollef Fog Heen
]] Ansgar Burchardt @@ -30,7 +30,7 @@ CHANGES WITH 210: * logind will now watch SW_DOCK switches and inhibit reaction to the lid switch if it is pressed. This means that logind will not suspend the machine anymore if the lid is closed - and the

Re: [systemd-devel] [PATCH] fix typo in iDRAC network interface name: irdac-idrac

2014-02-25 Thread Tom Gundersen
On Tue, Feb 25, 2014 at 12:43 PM, Tomasz Torcz to...@pipebreaker.pl wrote: --- hwdb/20-net-ifname.hwdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwdb/20-net-ifname.hwdb b/hwdb/20-net-ifname.hwdb index 29d2633..2408dc1 100644 --- a/hwdb/20-net-ifname.hwdb +++

Re: [systemd-devel] [ANNOUNCE] systemd 210

2014-02-25 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 24/02/14 22:08 did gyre and gimble: * systemd will now understand the usual M, K, G, T suffixes according to SI conventions (i.e. to the base 1000) when referring to throughput and hardware metrics. It will stay

Re: [systemd-devel] [ANNOUNCE] systemd 210

2014-02-25 Thread Lennart Poettering
On Tue, 25.02.14 13:05, Colin Guthrie (gm...@colin.guthr.ie) wrote: 'Twas brillig, and Lennart Poettering at 24/02/14 22:08 did gyre and gimble: * systemd will now understand the usual M, K, G, T suffixes according to SI conventions (i.e. to the base 1000) when

Re: [systemd-devel] [PATCH 1/2] build-sys: Always install compat pkg-config files

2014-02-25 Thread microcai
2014-02-23 0:55 GMT+08:00 Kay Sievers k...@vrfy.org: On Sat, Feb 22, 2014 at 3:21 PM, Armin K kre...@email.com wrote: Packages are still looking for the old pkg-config files, so until everything has been ported over, install them always, no matter if compat-libs are built or not. So far, we

Re: [systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir

2014-02-25 Thread Samuli Suominen
On 24/02/14 18:34, Kay Sievers wrote: On Mon, Feb 24, 2014 at 4:04 PM, Alexey Shabalin a.shaba...@gmail.com wrote: Needed only libudev-install-hook, not more. It does not matter for proper filesystem layouts where everything is in one location, in /usr. The split of / vs. /usr never made

[systemd-devel] nspawn: fix detection of missing /proc/self/loginuid

2014-02-25 Thread Tero Roponen
Running 'systemd-nspawn -D /srv/Fedora/' gave me this error: Failed to read /proc/self/loginuid: No such file or directory Container Fedora failed with error code 1. This patch fixes the problem. diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 1a02935..e6f8ce7 100644 ---

Re: [systemd-devel] [ANNOUNCE] systemd 210

2014-02-25 Thread Jan Engelhardt
On Monday 2014-02-24 23:08, Lennart Poettering wrote: CHANGES WITH 210: * logind is now a lot more aggressive when suspending the machine due to a closed laptop lid. Instead of acting only on the lid close action it will continuously watch the lid status

Re: [systemd-devel] KDBus Signals and Timeouts

2014-02-25 Thread Justin Brown
On Mon, Feb 24, 2014 at 11:59 PM, Kay Sievers k...@vrfy.org wrote: On Tue, Feb 25, 2014 at 4:26 AM, Justin Brown justin.br...@fandingo.org wrote: I've been reading over some of the articles about KDBus and have a question about reclaiming memfds. Let's say that I have a process which is

[systemd-devel] [PATCH resend] virt: detect_virtualization() do not abort on errors

2014-02-25 Thread Djalal Harouni
The detect_virtualization() logic is to test several mechanisms in order to detect if we are in a container or a virtual machine. This implies that these tests may fail at an undetermined point. An example: detect_container() needs privileges where detect_vm() does not, perhaps there are other

Re: [systemd-devel] KDBus Signals and Timeouts

2014-02-25 Thread Kay Sievers
On Tue, Feb 25, 2014 at 5:41 PM, Justin Brown justin.br...@fandingo.org wrote: On Mon, Feb 24, 2014 at 11:59 PM, Kay Sievers k...@vrfy.org wrote: On Tue, Feb 25, 2014 at 4:26 AM, Justin Brown justin.br...@fandingo.org wrote: I've been reading over some of the articles about KDBus and have a

Re: [systemd-devel] StartTransientService problems

2014-02-25 Thread Barry Scott
On Wed 05 Feb 2014 02:07:33 Lennart Poettering wrote: On Fri, 31.01.14 16:42, Barry Scott (barry.sc...@onelan.co.uk) wrote: I have finally managed to get StartTransientService to run a process for me but I'm encountering issues: we start a daemon that calls StartTransientService as

Re: [systemd-devel] [PATCH resend] virt: detect_virtualization() do not abort on errors

2014-02-25 Thread Lennart Poettering
On Tue, 25.02.14 18:29, Djalal Harouni (tix...@opendz.org) wrote: The detect_virtualization() logic is to test several mechanisms in order to detect if we are in a container or a virtual machine. This implies that these tests may fail at an undetermined point. An example: detect_container()

Re: [systemd-devel] KDBus Signals and Timeouts

2014-02-25 Thread Lennart Poettering
On Tue, 25.02.14 10:41, Justin Brown (justin.br...@fandingo.org) wrote: On Mon, Feb 24, 2014 at 11:59 PM, Kay Sievers k...@vrfy.org wrote: On Tue, Feb 25, 2014 at 4:26 AM, Justin Brown justin.br...@fandingo.org wrote: I've been reading over some of the articles about KDBus and have a

[systemd-devel] Failure to mount partitions on startup since v209

2014-02-25 Thread Patrick Steinhardt
Hi, since updating from systemd v208 to v209 my system has not been able to properly come up, problem is my home partition (GPT, btrfs, fstab) not being detected anymore. systemd stated to wait for it but it never arrived. After being thrown to the emergency mode I just did a `mount -a' and all

Re: [systemd-devel] KDBus Signals and Timeouts

2014-02-25 Thread Simon McVittie
On 25/02/14 17:30, Kay Sievers wrote: There is not real difference, everything is just a message, being a signal or a method. Only signals are limited to pure copied data, disallowing fds; therefore signals will not be suitable for really large data. D-Bus allows unicast signals (libdbus API:

Re: [systemd-devel] Failure to mount partitions on startup since v209

2014-02-25 Thread Michael Biebl
2014-02-25 18:56 GMT+01:00 Patrick Steinhardt p...@pks.im: for my system. The kernel running (3.13.5) has got CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT enabled. Do you have CONFIG_FHANDLE=y set? -- Why is it that all of the instruments seeking intelligent life in the universe are pointed

Re: [systemd-devel] Failure to mount partitions on startup since v209

2014-02-25 Thread Patrick Steinhardt
On Tue, Feb 25, 2014 at 07:28:17PM +0100, Michael Biebl wrote: 2014-02-25 18:56 GMT+01:00 Patrick Steinhardt p...@pks.im: for my system. The kernel running (3.13.5) has got CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT enabled. Do you have CONFIG_FHANDLE=y set? I did enable CONFIG_FHANDLE

Re: [systemd-devel] KDBus Signals and Timeouts

2014-02-25 Thread Kay Sievers
On Tue, Feb 25, 2014 at 7:25 PM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 25/02/14 17:30, Kay Sievers wrote: There is not real difference, everything is just a message, being a signal or a method. Only signals are limited to pure copied data, disallowing fds; therefore signals

Re: [systemd-devel] KDBus Signals and Timeouts

2014-02-25 Thread Justin Brown
On Tue, Feb 25, 2014 at 12:12 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 25.02.14 10:41, Justin Brown (justin.br...@fandingo.org) wrote: And broadcast signals should never be large datagrams, but only very short. Could you elaborate on this point? One of the major points of

Re: [systemd-devel] KDBus Signals and Timeouts

2014-02-25 Thread Kay Sievers
On Tue, Feb 25, 2014 at 9:18 PM, Justin Brown justin.br...@fandingo.org wrote: On Tue, Feb 25, 2014 at 12:12 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 25.02.14 10:41, Justin Brown (justin.br...@fandingo.org) wrote: And broadcast signals should never be large datagrams, but

Re: [systemd-devel] [PATCH resend] virt: detect_virtualization() do not abort on errors

2014-02-25 Thread Djalal Harouni
On Tue, Feb 25, 2014 at 07:11:00PM +0100, Lennart Poettering wrote: On Tue, 25.02.14 18:29, Djalal Harouni (tix...@opendz.org) wrote: The detect_virtualization() logic is to test several mechanisms in order to detect if we are in a container or a virtual machine. This implies that these

[systemd-devel] commas vs spaces in config syntax

2014-02-25 Thread Jason A. Donenfeld
Hey folks, Just came across this section in the systemd-sleep.conf man page: More than one value can be specified by separating multiple values with commas. But then I remember seeing in 99-default.link the line, NamePolicy=database onboard slot path. It seems like our configuration syntax is

Re: [systemd-devel] Starting CUPS very late on a desktop and non-server system

2014-02-25 Thread Paul Menzel
Dear Michael, thank you for your answer. Am Freitag, den 21.02.2014, 00:21 +0100 schrieb Michael Biebl: This might be of interest to you: http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/2014-February/001433.html So, the cups maintainer is already looking into this. It has

[systemd-devel] systemd version debus call changed

2014-02-25 Thread Jason A. Donenfeld
FYI to others experiencing weirdness, the Version api function changed between 208 and 209: in 208: zx2c4@thinkpad ~ $ sudo qdbus --system org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager.Version systemd 208 in 209 and 210: zx2c4@thinkpad ~ $ sudo qdbus

Re: [systemd-devel] systemd version debus call changed

2014-02-25 Thread Kelly Anderson
On Tuesday, February 25, 2014 23:47:39 Jason A. Donenfeld wrote: FYI to others experiencing weirdness, the Version api function changed between 208 and 209: in 208: zx2c4@thinkpad ~ $ sudo qdbus --system org.freedesktop.systemd1 /org/freedesktop/systemd1

Re: [systemd-devel] KDBus Signals and Timeouts

2014-02-25 Thread Justin Brown
Kay and Lennart, Thanks for taking the time to clarify everything. It's greatly appreciated. Cheers, Justin On Tue, Feb 25, 2014 at 2:32 PM, Kay Sievers k...@vrfy.org wrote: On Tue, Feb 25, 2014 at 9:18 PM, Justin Brown justin.br...@fandingo.org wrote: On Tue, Feb 25, 2014 at 12:12 PM,

Re: [systemd-devel] systemd version debus call changed

2014-02-25 Thread Lennart Poettering
On Tue, 25.02.14 23:47, Jason A. Donenfeld (ja...@zx2c4.com) wrote: FYI to others experiencing weirdness, the Version api function changed between 208 and 209: in 208: zx2c4@thinkpad ~ $ sudo qdbus --system org.freedesktop.systemd1 /org/freedesktop/systemd1

Re: [systemd-devel] systemd version debus call changed

2014-02-25 Thread Lennart Poettering
On Wed, 26.02.14 02:01, Jason A. Donenfeld (ja...@zx2c4.com) wrote: Upstream KDE patch is here: https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/7584a63924620bac3bd87277c11cdb8cdb5018b1/diff/powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp?format=diff

[systemd-devel] Seeing crash on x86/qemu

2014-02-25 Thread Khem Raj
Hi I am seeing a crash on x86 systemd[1]: Set hostname to qemux86. systemd[1]: Initializing machine ID from random generator. systemd-fstab-generator[43]: Checking was requested for rootfs, but it is not a device. systemd[1]: segfault at ip 080db4b7 sp bfa1ff50 error 5 in