Re: [systemd-devel] Swap gets activated twice (through fstab and gpt generators)

2015-01-28 Thread Martin Pitt
Lennart Poettering [2015-01-28 1:03 +0100]: I implemented a different logic now: http://cgit.freedesktop.org/systemd/systemd/commit/?id=37cf8fee46025d704660a9fc1d1349fe7d0b139d With this change we'll now dispatch only one mkswap per device node, regardless which symlinked alias is used to

Re: [systemd-devel] failing boot start jobs delay reboot

2015-01-28 Thread Lennart Poettering
On Tue, 27.01.15 22:00, Felix Miata (mrma...@earthlink.net) wrote: Lennart Poettering composed on 2015-01-28 02:33 (UTC+0100): Felix Miata wrote ... So, I actually implemented this now. Or actually, I only implemented the part about C-A-D triggering a reboot. I picked 7x per 2s as limit

[systemd-devel] [PATCH 10/12] Add fsckd service and socket, retarget systemd-fsck

2015-01-28 Thread Didier Roche
From 000f1b6ff4f5f80a2a13309590d255de6d6526ec Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 17:30:00 +0100 Subject: [PATCH 10/12] Add fsckd service and socket, retarget systemd-fsck systemd-fsckd can be socket-activated by systemd-fsck process. Reflect

[systemd-devel] [PATCH 12/12] Add mock fsck process

2015-01-28 Thread Didier Roche
From aefe0667ed62d5d7e17193c0f5ae302ed57e4727 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 17:46:36 +0100 Subject: [PATCH 12/12] Add mock fsck process --- test/mocks/fsck | 27 +++ 1 file changed, 27 insertions(+) create mode

Re: [systemd-devel] [PATCH] sysv-generator: Replace Provides: symlinks with real units

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 28, 2015 at 02:56:17PM +0100, Michael Biebl wrote: 2015-01-28 1:44 GMT+01:00 Lennart Poettering lenn...@poettering.net: I am not a fan of this stuff either. I really don't like the TOCTOU behaviour I must say... If this is really just about .bak, then we can add it to the list

[systemd-devel] [PATCH 06/12] Support cancellation of fsck in progress

2015-01-28 Thread Didier Roche
From 104cf82ba28941e907f277a713f834ceb3d909f0 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 16:40:52 +0100 Subject: [PATCH 06/12] Support cancellation of fsck in progress Grab in fsckd plymouth watch key for C or c, and propagate this cancel request to

[systemd-devel] [PATCH 07/12] Add gettext support

2015-01-28 Thread Didier Roche
From a56e70d026565b4da79acfdad1d83d6521ec42f5 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 16:51:05 +0100 Subject: [PATCH 07/12] Add gettext support --- configure.ac | 1 + src/shared/util.c | 8 src/shared/util.h | 2 ++ 3 files changed,

[systemd-devel] [PATCH 08/12] Translate fsckd messages for plymouth

2015-01-28 Thread Didier Roche
From cb822ca631b8cddfe03930ef68a12c97372bb8c1 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 17:12:54 +0100 Subject: [PATCH 08/12] Translate fsckd messages for plymouth For plymouth themes not supporting i18n (like .script), send translated messages to

Re: [systemd-devel] Swap gets activated twice (through fstab and gpt generators)

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 14:16, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Lennart, Lennart Poettering [2015-01-28 14:06 +0100]: Ah, thanks! That was helpful. I apparently fucked up the new linked list iteration macro I added for this. I think this should make it work:

Re: [systemd-devel] failing boot start jobs delay reboot

2015-01-28 Thread Michael Biebl
2015-01-28 2:05 GMT+01:00 Lennart Poettering lenn...@poettering.net: On Tue, 20.01.15 11:24, Andrei Borzenkov (arvidj...@gmail.com) wrote: - stop in emergency shell when mount fails - fix /etc/fstab - ^D to continue boot no more works, because /etc/fstab is not reevaluated so systemd will

Re: [systemd-devel] [PATCH] sysv-generator: Handle .sh suffixes when translating Provides:

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 14:25, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello Lennart, Lennart Poettering [2015-01-28 14:19 +0100]: I really don't follow. Why do we need the add_alias() equality check now? I mean, if sysv_translate_facility() now detects if we translate facilities listed in

Re: [systemd-devel] root= ignored

2015-01-28 Thread Felix Miata
Chris Murphy composed on 2015-01-27 23:29 (UTC-0700): Felix Miata wrote: Lennart Poettering composed on 2015-01-28 02:03 (UTC+0100): Hmm, Fedora doesn't obey root=? That sounds like a bug. I'm not sure what it means, Fedora doesn't obey root=. Since a long time it uses root=UUID= and this

[systemd-devel] full reset of reset network state with networkd

2015-01-28 Thread Igor Bukanov
If during the boot the network is configured with DHCP but later is configured with a static address with a new .network file, then systemctl restart networkd still keeps the old address obtained with DHCP. This is expected according to documentation. Is there a way to force with networkd to

