Re: [systemd-devel] [PATCH 1/2] build-sys: merge libsystemd-login into libsystemd

2014-01-20 Thread Simon McVittie
On 20/01/14 17:08, Lennart Poettering wrote: > On Mon, 20.01.14 17:42, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: >> Anyway, I don't see why using gold would be bad. > > Good question. I have no experience with gold, but it's commonly > available these days, right? "Sort of; hardware-

Re: [systemd-devel] Starting in a network name?

2014-01-20 Thread Lennart Poettering
On Mon, 06.01.14 11:04, Holger Schurig ([email protected]) wrote: > Hi, I used "ip netns" commands to setup several network namespaces. > Now I want to run a user-space (non-root) in one of those netspaces. > "ip netns exec NAME COMMAND" seems to only work for root, not normal > users. > >

Re: [systemd-devel] [PATCH 1/2] build-sys: merge libsystemd-login into libsystemd

2014-01-20 Thread Lennart Poettering
On Mon, 20.01.14 17:42, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > > On Mon, Jan 20, 2014 at 01:14:02PM +0100, Lennart Poettering wrote: > > On Sun, 19.01.14 14:51, Zbigniew Jędrzejewski-Szmek ([email protected]) > > wrote: > > > > > So, I prepared a test patch. This all doesn't s

Re: [systemd-devel] TTY ownership and systemd user session

2014-01-20 Thread Lennart Poettering
On Fri, 10.01.14 14:11, Yin Kangkai ([email protected]) wrote: > > On 2014-01-10, 06:27 +0100, Lennart Poettering wrote: > > On Thu, 09.01.14 09:56, Yin Kangkai ([email protected]) wrote: > > > > > Hi, > > > > > > I am bringing up systemd user session in Tizen, I am using v2

Re: [systemd-devel] [PATCH 1/2] build-sys: merge libsystemd-login into libsystemd

2014-01-20 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jan 20, 2014 at 01:14:02PM +0100, Lennart Poettering wrote: > On Sun, 19.01.14 14:51, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > > > So, I prepared a test patch. This all doesn't seem to be too ugly generally, > > although the warning generation in patch 2 is a bit. > > > >

Re: [systemd-devel] systemd hangs after Welcome message when LogLevel=debug

2014-01-20 Thread Lennart Poettering
On Mon, 20.01.14 13:42, Barry Scott ([email protected]) wrote: > > But while systemd is starting your system the syslog might not be > > ready. Probably systemd has some buffer, where it buffers the output. > > Once syslog becomes available, it will be fed with the buffer's > > contents fir

Re: [systemd-devel] systemctl [en|dis]able weirdness + reload (writes /run/nologin)

2014-01-20 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 20/01/14 12:45 did gyre and gimble: > On Mon, 13.01.14 11:16, Colin Guthrie ([email protected]) wrote: > >> Hi, >> >> I've just been debugging a weird problem in my 208 build (which is quite >> similar to Fedora's - a lot of the same patches). >> >> So f

Re: [systemd-devel] daemon-reload seems racy

2014-01-20 Thread Peeters Simon
2014/1/20 Colin Guthrie : > CC'ing Zbigniew as he's working on the Fedora bug AFAIK. > > 'Twas brillig, and Lennart Poettering at 20/01/14 12:37 did gyre and gimble: >> On Thu, 16.01.14 12:28, Colin Guthrie ([email protected]) wrote: >> >>> >>> 'Twas brillig, and Colin Guthrie at 14/01/14 13:28

Re: [systemd-devel] daemon-reload seems racy

2014-01-20 Thread Colin Guthrie
CC'ing Zbigniew as he's working on the Fedora bug AFAIK. 'Twas brillig, and Lennart Poettering at 20/01/14 12:37 did gyre and gimble: > On Thu, 16.01.14 12:28, Colin Guthrie ([email protected]) wrote: > >> >> 'Twas brillig, and Colin Guthrie at 14/01/14 13:28 did gyre and gimble: >>> 3. Some s

Re: [systemd-devel] systemd hangs after Welcome message when LogLevel=debug

2014-01-20 Thread Barry Scott
I drafted this last week, sorry for the delay. On Wed 15 Jan 2014 16:44:21 Holger Schurig wrote: > Educated guess (!) > > With LogLevel=debug, you generate huge amounts of output. With LogTarget=syslog-or-kmsg and kernel not quiet I would expect to see the first few debug messages before it hun

Re: [systemd-devel] systemd hangs after Welcome message when LogLevel=debug

2014-01-20 Thread Barry Scott
On Mon 20 Jan 2014 13:21:14 Lennart Poettering wrote: > On Mon, 20.01.14 11:22, Barry Scott ([email protected]) wrote: > > On Fri 17 Jan 2014 21:17:04 Lennart Poettering wrote: > > > On Tue, 14.01.14 13:31, Barry Scott ([email protected]) wrote: > > > > systemd-208-9.fc20.x86_64 > > >

Re: [systemd-devel] [PATCH] sd-dhcp-client: refactor state machine check

2014-01-20 Thread Tom Gundersen
On Mon, Jan 20, 2014 at 9:58 AM, Umut Tezduyar Lindskog wrote: > --- > src/libsystemd/sd-dhcp-client.c | 147 > ++- > 1 files changed, 36 insertions(+), 111 deletions(-) > > diff --git a/src/libsystemd/sd-dhcp-client.c b/src/libsystemd/sd-dhcp-client.c > inde

