Re: [systemd-devel] [PATCH] udev: Adding zram to inappropriate block device

2014-02-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 06, 2014 at 03:27:07AM +0100, Greg KH wrote: > On Thu, Feb 06, 2014 at 01:31:37AM +0100, Zbigniew Jędrzejewski-Szmek wrote: > > Patch applied. > > > > On Mon, Feb 03, 2014 at 10:33:37AM +, "Jóhann B. Guðmundsson" wrote: > > > On 02/03/2014 09:36 AM, Holger Schurig wrote: > > > >>wi

Re: [systemd-devel] [PATCH] udev: Adding zram to inappropriate block device

2014-02-05 Thread Greg KH
On Thu, Feb 06, 2014 at 01:31:37AM +0100, Zbigniew Jędrzejewski-Szmek wrote: > Patch applied. > > On Mon, Feb 03, 2014 at 10:33:37AM +, "Jóhann B. Guðmundsson" wrote: > > On 02/03/2014 09:36 AM, Holger Schurig wrote: > > >>with unit type ending in .zswap > > >No, not another unit type. Instead

Re: [systemd-devel] Howto run systemd within a linux container

2014-02-05 Thread Cristian Rodríguez
El 05/02/14 21:08, Kay Sievers escribió: Starting Create dynamic rule for /dev/root link... This is so bogus that it hurts ^^^ Seems some distros cannot let bad ideas die. :) Yeah, this is an openSUSE hack. for a long time I have suspected it does not really work. disabl

Re: [systemd-devel] Howto run systemd within a linux container

2014-02-05 Thread Richard Weinberger
On Thu, Feb 6, 2014 at 1:08 AM, Kay Sievers wrote: > On Thu, Feb 6, 2014 at 12:56 AM, Lennart Poettering > wrote: >> On Wed, 05.02.14 23:44, Richard Weinberger ([email protected]) >> wrote: > >>> We're heavily using Linux containers in our production environment. >>> As modern Linux d

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-02-05 Thread Lennart Poettering
On Thu, 06.02.14 01:35, Djalal Harouni ([email protected]) wrote: > session_start() > => session_start_scope() > => manager_start_scope() will fail > > The pam_systemd will not register the session, and logind function > results will be wrong... > > > Anyway it seems that this also got f

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-02-05 Thread Djalal Harouni
On Wed, Feb 05, 2014 at 12:10:51AM +0100, Lennart Poettering wrote: > On Wed, 29.01.14 19:29, Andrey Borzenkov ([email protected]) wrote: > > > > Thanks for tracking this done, this really sounds like you nailed the > > > problem. Now, how to fix it? > > > > > > Hmm, so, I would claim this is a

Re: [systemd-devel] [PATCH] udev: Adding zram to inappropriate block device

2014-02-05 Thread Zbigniew Jędrzejewski-Szmek
Patch applied. On Mon, Feb 03, 2014 at 10:33:37AM +, "Jóhann B. Guðmundsson" wrote: > On 02/03/2014 09:36 AM, Holger Schurig wrote: > >>with unit type ending in .zswap > >No, not another unit type. Instead better amend .swap unit types to > >also know about ZRAM. > > > >However, isn't this a b

Re: [systemd-devel] Howto run systemd within a linux container

2014-02-05 Thread Kay Sievers
On Thu, Feb 6, 2014 at 12:56 AM, Lennart Poettering wrote: > On Wed, 05.02.14 23:44, Richard Weinberger ([email protected]) > wrote: >> We're heavily using Linux containers in our production environment. >> As modern Linux distributions move forward to systemd have to make sure that >

Re: [systemd-devel] Howto run systemd within a linux container

2014-02-05 Thread Lennart Poettering
On Wed, 05.02.14 23:44, Richard Weinberger ([email protected]) wrote: > Hi! > > We're heavily using Linux containers in our production environment. > As modern Linux distributions move forward to systemd have to make sure that > systemd works within our containers. > > Sadly we're fac

[systemd-devel] Howto run systemd within a linux container

2014-02-05 Thread Richard Weinberger
Hi! We're heavily using Linux containers in our production environment. As modern Linux distributions move forward to systemd have to make sure that systemd works within our containers. Sadly we're facing issues with cgroups. Our testbed consists of openSUSE 13.1 with Linux 3.13.1 and libvirt 1.2

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-05 Thread David Timothy Strauss
"Elided" sees widespread use in the kernel and libc for locks: http://lwn.net/Articles/534758/ They're not referring to adding ellipses, though. They're talking about just removing locks. In that sense, "elide" and "ellipsize" are not synonyms. ___ syste

Re: [systemd-devel] StartTransientService problems

2014-02-05 Thread Barry Scott
On Wed 05 Feb 2014 02:07:33 Lennart Poettering wrote: > On Fri, 31.01.14 16:42, Barry Scott ([email protected]) 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 StartTransientServ

Re: [systemd-devel] Announcing Haskell bindings to libsystemd-journal

2014-02-05 Thread Lennart Poettering
On Wed, 05.02.14 17:26, Oliver Charles ([email protected]) wrote: > Hi all, > > Just a brief announcement - I've just released Haskell bindings to > libsystemd-journal, the systemd library for writing directly to the > journal. > > I've tried to be moderately type safe without giving up flex