Re: [systemd-devel] Swap gets activated twice (through fstab and gpt generators)

2015-01-28 Thread Martin Pitt
Hey Lennart, Lennart Poettering [2015-01-28 14:06 +0100]: Ah, thanks! That was helpful. I apparently fucked up the new linked list iteration macro I added for this. I think this should make it work:

[systemd-devel] [PATCH 03/12] systemd-fsck: always connect to systemd-fsckd

2015-01-28 Thread Didier Roche
From feb8f332313c3ac2542f618028f8a6a6a36daf50 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 16:01:11 +0100 Subject: [PATCH 03/12] systemd-fsck: always connect to systemd-fsckd Remove the plymouth running or show-status checks from systemd-fsck. Instead,

[systemd-devel] [PATCH 04/12] Add some plymouth functionality to connect and send, messages

2015-01-28 Thread Didier Roche
From 7afe9270e3210668053089caaff8a1dd790a48f5 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 17:07:32 +0100 Subject: [PATCH 04/12] Add some plymouth functionality to connect and send messages Connect to plymouth (if running). Automatic reconnect if

[systemd-devel] [PATCH 05/12] Connect and send to plymouth progress report

2015-01-28 Thread Didier Roche
From c60d4f41e279dd5ed7134d97d95549aac1f38e69 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 16:29:30 +0100 Subject: [PATCH 05/12] Connect and send to plymouth progress report Try to connect and send to plymouth (if running) some check report progress,

Re: [systemd-devel] [PATCH] sysv-generator: Handle .sh suffixes when translating Provides:

2015-01-28 Thread Martin Pitt
Hello Lennart, Lennart Poettering [2015-01-28 14:19 +0100]: I really don't follow. Why do we need the add_alias() equality check now? I mean, if sysv_translate_facility() now detects if we translate facilities listed in Provides: as pointing to the script itself, and handles .sh properly, why

[systemd-devel] [PATCH 11/12] Add man page and references to it.

2015-01-28 Thread Didier Roche
From 6b13d8fb248bf4176f1ad7e1d4736683462bf196 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 17:34:59 +0100 Subject: [PATCH 11/12] Add man page and references to it. Add man page explaining the plymouth theme protocol, usage of the daemon as well as the

Re: [systemd-devel] [PATCH] systemd-udevd.service: restore mount propagation

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 14:09, Martin Pitt (martin.p...@ubuntu.com) wrote: From 0cc891bcd8d3fa9967dd733292caf86a43dd3503 Mon Sep 17 00:00:00 2001 From: Martin Pitt martin.p...@ubuntu.com Date: Wed, 28 Jan 2015 13:57:47 +0100 Subject: [PATCH 2/2] rules: clean up stale CD drive mounts after ejection

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-28 Thread Andrei Borzenkov
On Wed, Jan 28, 2015 at 3:40 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 28.01.15 10:13, Rauta, Alin (alin.ra...@intel.com) wrote: Lennart, on a switch I should be able to configure more than one UFD group. What precisely does this mean? WOuld those groups be orthogonal?

Re: [systemd-devel] [PATCH 01/12] fsckd daemon for inter-fsckd communication

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 28, 2015 at 02:20:40PM +0100, Didier Roche wrote: From d0f49b4e0994b9a1dd2738da18c5a2a6708b444f Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 15:35:50 +0100 Subject: [PATCH 01/12] fsckd daemon for inter-fsckd communication Add

Re: [systemd-devel] [PATCH] sysv-generator: Handle .sh suffixes when translating Provides:

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 09:05, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Lennart, Lennart Poettering [2015-01-27 23:09 +0100]: Hmm, we already had code that checks this in place, didn#t we? We only previously had this .sh stripping in sysv_translate_name(), but that translates and init

[systemd-devel] [PATCH] Adding fsck integration to plymouth

2015-01-28 Thread Didier Roche
Hi, Here is a suite of patches up to review to add fsckd integration to plymouth. This work is mostly based on Lennart's suggestion on an email thread few years ago (http://lists.freedesktop.org/archives/systemd-devel/2011-April/002063.html) where the proposal was to add a systemd-fsckd

[systemd-devel] [PATCH 01/12] fsckd daemon for inter-fsckd communication

2015-01-28 Thread Didier Roche
From d0f49b4e0994b9a1dd2738da18c5a2a6708b444f Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 15:35:50 +0100 Subject: [PATCH 01/12] fsckd daemon for inter-fsckd communication Add systemd-fsckd multiplexer which accept multiple systemd-fsck instances to

