Re: [systemd-devel] systemd freezes after rshd execution, if network connection is down

2014-05-14 Thread Umut Tezduyar Lindskog
Hi, We will check it. Meanwhile, I believe you can also try it since problem is arch independent. Just follow Jimmy Assarsson's instructions. Umut On Tue, May 13, 2014 at 11:31 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, May 13, 2014 at 07:40:53PM +0200, Umut Tezduyar Lindskog wrote: >> It

[systemd-devel] [PATCH 1/1] build-sys: build gummiboot executable only if HAVE_BLKID

2014-05-14 Thread Kang Hu
src/setup/setup.c depends on blkid library. so build gummiboot binary only if blkid library is available. Signed-off-by: Kang Hu --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index d004bdd..bf6ef17 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3

[systemd-devel] 回复: Re: systemd headers missing and compiling failed

2014-05-14 Thread winew...@qq.com
hi all, i've successfully installed systemd from source package! but i don't know why. it seems something suddenly turned on or worked normally. however, i found a solution to this familiar problem when googling: https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg18443.html maybe

Re: [systemd-devel] [PATCH] readahead: ARM: fix rotational media detection for MMC

2014-05-14 Thread Koen Kooi
Op 13 mei 2014, om 23:47 heeft Zbigniew Jędrzejewski-Szmek het volgende geschreven: > On Tue, May 13, 2014 at 02:14:20PM +, Chaiken, Alison wrote: >> I wrote: >>> The ARM runtime reports the major device type associated with >>> /proc/self/mountinfo as MMC_BLOCK_MAJOR, causing on_ssd() in >

[systemd-devel] error: undefined reference to `sd_event_source_unref' while the function exists in source

2014-05-14 Thread Hurry Zeng
Hi All, i tried to compile some source code on archlinux (v 2014.05.01), but i got an error: (header missing ?) fatal error: systemd/sd-event.h: No such file or directory #include ^ compilation terminated. then i copied the headers from systemd-212.tar.gz to /usr/include/sys

Re: [systemd-devel] [RFC][PATCH] core: sysvcompat - $network should be equivalent to network-online, rather than network target

2014-05-14 Thread Michal Sekletar
On Tue, May 13, 2014 at 12:23:53AM +0200, Tom Gundersen wrote: > Most likely the facility needed is actual connectivity, rather than whether > or not the > network managment daemon is running. > > We also need to explicitly pull in the network-online.target, as it is not > active by > default.

Re: [systemd-devel] [RFC][PATCH] core: sysvcompat - $network should be equivalent to network-online, rather than network target

2014-05-14 Thread Tom Gundersen
On Wed, May 14, 2014 at 12:29 PM, Michal Sekletar wrote: > On Tue, May 13, 2014 at 12:23:53AM +0200, Tom Gundersen wrote: >> Most likely the facility needed is actual connectivity, rather than whether >> or not the >> network managment daemon is running. >> >> We also need to explicitly pull in

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-05-14 Thread Colin Guthrie
'Twas brillig, and Umut Tezduyar Lindskog at 13/05/14 18:37 did gyre and gimble: > > > On Wednesday, May 7, 2014, Colin Guthrie > wrote: > > 'Twas brillig, and Umut Tezduyar Lindskog at 04/03/14 12:44 did gyre and > gimble: > >> Does that actually matter

Re: [systemd-devel] error: undefined reference to `sd_event_source_unref' while the function exists in source

2014-05-14 Thread Colin Guthrie
Hello, Firstly, please try to keep your mails on a given topic in the same thread! Make it easier for us all to consume mails on the list! 'Twas brillig, and Hurry Zeng at 14/05/14 10:48 did gyre and gimble: > Hi All, > > i tried to compile some source code on archlinux (v 2014.05.01), but i > g

Re: [systemd-devel] error: undefined reference to `sd_event_source_unref' while the function exists in source

2014-05-14 Thread Daniel Buch
Have you compiled with: -lsystemd? 2014-05-14 11:48 GMT+02:00 Hurry Zeng : > Hi All, > > i tried to compile some source code on archlinux (v 2014.05.01), but i got > an error: (header missing ?) > fatal error:* systemd/sd-event.h*: No such file or directory > #include > ^ > comp

Re: [systemd-devel] error: undefined reference to `sd_event_source_unref' while the function exists in source

2014-05-14 Thread Hurry Zeng
Hi Daniel, Yes, i do this in makefile. Hurry Zeng from China. (winew...@qq.com) From: Daniel Buch Date: 2014-05-14 19:44 To: Hurry Zeng CC: systemd-devel Subject: Re: [systemd-devel] error: undefined reference to `sd_event_source_unref' while the function exists in source Have you compiled wi

Re: [systemd-devel] error: undefined reference to `sd_event_source_unref' while the function exists in source