[systemd-devel] Announcing Haskell bindings to libsystemd-journal

2014-02-05 Thread Oliver Charles
Hi all, Just a brief announcement - I've just released Haskell bindings to libsystemd-journal, the systemd library for writing directly to the journal. I've tried to be moderately type safe without giving up flexibility or ease of use. The documentation is at: http://hackage.haskell.org/packa

Re: [systemd-devel] [PATCH] tty: Set correct tty name in 'active' sysfs attribute

2014-02-05 Thread Greg KH
On Wed, Feb 05, 2014 at 11:11:46AM +0100, Hannes Reinecke wrote: > The 'active' sysfs attribute should refer to the currently > active tty devices the console is running on, not the currently > active console. > The console structure doesn't refer to any device in sysfs, > only the tty the console

Re: [systemd-devel] Service enable at runtime after union fs

2014-02-05 Thread Stefano Manni
2014-02-05 Lennart Poettering : > > There is something else between *apps-start.service* and > > *apps-started.target* and the latter has WantedBy the default target > > (multi-user.target). > > > > In this case is necessary to start the target *apps-started.target *as > you > > suggested? > > Sta

Re: [systemd-devel] [PATCH] tty: Set correct tty name in 'active' sysfs attribute

2014-02-05 Thread David Herrmann
Hi On Wed, Feb 5, 2014 at 2:53 PM, Peter Hurley wrote: > On 02/05/2014 07:53 AM, David Herrmann wrote: >> >> Hi >> >> On Wed, Feb 5, 2014 at 11:11 AM, Hannes Reinecke wrote: >>> >>> The 'active' sysfs attribute should refer to the currently >>> active tty devices the console is running on, not t

Re: [systemd-devel] Debian Bug#618862: systemd: ignores keyscript in crypttab - a possible solution

2014-02-05 Thread Tollef Fog Heen
]] Lennart Poettering > > a) the cryptsetup package > > > > b) as part of the Debian systemd package > > > > c) upstream systemd > > I'd prefer to keep this tool in a Debian-specific package. I am not > convinced that the key script thing is something we should standardize > on cross-distribut

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-02-05 Thread Lennart Poettering
On Wed, 05.02.14 06:56, Andrey Borzenkov ([email protected]) wrote: > > already problem enough that we pretend we allow ExecReload= to be > > asynchronous like that... It's a question of allowing bad code > > through... > > I do not suggest "send it a singnal and pray for it". You send a signal

Re: [systemd-devel] Service enable at runtime after union fs

2014-02-05 Thread Lennart Poettering
On Wed, 05.02.14 08:33, Stefano Manni ([email protected]) wrote: > 2014-02-05 Lennart Poettering : > > > > > > > What do you mean with 'requeue the target which should pull in the > > > additional new deps'? > > > > just do a second time "systemctl start" on your target > > > > > There is so

Re: [systemd-devel] [PATCH] tty: Set correct tty name in 'active' sysfs attribute

2014-02-05 Thread David Herrmann
Hi On Wed, Feb 5, 2014 at 11:11 AM, Hannes Reinecke wrote: > The 'active' sysfs attribute should refer to the currently > active tty devices the console is running on, not the currently > active console. > The console structure doesn't refer to any device in sysfs, > only the tty the console is r

Re: [systemd-devel] [PATCH] s390/getty-generator: initialize essential system terminals/consoles

2014-02-05 Thread Dr. Werner Fink
On Wed, Feb 05, 2014 at 12:19:21PM +0100, Hendrik Brueckner wrote: > > > > is not listed at least with 208. Nevertheless the nodes are there > > The 3270 devices should be tagged for systemd in the 99-systemd.rules file. Thanks, just done a few minutes before and it works if I do a symlink seri

Re: [systemd-devel] [PATCH] s390/getty-generator: initialize essential system terminals/consoles

2014-02-05 Thread Hendrik Brueckner
On Tue, Feb 04, 2014 at 05:06:57PM +0100, Dr. Werner Fink wrote: > On Tue, Feb 04, 2014 at 02:25:06PM +0100, Lennart Poettering wrote: > > On Mon, 03.02.14 14:44, Hannes Reinecke ([email protected]) wrote: > > > > > > > > Which raises the question: what exactly should be 'active' contain? > > > The co

[systemd-devel] [PATCH] tty: Set correct tty name in 'active' sysfs attribute

2014-02-05 Thread Hannes Reinecke
The 'active' sysfs attribute should refer to the currently active tty devices the console is running on, not the currently active console. The console structure doesn't refer to any device in sysfs, only the tty the console is running on has. So we need to print out the tty names in 'active', not t

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-05 Thread Václav Pavlín
On 4.2.2014 20:43, Lennart Poettering wrote: On Tue, 04.02.14 15:45, Barry Scott ([email protected]) wrote: On Tue 04 Feb 2014 19:36:34 Andrey Borzenkov wrote: В Tue, 4 Feb 2014 15:31:58 + Barry Scott пишет: Change the messages output and also all internal function names and va