Re: [systemd-devel] [systemd-commits] src/journal

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 28, 2015 at 01:11:55PM +0100, Lennart Poettering wrote: On Wed, 28.01.15 04:04, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Jan 28, 2015 at 03:50:42AM +0100, Lennart Poettering wrote: On Wed, 28.01.15 03:47, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl)

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 16:48, Andrei Borzenkov (arvidj...@gmail.com) wrote: On Wed, Jan 28, 2015 at 3:40 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 28.01.15 10:13, Rauta, Alin (alin.ra...@intel.com) wrote: Lennart, on a switch I should be able to configure more than one UFD

Re: [systemd-devel] [PATCH] sysv-generator: Replace Provides: symlinks with real units

2015-01-28 Thread Michael Biebl
2015-01-28 1:44 GMT+01:00 Lennart Poettering lenn...@poettering.net: I am not a fan of this stuff either. I really don't like the TOCTOU behaviour I must say... If this is really just about .bak, then we can add it to the list of suffixes in hidden_files()... Martin already committed an

Re: [systemd-devel] failing boot start jobs delay reboot

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 15:12, Michael Biebl (mbi...@gmail.com) wrote: 2015-01-28 2:05 GMT+01:00 Lennart Poettering lenn...@poettering.net: On Tue, 20.01.15 11:24, Andrei Borzenkov (arvidj...@gmail.com) wrote: - stop in emergency shell when mount fails - fix /etc/fstab - ^D to continue boot

Re: [systemd-devel] network-online.target is not down when a physical network is down

2015-01-28 Thread Igor Bukanov
Just for references. With the the following script placed in /etc/NetworkManager/dispatcher.d/90-online-monitor everything works. As the service is started explicitly the unit file needs no Install section. #!/bin/sh status=$(nmcli -f STATE -t g) if [ _$status = _connected -o _$status =

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-28 Thread Rauta, Alin
Hi Tom, Lennart, Thanks for the answers. The UFD is not only about configuration. It's about run-time monitoring of interfaces. The Uplink failure detection daemon listens for RTM_NEWLINK and RTM_DELLINK events from kernel the same way networkd manager listens. Then by run-time monitoring the

Re: [systemd-devel] full reset of reset network state with networkd

2015-01-28 Thread poma
On 28.01.2015 10:23, Igor Bukanov wrote: If during the boot the network is configured with DHCP but later is configured with a static address with a new .network file, then systemctl restart networkd still keeps the old address obtained with DHCP. This is expected according to documentation.

Re: [systemd-devel] [PATCH] sysv-generator: Handle .sh suffixes when translating Provides:

2015-01-28 Thread Martin Pitt
Hey Lennart, Lennart Poettering [2015-01-27 23:09 +0100]: Hmm, we already had code that checks this in place, didn#t we? We only previously had this .sh stripping in sysv_translate_name(), but that translates and init script name like foo.sh to foo.service. But that's not what we need in

Re: [systemd-devel] [systemd-commits] src/journal

2015-01-28 Thread Andrei Borzenkov
On Wed, Jan 28, 2015 at 6:04 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Jan 28, 2015 at 03:50:42AM +0100, Lennart Poettering wrote: On Wed, 28.01.15 03:47, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Jan 28, 2015 at 01:53:17AM +0100, Lennart

Re: [systemd-devel] Unwants

2015-01-28 Thread Dimitri John Ledkov
On 27 January 2015 at 21:35, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Jan 27, 2015 at 10:30:48PM +0100, Lennart Poettering wrote: On Tue, 27.01.15 15:45, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Yes, I think attempting any kind of dependency removal *from

Re: [systemd-devel] [systemd-commits] src/journal

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 04:04, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Jan 28, 2015 at 03:50:42AM +0100, Lennart Poettering wrote: On Wed, 28.01.15 03:47, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Jan 28, 2015 at 01:53:17AM +0100, Lennart

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 10:13, Rauta, Alin (alin.ra...@intel.com) wrote: Lennart, on a switch I should be able to configure more than one UFD group. What precisely does this mean? WOuld those groups be orthogonal? I really would like to avoid introdcuing the tags concept for now. Would a solution

Re: [systemd-devel] Swap gets activated twice (through fstab and gpt generators)

2015-01-28 Thread Martin Pitt
Lennart Poettering [2015-01-28 13:15 +0100]: I built a package with this for Debian and Ubuntu. The Debian reporter in https://bugs.debian.org/772182 confirmed that this is working, I think/hope the Ubuntu reporter in https://bugs.launchpad.net/bugs/1399595 is also usually very

Re: [systemd-devel] [PATCH] systemd-udevd.service: restore mount propagation

2015-01-28 Thread Martin Pitt
Lennart Poettering [2015-01-28 13:33 +0100]: Hmm, yeah, we apparently only add that for file systems listed in /etc/fstab... If you change the get_mount_parameters_fragment() invocation at the beginning of mount_add_device_links() in src/core/mount.c to get_mount_parameters(), does this

Re: [systemd-devel] [PATCH] systemd-udevd.service: restore mount propagation

