Re: [systemd-devel] [PATCH] man: improve wording of systemctl's --after/--before

2014-03-12 Thread Andrey Borzenkov
В Wed, 12 Mar 2014 23:07:32 -0400 "Jason St. John" пишет: > Commit 4a77ca7 was an attempt at fixing the wording of --after and --before, > but the new wording was unclear. > > Split the combined --after/--before section into a separate section for > each, explicitly state what each option does,

[systemd-devel] [PATCH] man: improve wording of systemctl's --after/--before

2014-03-12 Thread Jason St. John
Commit 4a77ca7 was an attempt at fixing the wording of --after and --before, but the new wording was unclear. Split the combined --after/--before section into a separate section for each, explicitly state what each option does, and add information about how these lists are generated. Reported-by:

Re: [systemd-devel] [PATCH 2/2] core: add startup resource control option

2014-03-12 Thread Lennart Poettering
On Wed, 12.03.14 19:13, WaLyong Cho ([email protected]) wrote: > Similar to CPUShares= and BlockIOWeight= respectively. However only > assign the specified weight during startup. Each control group > attribute is re-assigned as weight by CPUShares=weight and > BlockIOWeight=weight after star

Re: [systemd-devel] [PATCH 1/2] manager: add system-wide enumerate state

2014-03-12 Thread Lennart Poettering
On Wed, 12.03.14 19:13, WaLyong Cho ([email protected]) wrote: > Enumerated states are added. That can have three state. startup, running > and shutdown. manager is starting up with startup state and change to > running if default job finish. And shutdown target is loaded then the > state wi

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

2014-03-12 Thread Lennart Poettering
On Wed, 12.03.14 19:31, Tomasz Torcz ([email protected]) wrote: > Can you try with attached patch? Patch looks right! Applied! > > >From ea868942119b7afbfb709253ae6f02d18e67323d Mon Sep 17 00:00:00 2001 > From: Tomasz Torcz > Date: Wed, 12 Mar 2014 19:25:11 +0100 > Subject: [PATCH] gpt-a

Re: [systemd-devel] [PATCH] socket.c: make use of union sockaddr_union