Re: [systemd-devel] systemctl [en|dis]able weirdness + reload (writes /run/nologin)

2014-01-20 Thread Lennart Poettering
On Mon, 13.01.14 11:16, Colin Guthrie ([email protected]) wrote: > Hi, > > I've just been debugging a weird problem in my 208 build (which is quite > similar to Fedora's - a lot of the same patches). > > So far I've noticed two problems: > > > 1. If I do "systemctl enable sysvinitscript" it

Re: [systemd-devel] daemon-reload seems racy

2014-01-20 Thread Lennart Poettering
On Thu, 16.01.14 12:28, Colin Guthrie ([email protected]) wrote: > > 'Twas brillig, and Colin Guthrie at 14/01/14 13:28 did gyre and gimble: > > 3. Some sort of kernel trigger for me today led it to run two reexecs > > quite quickly and triggered this problem randomly during runtime. This > >

Re: [systemd-devel] systemd hangs after Welcome message when LogLevel=debug

2014-01-20 Thread Lennart Poettering
On Mon, 20.01.14 11:22, Barry Scott ([email protected]) wrote: > > On Fri 17 Jan 2014 21:17:04 Lennart Poettering wrote: > > On Tue, 14.01.14 13:31, Barry Scott ([email protected]) wrote: > > > systemd-208-9.fc20.x86_64 > > > > > > We have been porting a working configuration from

Re: [systemd-devel] systemd hangs after Welcome message when LogLevel=debug

2014-01-20 Thread Lennart Poettering
On Fri, 17.01.14 16:52, David Timothy Strauss ([email protected]) wrote: > It would be nice if bootup could realize the journal queue is full and > wait for journal startup before proceeding further. It might cause > some annoying non-determinism, though. Not following here. Logging in syslo

Re: [systemd-devel] logind and sessions tracking questions - (was: Debugging acl settings)

2014-01-20 Thread Djalal Harouni
Hi Coling, Coling please I've some questions regarding what you have posted, see below. I'm trying to debug another bug in logind logic: http://lists.freedesktop.org/archives/systemd-devel/2014-January/015968.html I've located some bugs, I've a PoC version working, will post it but first need to

Re: [systemd-devel] [PATCH 1/2] build-sys: merge libsystemd-login into libsystemd

2014-01-20 Thread Lennart Poettering
On Sun, 19.01.14 14:51, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > So, I prepared a test patch. This all doesn't seem to be too ugly generally, > although the warning generation in patch 2 is a bit. > > Comments? > > A compatibility libsystemd-login library is created which uses >

Re: [systemd-devel] .socket in a network namespace

2014-01-20 Thread Lennart Poettering
On Fri, 17.01.14 17:11, Alex Polvi ([email protected]) wrote: > Hello, > > Is there a way to have a .socket bind in a particular network > namespace? The use case is to have a container with isolated > networking be able to start a service, or tunnel to a remote service, > that exists outside the co

Re: [systemd-devel] systemd hangs after Welcome message when LogLevel=debug

2014-01-20 Thread Barry Scott
On Fri 17 Jan 2014 21:17:04 Lennart Poettering wrote: > On Tue, 14.01.14 13:31, Barry Scott ([email protected]) wrote: > > systemd-208-9.fc20.x86_64 > > > > We have been porting a working configuration from fedora 19 to fedora 20. > > After systemd prints the Welcome message it then hangs.

Re: [systemd-devel] Debugging acl settings for /dev//snd/pcm* nodes

2014-01-20 Thread Kay Sievers
On Mon, Jan 20, 2014 at 9:42 AM, Hans de Goede wrote: > Hi, > > For some reason after I've built the Xorg xserver from git, and then login > through gdm (on an otherwise unmodified F-20 install), the acls on > /dev/snd/pcm* (and likely others too) no longer get setup to give the user > I've just l

Re: [systemd-devel] Debugging acl settings for /dev//snd/pcm* nodes

2014-01-20 Thread Colin Guthrie
'Twas brillig, and Hans de Goede at 20/01/14 08:42 did gyre and gimble: > Hi, > > For some reason after I've built the Xorg xserver from git, and then login > through gdm (on an otherwise unmodified F-20 install), the acls on > /dev/snd/pcm* (and likely others too) no longer get setup to give the

[systemd-devel] [PATCH] sd-dhcp-client: refactor state machine check

2014-01-20 Thread Umut Tezduyar Lindskog
--- src/libsystemd/sd-dhcp-client.c | 147 ++- 1 files changed, 36 insertions(+), 111 deletions(-) diff --git a/src/libsystemd/sd-dhcp-client.c b/src/libsystemd/sd-dhcp-client.c index a057852..3b7b9f4 100644 --- a/src/libsystemd/sd-dhcp-client.c +++ b/src/libs

[systemd-devel] Debugging acl settings for /dev//snd/pcm* nodes

2014-01-20 Thread Hans de Goede
Hi, For some reason after I've built the Xorg xserver from git, and then login through gdm (on an otherwise unmodified F-20 install), the acls on /dev/snd/pcm* (and likely others too) no longer get setup to give the user I've just logged in with access to them. Reverting to Xorg from the F-20 pa