2015-01-28 Thread Martin Pitt
Lennart Poettering [2015-01-27 23:33 +0100]: That sounds good indeed! I can sit down at qemu tomorrow and simulate some CD insertions/removals, and come up with an udev rule for this. That would be great. It would really just be a matter of setting SYSTEMD_READY=0 for block devices where

Re: [systemd-devel] [PATCH] systemd-udevd.service: restore mount propagation

2015-01-28 Thread Martin Pitt
Martin Pitt [2015-01-28 10:35 +0100]: Turns out that there's no proper way to simulate that under QEMU -- that has no eject button, and the eject monitor command blocks as long as the OS is still accessing it (i. e. it's mounted). Lies! In fact eject ide1-cd0 works rather well, it causes the

Re: [systemd-devel] root= ignored (was: failing boot start jobs delay reboot)

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 00:58, Felix Miata (mrma...@earthlink.net) wrote: Lennart Poettering composed on 2015-01-28 02:03 (UTC+0100): Felix Miata wrote: Both. When they occur during init they repeat during shutdown. Even when I let init complete and succeed to fix the typo or oversight, the

Re: [systemd-devel] [PATCH] systemd-udevd.service: restore mount propagation

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 12:06, Martin Pitt (martin.p...@ubuntu.com) wrote: I. e. the .mount does not seem to be bound on the .device, and isn't taken down automatically (stopping the mount manually works fine). In show I don't see a BindsTo, and the Requires also doesn't mention the /dev/sr1 device:

Re: [systemd-devel] Swap gets activated twice (through fstab and gpt generators)

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 12:37, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-01-28 1:03 +0100]: I implemented a different logic now: http://cgit.freedesktop.org/systemd/systemd/commit/?id=37cf8fee46025d704660a9fc1d1349fe7d0b139d With this change we'll now dispatch

Re: [systemd-devel] Swap gets activated twice (through fstab and gpt generators)

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 13:41, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-01-28 13:15 +0100]: I built a package with this for Debian and Ubuntu. The Debian reporter in https://bugs.debian.org/772182 confirmed that this is working, I think/hope the Ubuntu reporter in

Re: [systemd-devel] [PATCH 10/12] Add fsckd service and socket, retarget systemd-fsck

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 28, 2015 at 02:24:32PM +0100, Didier Roche wrote: From 000f1b6ff4f5f80a2a13309590d255de6d6526ec Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 17:30:00 +0100 Subject: [PATCH 10/12] Add fsckd service and socket, retarget systemd-fsck

Re: [systemd-devel] [PATCH] systemd-udevd.service: restore mount propagation

2015-01-28 Thread Martin Pitt
Zbigniew Jędrzejewski-Szmek [2015-01-28 16:29 +0100]: | Where=/media/martin/Ubuntu 15.04 amd64 | What=/dev/sr0 | [...] | Id=media-martin-Ubuntu\x5cx2015.04\x5cx20amd64.mount | Names=media-martin-Ubuntu\x5cx2015.04\x5cx20amd64.mount | Requires=-.mount | Wants=system.slice |

[systemd-devel] [PATCH] logind: handle closing sessions over daemon restarts