2014-03-12 Thread Lennart Poettering
On Wed, 12.03.14 20:09, Daniel Buch ([email protected]) wrote: Looks good! Applied! > --- > src/core/socket.c | 8 +--- > 1 file changed, 1 insertion(+), 7 deletions(-) > > diff --git a/src/core/socket.c b/src/core/socket.c > index 35531ed..8ecc9f9 100644 > --- a/src/core/socket.c >

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-12 Thread Goffredo Baroncelli
On 03/12/2014 08:12 PM, Goffredo Baroncelli wrote: [...] > I am working to prototype something like that. A "mount.btrfs" command which > 1) handles the rollback (i.e. the user make a snapshot which is a rollback; > if something goes wrong and the machine reboot before ending the process, > durin

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-12 Thread Goffredo Baroncelli
On 03/12/2014 08:31 PM, Chris Murphy wrote: > > On Mar 12, 2014, at 1:12 PM, Goffredo Baroncelli wrote: > [...] >> >> I am working to prototype something like that. A "mount.btrfs" command which >> 1) handles the rollback (i.e. the user make a snapshot which is a rollback; >> if something goes

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-12 Thread Goffredo Baroncelli
On 03/12/2014 06:24 PM, Chris Mason wrote: > > > On 03/10/2014 07:45 PM, Lennart Poettering wrote: >> On Mon, 10.03.14 23:39, Goffredo Baroncelli ([email protected]) wrote: >> Well, the name is property of the admin really. There needs to be a way how the admin can label his subvolumes

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-12 Thread Chris Murphy
On Mar 12, 2014, at 1:12 PM, Goffredo Baroncelli wrote: > On 03/12/2014 06:24 PM, Chris Mason wrote: >> >> >> On 03/10/2014 07:45 PM, Lennart Poettering wrote: >>> On Mon, 10.03.14 23:39, Goffredo Baroncelli ([email protected]) wrote: >>> > Well, the name is property of the admin really.

[systemd-devel] [PATCH] socket.c: make use of union sockaddr_union

2014-03-12 Thread Daniel Buch
--- src/core/socket.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/core/socket.c b/src/core/socket.c index 35531ed..8ecc9f9 100644 --- a/src/core/socket.c +++ b/src/core/socket.c @@ -597,13 +597,7 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) {

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

2014-03-12 Thread Tomasz Torcz
On Wed, Mar 12, 2014 at 10:23:26AM +0100, Thomas Bächler wrote: > > I had no time to look into this yet, but there's something wrong. I > don't have GPT partitions on this machine (so the generator shouldn't do > anyting), but I get an error during boot: > > [4.634733] evey systemd-gpt-auto-g

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

2014-03-12 Thread Thomas Bächler
Am 12.03.2014 16:34, schrieb Lennart Poettering: > This should then run an break where the incorrect OOM happens. Then, get > me a backtracke please: > > bt full Sending it inline, should be readable enough. It seems like udev_device_get_parent() fails in enumerate_partitions(). The device it

Re: [systemd-devel] [PATCH] service: don't create extra cgroup for control process when reloading SysV service

2014-03-12 Thread Uoti Urpala
On Wed, 2014-03-12 at 16:51 +0100, Lennart Poettering wrote: > On Mon, 10.03.14 15:25, Lukas Nykryn ([email protected]) wrote: > > > Unfortunately common practice in initscripts is to have reload as an > > alias for restart (https://fedoraproject.org/wiki/Packaging:SysVInitScript). > > In that ca

Re: [systemd-devel] [PATCH] util: Make in_charset a static inline in util.h

2014-03-12 Thread Lennart Poettering
On Tue, 11.03.14 18:51, Josh Triplett ([email protected]) wrote: Applied both. THanks! > With in_charset now reduced to a one-liner (plus asserts), make it a > static inline. > --- > > This applies on top of the previous patch simplifying in_charset. > > src/shared/util.c | 6 -- > sr

Re: [systemd-devel] [PATCH 2/2] backlight: Avoid restoring brightness to an unreadably dim level

2014-03-12 Thread Lennart Poettering
On Wed, 12.03.14 08:47, [email protected] ([email protected]) wrote: > > On Wed, Mar 12, 2014 at 04:44:55PM +0100, Lennart Poettering wrote: > > On Tue, 11.03.14 21:16, Josh Triplett ([email protected]) wrote: > > > > > Some systems turn the backlight all the way off at the lowest le

Re: [systemd-devel] [PATCH] service: don't create extra cgroup for control process when reloading SysV service

2014-03-12 Thread Lennart Poettering
On Mon, 10.03.14 15:25, Lukas Nykryn ([email protected]) wrote: > Unfortunately common practice in initscripts is to have reload as an > alias for restart (https://fedoraproject.org/wiki/Packaging:SysVInitScript). > In that case the newly started process will be killed immediately after > the rel

Re: [systemd-devel] [PATCH 2/2] backlight: Avoid restoring brightness to an unreadably dim level

2014-03-12 Thread josh
On Wed, Mar 12, 2014 at 04:44:55PM +0100, Lennart Poettering wrote: > On Tue, 11.03.14 21:16, Josh Triplett ([email protected]) wrote: > > > Some systems turn the backlight all the way off at the lowest levels. > > Clamp saved brightness to at least 1 or 5% of max_brightness. This > > avoids

Re: [systemd-devel] [PATCH 2/2] backlight: Avoid restoring brightness to an unreadably dim level

2014-03-12 Thread Lennart Poettering
On Tue, 11.03.14 21:16, Josh Triplett ([email protected]) wrote: > Some systems turn the backlight all the way off at the lowest levels. > Clamp saved brightness to at least 1 or 5% of max_brightness. This > avoids preserving an unreadably dim screen, which would otherwise force > the user to

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

2014-03-12 Thread Lennart Poettering
On Wed, 12.03.14 10:23, Thomas Bächler ([email protected]) wrote: > > CHANGES WITH 211: > > > > [...] > > > > * systemd-gpt-auto-generator is now able to discover /srv and > > root partitions in addition to /home and swap partitions. It > > also supports LUKS-encry

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

2014-03-12 Thread Lennart Poettering
On Wed, 12.03.14 15:12, Colin Guthrie ([email protected]) wrote: > > 'Twas brillig, and Lennart Poettering at 12/03/14 00:30 did gyre and gimble: > > * Two new unit file settings RuntimeDirectory= and > > RuntimeDirectoryMode= have been added that may be used to > >

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

2014-03-12 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 12/03/14 00:30 did gyre and gimble: > * Two new unit file settings RuntimeDirectory= and > RuntimeDirectoryMode= have been added that may be used to > manage a per-daemon runtime directories below /run. This is > an alte

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

2014-03-12 Thread Gerardo Exequiel Pozzi
On 03/12/2014 06:23 AM, Thomas Bächler wrote: > Am 12.03.2014 01:30, schrieb Lennart Poettering: >> Heya! >> >> Many bugfixes, and a number of new features: >> >> http://www.freedesktop.org/software/systemd/systemd-211.tar.xz >>

Re: [systemd-devel] unable to bring an interface UP with systemd-networkd

2014-03-12 Thread arnaud gaboury
> > I have tried many various configurations, but the vb-dahlia interface > is always DOWN . > > What am I missing or misconfiguring ? > > Thank you for help /etc/systemd/network/80-container-host0.network [Match] Name=vb-dahlia [Network] DHCP=no DNS=192.168.1.254 [Address] Address=192.168.1.94

[systemd-devel] [ANNOUNCE] systemd Hackfest April 2014, San Francisco

2014-03-12 Thread Lennart Poettering
Heya! Just wanted to let everybody know that the next systemd hackfest will take place in San Francisco, April 15th, at the Pantheon offices. https://plus.google.com/events/cj4cct5e4i28d34svq11h7ad394 If you plan to join us at the hackfest, please indicate so on the Google+ event, so that we can

[systemd-devel] [PATCH 2/2] core: add startup resource control option

2014-03-12 Thread WaLyong Cho
Similar to CPUShares= and BlockIOWeight= respectively. However only assign the specified weight during startup. Each control group attribute is re-assigned as weight by CPUShares=weight and BlockIOWeight=weight after startup. If not CPUShares= or BlockIOWeight= be specified, then the attribute is

[systemd-devel] [PATCH 1/2] manager: add system-wide enumerate state

2014-03-12 Thread WaLyong Cho
Enumerated states are added. That can have three state. startup, running and shutdown. manager is starting up with startup state and change to running if default job finish. And shutdown target is loaded then the state will be changed to shutdown. This state can also be red "GetSystemState" method

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

2014-03-12 Thread Thomas Bächler
Am 12.03.2014 01:30, schrieb Lennart Poettering: > Heya! > > Many bugfixes, and a number of new features: > > http://www.freedesktop.org/software/systemd/systemd-211.tar.xz > >