2014-05-14 Thread Hurry Zeng
Hi, Colin, > Firstly, please try to keep your mails on a given topic in the same > thread! Make it easier for us all to consume mails on the list! Sorry for your time. My last topic is about error on compiling (make and make install) systemd, and as i said in the last reply, systemd compiling wor

[systemd-devel] Journal rotation and notifying users

2014-05-14 Thread Colin Guthrie
Hiya, I recently had a rather unfortunate crash on my home system. One of the disks failed and for some reason or another, it logged a lot of data. As I don't have *that* much space for journal files (~800Mb) the logs rotated and when trying to diagnose the crash I was left with very little infor

Re: [systemd-devel] error: undefined reference to `sd_event_source_unref' while the function exists in source

2014-05-14 Thread Colin Guthrie
Hiya, 'Twas brillig, and Hurry Zeng at 14/05/14 12:56 did gyre and gimble: >> Firstly, please try to keep your mails on a given topic in the same >> thread! Make it easier for us all to consume mails on the list! > > Sorry for your time. > My last topic is about error on compiling (make and make

Re: [systemd-devel] systemd freezes after rshd execution, if network connection is down

2014-05-14 Thread Zbigniew Jędrzejewski-Szmek
On Wed, May 14, 2014 at 09:05:12AM +0200, Umut Tezduyar Lindskog wrote: > Hi, > > We will check it. Meanwhile, Thanks. > I believe you can also try it since > problem is arch independent. Just follow Jimmy Assarsson's > instructions. I know, I'm just being lazy :) Zbyszek ___

Re: [systemd-devel] Failed to mark scope session-20.scope as abandoned

2014-05-14 Thread Michal Sekletar
On Wed, May 14, 2014 at 07:51:01AM +0200, Michal Sekletar wrote: > On Tue, May 13, 2014 at 11:54:49PM -0400, Garry T. Williams wrote: > > On 5-12-14 15:11:46 Michal Sekletar wrote: > > > On Sat, May 10, 2014 at 05:12:21PM -0400, Garry T. Williams wrote: > > > > This recently stated showing up in th

Re: [systemd-devel] Journal rotation and notifying users

2014-05-14 Thread Zbigniew Jędrzejewski-Szmek
On Wed, May 14, 2014 at 01:03:28PM +0100, Colin Guthrie wrote: > i.e. perhaps it should include details on when the last rotation occured > and perhaps why? Maybe it'd be enough to increase the log level of the message about logging? And also to make sure that it is logged after rotation. > Or may

Re: [systemd-devel] Journal rotation and notifying users

2014-05-14 Thread Colin Guthrie
'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 14/05/14 16:18 did gyre and gimble: > On Wed, May 14, 2014 at 01:03:28PM +0100, Colin Guthrie wrote: >> i.e. perhaps it should include details on when the last rotation occured >> and perhaps why? > Maybe it'd be enough to increase the log level of

Re: [systemd-devel] [RFC][PATCH] core: sysvcompat - $network should be equivalent to network-online, rather than network target

2014-05-14 Thread Lennart Poettering
On Wed, 14.05.14 12:29, Michal Sekletar (msekl...@redhat.com) wrote: > > +++ b/src/core/service.c > > @@ -392,7 +392,7 @@ static int sysv_translate_facility(const char *name, > > const char *filename, char > > static const char * const table[] = { > > /* LSB defined faci

Re: [systemd-devel] remounting root fs outside containers as MS_SHARED

2014-05-14 Thread Lennart Poettering
On Tue, 13.05.14 20:16, Ani Sinha (a...@arista.com) wrote: > The following change started mounting the rootfs as shared : > > b3ac5f8cb98757416d8660023d6564a7c411f0a0 > > The commit log and the corresponding comment in the code says that if > any setups needed the kernel default private mount, o

Re: [systemd-devel] [PATCH] readahead: ARM: fix rotational media detection for MMC

2014-05-14 Thread Lennart Poettering
On Wed, 14.05.14 11:33, Koen Kooi (k...@dominion.thruhere.net) wrote: > ~# cat /sys/class/block/mmcblk0/queue/rotational > 0 This is what readahead checks for, and which apears to be correctly set to 0. So everything is in order and the readahead tool should properly detect this as ssd... Lenna

Re: [systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

2014-05-14 Thread Lennart Poettering
On Tue, 13.05.14 20:01, Andy Kittner (andy.kitt...@gmail.com) wrote: > | May 13 18:50:33 pinky systemd-udevd[2751]: conflicting device node > '/dev/mapper/swap' found, link to '/dev/dm-1' will not be created > Thats the first one I find a bit fishy, but it doesn't sound fatal > either... This rea

Re: [systemd-devel] [RFC][PATCH] core: sysvcompat - $network should be equivalent to network-online, rather than network target

2014-05-14 Thread Tom Gundersen
On Wed, May 14, 2014 at 6:06 PM, Lennart Poettering wrote: > On Wed, 14.05.14 12:29, Michal Sekletar (msekl...@redhat.com) wrote: > >> > +++ b/src/core/service.c >> > @@ -392,7 +392,7 @@ static int sysv_translate_facility(const char *name, >> > const char *filename, char >> > static cons

Re: [systemd-devel] remounting root fs outside containers as MS_SHARED

2014-05-14 Thread Ani Sinha
On Wed, May 14, 2014 at 9:14 AM, Lennart Poettering wrote: > On Tue, 13.05.14 20:16, Ani Sinha (a...@arista.com) wrote: > > > Why precisely would you want to disable propagation from the root dir? > The core issue is that pivot_root() syscall breaks if the new_root is a mount point under / which

[systemd-devel] inconsistency between hibernate-multiple-sessions and suspend-multiple-sessions

2014-05-14 Thread Michael Biebl
Hi, looking at org.freedesktop.login1.policy I notice that org.freedesktop.login1.suspend-multiple-sessions has yes whereas org.freedesktop.login1.hibernate-multiple-sessions has auth_admin_keep What's the reason for this inconsistency? Looking further org.freedesktop.login1.reboot-multiple-sess

Re: [systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

2014-05-14 Thread Andy Kittner
On 14/05/14 18:33, Lennart Poettering wrote: > On Tue, 13.05.14 20:01, Andy Kittner (andy.kitt...@gmail.com) wrote: > >> | May 13 18:50:33 pinky systemd-udevd[2751]: conflicting device node >> '/dev/mapper/swap' found, link to '/dev/dm-1' will not be created >> Thats the first one I find a bit fis

Re: [systemd-devel] remounting root fs outside containers as MS_SHARED

2014-05-14 Thread Djalal Harouni
On Wed, May 14, 2014 at 03:12:55PM -0700, Ani Sinha wrote: > On Wed, May 14, 2014 at 9:14 AM, Lennart Poettering > wrote: > > On Tue, 13.05.14 20:16, Ani Sinha (a...@arista.com) wrote: > > > > > > > Why precisely would you want to disable propagation from the root dir? > > > > The core issue is

Re: [systemd-devel] inconsistency between hibernate-multiple-sessions and suspend-multiple-sessions

2014-05-14 Thread Michael Biebl
2014-05-15 2:29 GMT+02:00 Michael Biebl : > What's the reason for this inconsistency? Small correction: org.freedesktop.login1.power-off-multiple-sessions org.freedesktop.login1.reboot-multiple-sessions org.freedesktop.login1.suspend-multiple-sessions → yes org.freedesktop.login1.hibernate-multi

Re: [systemd-devel] [PATCH] readahead: ARM: fix rotational media detection for MMC

2014-05-14 Thread Zbigniew Jędrzejewski-Szmek
On Wed, May 14, 2014 at 06:20:42PM +0200, Lennart Poettering wrote: > On Wed, 14.05.14 11:33, Koen Kooi (k...@dominion.thruhere.net) wrote: > > > ~# cat /sys/class/block/mmcblk0/queue/rotational > > 0 > > This is what readahead checks for, and which apears to be correctly set > to 0. So everythi

Re: [systemd-devel] remounting root fs outside containers as MS_SHARED

2014-05-14 Thread Ani Sinha
On Wed, May 14, 2014 at 5:31 PM, Djalal Harouni wrote: > On Wed, May 14, 2014 at 03:12:55PM -0700, Ani Sinha wrote: >> On Wed, May 14, 2014 at 9:14 AM, Lennart Poettering >> wrote: >> > On Tue, 13.05.14 20:16, Ani Sinha (a...@arista.com) wrote: >> > >> >> > >> > Why precisely would you want to di

Re: [systemd-devel] remounting root fs outside containers as MS_SHARED

2014-05-14 Thread Ani Sinha
>> >> Why pivot_root() fails ? > > pivot_root() fails because of the following code in linux kernel : > > http://lxr.free-electrons.com/source/fs/namespace.c#L2730 > > any code that calls pivot_root() under / will fail with EINVAL. > This is the redhat bug that discusses the kernel behavior : htt