2015-01-28 Thread Martin Pitt
Hello, We restart logind in our systemd package on package upgrades, as that should generally be safe and our policy is to do that whenever possible to avoid reboots and apply security and other fixes immediately. We got several reports (https://launchpad.net/bugs/1415104) about users losing

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-28 Thread Rauta, Alin
Hi Lennart, Tom, We should also be able to add virtual devices to UFD groups, like Andrei mentioned in his email. In this case, do you think BindCarrier= and Tag= in .network files would still work ? If we think about LAG (link aggregation) and if I am right, it's mapped to the kernel as a

Re: [systemd-devel] initializing _cleanup_* variables [was: [PATCH 01/12] fsckd daemon for inter-fsckd communication]

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 16:47, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Zbyszek, Zbigniew Jędrzejewski-Szmek [2015-01-28 15:37 +0100]: +static int handle_requests(int socket_fd) { +Clients *first = NULL; +usec_t last_activity = 0; +int numdevices = 0, clear

Re: [systemd-devel] [PATCH 04/12] Add some plymouth functionality to connect and send, messages

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 14:22, Didier Roche (didro...@ubuntu.com) wrote: # -- +have_plymouth=no +AC_ARG_ENABLE(plymouth, AS_HELP_STRING([--disable-plymouth], [disable plymouth integration])) +if test x$enable_plymouth

Re: [systemd-devel] [PATCH 06/12] Support cancellation of fsck in progress

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 14:22, Didier Roche (didro...@ubuntu.com) wrote: src/fsck/fsck.c | 29 + src/fsckd/fsckd.c | 43 +++ src/fsckd/fsckd.h | 5 + 3 files changed, 69 insertions(+), 8 deletions(-) diff --git

Re: [systemd-devel] [PATCH 01/12] fsckd daemon for inter-fsckd communication

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 14:20, Didier Roche (didier.ro...@canonical.com) wrote: static int process_progress(int fd) { -_cleanup_fclose_ FILE *console = NULL, *f = NULL; +_cleanup_fclose_ FILE *f = NULL; usec_t last = 0; -bool locked = false; -int clear =

Re: [systemd-devel] Fwd: journald doesn't forward messages to syslog w/o CAP_SYS_ADMIN (LXC)

2015-01-28 Thread Lennart Poettering
On Tue, 13.01.15 12:05, Martin Pitt (mp...@debian.org) wrote: Hello all, I'm forwarding a bug report about journal forwarding in containers without CAP_SYS_ADMIN. I adjusted Christian's patch for current git master and to be in git am format. For completeness' sake: this apparently got

Re: [systemd-devel] [PATCH 05/12] Connect and send to plymouth progress report

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 14:22, Didier Roche (didro...@ubuntu.com) wrote: +#ifdef HAVE_PLYMOUTH +asprintf(fsck_message, fsckd:%d:%3.1f:%s, numdevices, percent, console_message); +#endif OOM check. The communcaition here with plymouth still looks simple enough to just do

[systemd-devel] [PATCH] backlight: let udev properties override clamping

2015-01-28 Thread Topi Miettinen
On my computer, the minimum brightness enforced by clamping in backlight is too bright. Let udev property ID_BACKLIGHT_CLAMP control whether the brightness is clamped or not. --- man/systemd-backli...@.service.xml | 11 ++- src/backlight/backlight.c | 5 - 2 files changed,

Re: [systemd-devel] Running system services required for certain filesystems

2015-01-28 Thread Lennart Poettering
On Mon, 12.01.15 10:37, Colin Guthrie (gm...@colin.guthr.ie) wrote: Hi, On a related note to my previous message (subject systemctl status not showing still running processes in inactive .mount unit cgroups (NFS specifically)), when mount.nfs runs to mount NFS filesystems, it shells out to

Re: [systemd-devel] systemctl status not showing still running processes in inactive .mount unit cgroups (NFS specifically)

2015-01-28 Thread Lennart Poettering
On Thu, 15.01.15 09:39, Colin Guthrie (gm...@colin.guthr.ie) wrote: Ross Lagerwall wrote on 14/01/15 22:41: On Mon, Jan 12, 2015 at 09:04:35PM +0300, Andrei Borzenkov wrote: В Mon, 12 Jan 2015 10:34:07 + Colin Guthrie co...@mageia.org пишет: Anyway, assuming the process is in the

Re: [systemd-devel] initializing _cleanup_* variables [was: [PATCH 01/12] fsckd daemon for inter-fsckd communication]

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 16:06, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: On 28 January 2015 at 15:47, Martin Pitt martin.p...@ubuntu.com wrote: Hey Zbyszek, Zbigniew Jędrzejewski-Szmek [2015-01-28 15:37 +0100]: +static int handle_requests(int socket_fd) { +Clients

Re: [systemd-devel] [PATCH] backlight: let udev properties override clamping

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 23:51, Topi Miettinen (toiwo...@gmail.com) wrote: diff --git a/src/backlight/backlight.c b/src/backlight/backlight.c index 1271a66..df53b75 100644 --- a/src/backlight/backlight.c +++ b/src/backlight/backlight.c @@ -373,6 +373,7 @@ int main(int argc, char *argv[]) {

Re: [systemd-devel] [PATCH] Break JobNew signal dbus signature by adding JobType.

2015-01-28 Thread Lennart Poettering
On Sun, 11.01.15 18:08, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: At the moment JobNew and JobRemoved signals are not useful for tracking streams of events. JobType is missing from both of them, and thus one can only track that something is happening and to which units (And

Re: [systemd-devel] [PATCH 11/12] Add man page and references to it.

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 28, 2015 at 02:24:55PM +0100, Didier Roche wrote: From 6b13d8fb248bf4176f1ad7e1d4736683462bf196 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 17:34:59 +0100 Subject: [PATCH 11/12] Add man page and references to it. Add man page

Re: [systemd-devel] [PATCH] systemd-udevd.service: restore mount propagation

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 28, 2015 at 02:09:37PM +0100, Martin Pitt wrote: Lennart Poettering [2015-01-28 13:33 +0100]: Hmm, yeah, we apparently only add that for file systems listed in /etc/fstab... If you change the get_mount_parameters_fragment() invocation at the beginning of

Re: [systemd-devel] [PATCH 06/12] Support cancellation of fsck in progress

2015-01-28 Thread Martin Pitt
Dimitri John Ledkov [2015-01-28 15:21 +]: Hm? an interactive message with key-binding is usually shown and then plymouth reacts to such a key prompt. This is how it has always worked on plymouth prompts since forever... thus this would not be a surprise to most plymouth users (~ 5+ years

Re: [systemd-devel] [PATCH 06/12] Support cancellation of fsck in progress

2015-01-28 Thread Dimitri John Ledkov
On 28 January 2015 at 15:31, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Jan 28, 2015 at 03:21:27PM +, Dimitri John Ledkov wrote: On 28 January 2015 at 14:53, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Jan 28, 2015 at 02:22:54PM +0100, Didier Roche

Re: [systemd-devel] [PATCH 06/12] Support cancellation of fsck in progress

2015-01-28 Thread Dimitri John Ledkov
On 28 January 2015 at 14:53, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Jan 28, 2015 at 02:22:54PM +0100, Didier Roche wrote: From 104cf82ba28941e907f277a713f834ceb3d909f0 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 16:40:52

Re: [systemd-devel] [PATCH 04/12] Add some plymouth functionality to connect and send, messages

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 28, 2015 at 02:22:04PM +0100, Didier Roche wrote: From 7afe9270e3210668053089caaff8a1dd790a48f5 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 17:07:32 +0100 Subject: [PATCH 04/12] Add some plymouth functionality to connect and send

Re: [systemd-devel] [PATCH 05/12] Connect and send to plymouth progress report

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 28, 2015 at 02:22:30PM +0100, Didier Roche wrote: From c60d4f41e279dd5ed7134d97d95549aac1f38e69 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 16:29:30 +0100 Subject: [PATCH 05/12] Connect and send to plymouth progress report Try to

Re: [systemd-devel] [PATCH 06/12] Support cancellation of fsck in progress

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 28, 2015 at 03:21:27PM +, Dimitri John Ledkov wrote: On 28 January 2015 at 14:53, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Jan 28, 2015 at 02:22:54PM +0100, Didier Roche wrote: From 104cf82ba28941e907f277a713f834ceb3d909f0 Mon Sep 17 00:00:00 2001

Re: [systemd-devel] initializing _cleanup_* variables [was: [PATCH 01/12] fsckd daemon for inter-fsckd communication]

2015-01-28 Thread Martin Pitt
Hey Zbyszek, Zbigniew Jędrzejewski-Szmek [2015-01-28 15:37 +0100]: +static int handle_requests(int socket_fd) { +Clients *first = NULL; +usec_t last_activity = 0; +int numdevices = 0, clear = 0; +double percent = 100; +_cleanup_fclose_ FILE

[systemd-devel] Odp: Re: BUG: several bugs in core/main.c (v218)

2015-01-28 Thread Tomasz Pawlak
On Mon, 26.01.15 00:33, Tomasz Pawlak (tomazzi at wp.pl) wrote: First of all, Iv'e disabled automatic replies from systemd-devel, because my e-mail account gets flooded with hundreds of e-mails. The side effect was, that I haven't been informed about this reply. You are right, but it's not as

[systemd-devel] BUG: several bugs in core/main.c (v218)

2015-01-28 Thread Tomasz Pawlak
On Sun, 25.01.15 03:37, Tomasz Pawlak (tomazzi at wp.pl) wrote: --- Unfortunatelly, due to my mistake this thread was splitted, The other part is here: http://lists.freedesktop.org/archives/systemd-devel/2015-January/027648.html --- core/main.c:1519 /* Make sure we leave a core dump

[systemd-devel] [PATCH] hwdb: add a touchpad hwdb

2015-01-28 Thread Peter Hutterer
Currently used to tag devices in the new Lenovo *50 series and the X1 Carbon 3rd. These laptops re-introduced the physical trackpoint buttons that were missing from the *40 series but those buttons are now wired up to the touchpad. The touchpad now sends BTN_0, BTN_1 and BTN_2 for the trackpoint.

Re: [systemd-devel] systemd networking : problems with bridges

2015-01-28 Thread Charles Devereaux
Will do! On Wed, Jan 28, 2015 at 9:41 PM, Lennart Poettering lenn...@poettering.net wrote: On Sun, 11.01.15 18:18, Charles Devereaux (syst...@guylhem.net) wrote: What about another option in networkd-wait-online-link.c to pass an ignore parameter, along with a list of interfaces names, so

Re: [systemd-devel] BUG: several bugs in core/main.c (v218)

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jan 27, 2015 at 01:57:58AM +0100, Lennart Poettering wrote: On Mon, 26.01.15 23:45, Tomasz Pawlak (toma...@wp.pl) wrote: Actually it *is* protected, see kill(2). Signals are ignored for PID 1 unless it installed handlers for them. Nevertheless, we probably want to abort on

Re: [systemd-devel] [systemd-commits] 2 commits - src/journal src/shared

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 28, 2015 at 05:48:01PM -0800, Lennart Poettering wrote: Revert journal: do not check for number of files This reverts commit b914ea8d379b446c4c9fac4ba181771676ef38cd. We really need to put a limit on all our resources, everywhere, and in particular if we

Re: [systemd-devel] [PATCH] hwdb: add a touchpad hwdb

2015-01-28 Thread Peter Hutterer
On Thu, Jan 29, 2015 at 03:04:29AM +0100, Lennart Poettering wrote: On Thu, 29.01.15 11:58, Peter Hutterer (peter.hutte...@who-t.net) wrote: Currently used to tag devices in the new Lenovo *50 series and the X1 Carbon 3rd. These laptops re-introduced the physical trackpoint buttons that

Re: [systemd-devel] systemd networking : problems with bridges

2015-01-28 Thread Lennart Poettering
On Sun, 11.01.15 18:18, Charles Devereaux (syst...@guylhem.net) wrote: What about another option in networkd-wait-online-link.c to pass an ignore parameter, along with a list of interfaces names, so that link_relevant does: something like: if (l-flags IFF_LOOPBACK)

Re: [systemd-devel] [systemd-commits] 2 commits - src/journal src/shared

2015-01-28 Thread Lennart Poettering
On Thu, 29.01.15 03:22, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Jan 28, 2015 at 05:48:01PM -0800, Lennart Poettering wrote: Revert journal: do not check for number of files This reverts commit b914ea8d379b446c4c9fac4ba181771676ef38cd. We

Re: [systemd-devel] Cannot use systemctl after heavy swapping

2015-01-28 Thread Lennart Poettering
On Wed, 07.01.15 07:59, Alan Fisher (a...@unixcube.org) wrote: Hello! I seem to have reproduced this issue. After a lot of swapping, systemd appeared to have become stuck. Trying to restart services with systemctl blocked indefinitely. Strangely, this seemed to be the case even after a

Re: [systemd-devel] logind: support of shared devices

2015-01-28 Thread Lennart Poettering
On Wed, 07.01.15 22:45, Oleg Samarin (osamari...@gmail.com) wrote: After adding the simple udev rule: -- KERNEL==seq, SUBSYSTEM==sound, TAG+=shared -- /dev/snd/seq becomes accessible from

Re: [systemd-devel] [PATCH] hwdb: add a touchpad hwdb

2015-01-28 Thread Lennart Poettering
On Thu, 29.01.15 11:58, Peter Hutterer (peter.hutte...@who-t.net) wrote: Currently used to tag devices in the new Lenovo *50 series and the X1 Carbon 3rd. These laptops re-introduced the physical trackpoint buttons that were missing from the *40 series but those buttons are now wired up to the

Re: [systemd-devel] journal verify problem

2015-01-28 Thread Lennart Poettering
On Thu, 08.01.15 14:18, Michał Zegan (webczat_...@poczta.onet.pl) wrote: Hello, I am running archlinux with systemd 218. My journal is sealed. But, when I try to verify it giving a verification key, then when user journals are verified, I always get the error bad message. This happens only

Re: [systemd-devel] Relative links in tmpfiles.d/etc.conf

2015-01-28 Thread Lennart Poettering
On Sat, 03.01.15 12:07, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, Our /etc is a sym link and due to that all the links created by tmpfiles.d/etc.conf are wrong. Is there a reason why the links are relative? I would like to send a patch to either: a) Convert the relative

Re: [systemd-devel] BUG: several bugs in core/main.c (v218)

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 29, 2015 at 12:17:08AM +0100, Tomasz Pawlak wrote: On Sun, 25.01.15 03:37, Tomasz Pawlak (tomazzi at wp.pl) wrote: --- I've replied in the 2nd part of this td - btw, can someone merge those parts? That ship has already sailed. Your client did not set In-reply-to. BTW., could you

Re: [systemd-devel] [TOOL] Check-undocumented arguments and bash autocompletions

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Jan 11, 2015 at 09:46:47PM +0100, Carlos Morata Castillo wrote: Hi, I've updated the tool today to work with verbs and some cache issues. Sorry for the delayed reply. This seems useful, to catch regressions, and to see how much stuff is still undocumented. ./check-undocumented.sh -p

[systemd-devel] [PATCH] fs: switch to d_splice_alias()

2015-01-28 Thread Bryan Hundven
During the 3.19 merge window, two commits in Linus's tree: b5ae6b15bd73e35b129408755a0804287a87e041 = merge d_materialise_unique() into d_splice_alias() = and 41d28bca2da4bd75a8915c1ccf2cacf7f4a2e531 = switch d_materialise_unique() users to d_splice_alias() = ...requires us to

Re: [systemd-devel] Autocompletion by default in containers and typo on systemctl.in

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jan 10, 2015 at 01:29:11AM +0100, Carlos Morata Castillo wrote: Hi, 1- It'll be nice if when you nspawn a container it'll have autocompletion enabled by default. Just need to execute this line: . /usr/share/bash-completion/bash_completion (This file is

Re: [systemd-devel] [PATCH 1/2] systemd-helpers

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jan 10, 2015 at 01:33:05PM +0100, Carlos Morata Castillo wrote: Hi, As stated here, we should use a library for bash autocompletions (maybe even with include guards).

Re: [systemd-devel] root= ignored

2015-01-28 Thread Chris Murphy
On Wed, Jan 28, 2015 at 1:19 AM, Felix Miata mrma...@earthlink.net wrote: Chris Murphy composed on 2015-01-27 23:29 (UTC-0700): Felix Miata wrote: Lennart Poettering composed on 2015-01-28 02:03 (UTC+0100): Hmm, Fedora doesn't obey root=? That sounds like a bug. I'm not sure what it

Re: [systemd-devel] [PATCH] Updates in bash autocompletions

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jan 10, 2015 at 02:08:21AM +0100, Carlos Morata Castillo wrote: Hi, I did ./check-undocumented.sh -b (my script just submitted) and checked the results. Cheers. --- shell-completion/bash/coredumpctl | 2 +- shell-completion/bash/hostnamectl | 2 +-

Re: [systemd-devel] [PATCH] systemd-udevd.service: restore mount propagation

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 16:29, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Jan 28, 2015 at 02:09:37PM +0100, Martin Pitt wrote: Lennart Poettering [2015-01-28 13:33 +0100]: Hmm, yeah, we apparently only add that for file systems listed in /etc/fstab... If you change

Re: [systemd-devel] Jenkins Failing and Not Updating Github Mirror

2015-01-28 Thread Chris Atkinson
On Wed, 28 Jan 2015 03:42:33 +0100 Lennart Poettering lenn...@poettering.net wrote: On Sun, 18.01.15 01:58, Simon Peeters (peeters.si...@gmail.com) wrote: 2015-01-18 1:28 GMT+01:00 Chris Atkinson c...@pipeline.com: It looks like Jenkins has been failing to build for the last three days

Re: [systemd-devel] initializing _cleanup_* variables [was: [PATCH 01/12] fsckd daemon for inter-fsckd communication]

2015-01-28 Thread Dimitri John Ledkov
On 28 January 2015 at 15:47, Martin Pitt martin.p...@ubuntu.com wrote: Hey Zbyszek, Zbigniew Jędrzejewski-Szmek [2015-01-28 15:37 +0100]: +static int handle_requests(int socket_fd) { +Clients *first = NULL; +usec_t last_activity = 0; +int numdevices = 0, clear =

Re: [systemd-devel] initializing _cleanup_* variables [was: [PATCH 01/12] fsckd daemon for inter-fsckd communication]

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 28, 2015 at 04:06:30PM +, Dimitri John Ledkov wrote: On 28 January 2015 at 15:47, Martin Pitt martin.p...@ubuntu.com wrote: Hey Zbyszek, Zbigniew Jędrzejewski-Szmek [2015-01-28 15:37 +0100]: +static int handle_requests(int socket_fd) { +Clients *first = NULL;

Re: [systemd-devel] [PATCH] systemd-udevd.service: restore mount propagation

2015-01-28 Thread Lennart Poettering
On Wed, 28.01.15 14:09, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-01-28 13:33 +0100]: Hmm, yeah, we apparently only add that for file systems listed in /etc/fstab... If you change the get_mount_parameters_fragment() invocation at the beginning of

Re: [systemd-devel] [PATCH 12/12] Add mock fsck process

2015-01-28 Thread Martin Pitt
Zbigniew Jędrzejewski-Szmek [2015-01-28 16:08 +0100]: +#!/bin/bash I think you can change this to /bin/sh, I don't see any bashisms. +declare -a maxpass=(30 5 2 30 60) I do :-) POSIX shell doesn't have arrays AFAIK, and declare -a definitively doesn't work in e. g. dash. +for pass in

Re: [systemd-devel] [PATCH 1/2] networkd: accept a trailing '.' on the end of domains

2015-01-28 Thread Lennart Poettering
On Thu, 15.01.15 13:24, Michael Marineau (michael.marin...@coreos.com) wrote: While not common outside of BIND configs the implied top level '.' in domains is commonly accepted and crops up in random places. Starting with commit 784d9b9c networkd began validating domains as hostnames which

Re: [systemd-devel] systemd-networkd quietly ignores DHCPv6 leases

2015-01-28 Thread Lennart Poettering
On Thu, 15.01.15 12:50, Barbara Lazarowicz-Steube (scriptkid...@wp.pl) wrote: On 2015-01-15 09:58, Patrik Flykt wrote: Indeed. I so thought I had a patch applied that set the DHCPv6 address for the interface. Apparently such functionality has gone into /dev/null instead, and as a result

Re: [systemd-devel] [PATCH 1/2] networkd: accept a trailing '.' on the end of domains

2015-01-28 Thread Michael Marineau
On Wed, Jan 28, 2015 at 8:49 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 15.01.15 13:24, Michael Marineau (michael.marin...@coreos.com) wrote: While not common outside of BIND configs the implied top level '.' in domains is commonly accepted and crops up in random places.

  1   2   >