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

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 18:41, Didier Roche (didro...@ubuntu.com) wrote: Le 28/01/2015 21:16, Lennart Poettering a écrit : Thanks for your feedbacks! Changes integrated, some remaining questions though: On Wed, 28.01.15 14:20, Didier Roche (didier.ro...@canonical.com) wrote: +

Re: [systemd-devel] Support for staged startup

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 17:20, Hoyer, Marko (ADITG/SW2) (mho...@de.adit-jv.com) wrote: Hi all, I'd like to realize a staged startup with systemd which is mainly about: - starting up a static tree up to a final service - the only job of the final service is to kick off the start of an additional

Re: [systemd-devel] User sessions, session buses, user buses

2015-02-02 Thread Lennart Poettering
On Fri, 30.01.15 09:30, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: user-session I don't think there is a standard term for this so I'm making one up. The XDG_RUNTIME_DIR specification says that there is at most one XDG_RUNTIME_DIR per uid per machine, that it is

Re: [systemd-devel] User sessions, session buses, user buses

2015-02-02 Thread Lennart Poettering
On Sat, 31.01.15 09:43, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: Losing DBUS_SESSION_BUS_ADDRESS was part of the point of this thread. BTW: DBUS_SESSION_BUS_ADDRESS we currently set on kdbus systems from pam_systemd. That way we can be sure it is set for all the user's sessions.

Re: [systemd-devel] [systemd-commits] 8 commits - man/custom-html.xsl man/systemd-nspawn.xml src/core src/fsck src/journal src/journal-remote src/libsystemd src/libsystemd-terminal src/shared src/time

2015-02-02 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Feb 02, 2015 at 09:36:15PM +0100, Lennart Poettering wrote: On Mon, 02.02.15 21:21, Lennart Poettering (lenn...@poettering.net) wrote: I now fixed all but the DECIMAL_STR_MAX() + 1 issue now... Was too lazy for DECIMAL_STR_MAX() thing... Hm, I'm not sure if we want DECIMAL_STR_MAX

Re: [systemd-devel] [systemd-commits] 8 commits - man/custom-html.xsl man/systemd-nspawn.xml src/core src/fsck src/journal src/journal-remote src/libsystemd src/libsystemd-terminal src/shared src/time

2015-02-02 Thread Lennart Poettering
On Sun, 01.02.15 14:28, Zbigniew Jędrzejewski-Szmek (zbys...@kemper.freedesktop.org) wrote: if (!switch_root_init) { -char sfd[16]; +char sfd[DECIMAL_STR_MAX(int) + 1]; /* First try to spawn

Re: [systemd-devel] What's the correct way to configure encrypted volume and mount point?

2015-02-02 Thread Lennart Poettering
On Sat, 31.01.15 11:21, John Lane (syst...@jelmail.com) wrote: Further to this, I tried manually creating a systemd-cryptsetup unit instead of putting an entry in /etc/crypttab. This allowed me to remove the RequiresMountsFor entry. Yeah, I figure for your usecase a WantsMountsFor= setting

Re: [systemd-devel] User sessions, session buses, user buses

2015-02-02 Thread Lennart Poettering
On Fri, 30.01.15 22:53, Elias Probst (m...@eliasprobst.eu) wrote: On 01/30/2015 09:30 AM, Simon McVittie wrote: Remaining issue: environment variables == […] As a short-term solution, I'm tempted to write that tool, but make it only upload a

Re: [systemd-devel] User sessions, session buses, user buses

2015-02-02 Thread Lennart Poettering
On Mon, 02.02.15 10:22, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: plus the obvious ones set by *dm, such as DISPLAY, or by PAM. Similarly, a user's ~/.xsession can set arbitrary variables - mine sets CCACHE_DIR, EDITOR, MPD_HOST and XDG_CONFIG_DIRS, among others. The naive

Re: [systemd-devel] [systemd-commits] 5 commits - Makefile.am man/systemd-networkd-wait-online.service.xml src/libsystemd src/network src/systemd TODO units/systemd-networkd.service.in units/systemd-n

2015-02-02 Thread Lennart Poettering
On Mon, 02.02.15 03:00, Tom Gundersen (tome...@kemper.freedesktop.org) wrote: +static int systemd_netlink_fd(int *ret) { +int n, fd, rtnl_fd = -1; + +n = sd_listen_fds(true); +if (n = 0) +return -EINVAL; + +for (fd = SD_LISTEN_FDS_START;

Re: [systemd-devel] [systemd-commits] 8 commits - man/custom-html.xsl man/systemd-nspawn.xml src/core src/fsck src/journal src/journal-remote src/libsystemd src/libsystemd-terminal src/shared src/time

2015-02-02 Thread Lennart Poettering
On Mon, 02.02.15 21:21, Lennart Poettering (lenn...@poettering.net) wrote: I now fixed all but the DECIMAL_STR_MAX() + 1 issue now... Was too lazy for DECIMAL_STR_MAX() thing... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] timesyncd: tighten unit file

2015-02-02 Thread Lennart Poettering
On Sun, 01.02.15 09:28, Topi Miettinen (toiwo...@gmail.com) wrote: On 01/27/15 22:19, Lennart Poettering wrote: On Tue, 27.01.15 21:58, Topi Miettinen (toiwo...@gmail.com) wrote: Well, the way I read the paragraph above if we set PR_SET_NO_NEW_PRIVS after forking, but before execing

Re: [systemd-devel] [PATCH] timesyncd: tighten unit file

2015-02-02 Thread Lennart Poettering
On Sun, 01.02.15 11:21, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: El 27/01/15 a las 21:18, Lennart Poettering escribió: On Tue, 27.01.15 15:12, Cameron Norman (camerontnor...@gmail.com) wrote: Lennart: if you really want to test the profile, you just need to spin up an OpenSuSE,

Re: [systemd-devel] systemd-nspawn support for loading kernel modules / custom seccomp rules

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 22:47, Jay Faulkner (j...@jvf.cc) wrote: Hi all, I’m a big fan of systemd, and currently use IPA[1] running inside systemd-nspawn containers to provision and maintain systems as part of OpenStack Ironic. This includes, at times, doing things like flashing firmwares which

Re: [systemd-devel] Questions regarding dbus started via systemd --user

2015-02-02 Thread Lennart Poettering
On Thu, 08.01.15 17:48, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: On 8 January 2015 at 17:15, Andrei Borzenkov arvidj...@gmail.com wrote: В Thu, 8 Jan 2015 16:03:43 + Dimitri John Ledkov dimitri.j.led...@intel.com пишет: On 8 January 2015 at 15:37, Simon McVittie

Re: [systemd-devel] Questions regarding dbus started via systemd --user

2015-02-02 Thread Lennart Poettering
On Fri, 09.01.15 12:18, Colin Guthrie (gm...@colin.guthr.ie) wrote: Mantas Mikulėnas wrote on 09/01/15 10:31: I guess you could use KillMode= for this? I don't think so. This would mean the unit would still be alive even although the main process died and when I next tried to open a

Re: [systemd-devel] [PATCH] Propagate reload from RELOADING=1 notifications

2015-02-02 Thread Lennart Poettering
On Tue, 30.12.14 20:22, Jouke Witteveen (j.wittev...@gmail.com) wrote: Hmm, what happened to this patch? Did you ever resend it with the commit msg fix Zbigniew suggested? I don't see it in the mail archives? --- This fixes #87251 src/core/manager.c | 42

Re: [systemd-devel] [PATCH] Propagate reload from RELOADING=1 notifications

2015-02-02 Thread Lennart Poettering
On Thu, 01.01.15 19:15, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Tue, Dec 30, 2014 at 08:22:27PM +0100, Jouke Witteveen wrote: --- This fixes #87251 This is actually important information that should be included in the commit message (i.e. above not below ---). We

Re: [systemd-devel] [systemd-commits] 8 commits - man/custom-html.xsl man/systemd-nspawn.xml src/core src/fsck src/journal src/journal-remote src/libsystemd src/libsystemd-terminal src/shared src/time

2015-02-02 Thread Lennart Poettering
On Mon, 02.02.15 23:25, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Mon, Feb 02, 2015 at 09:36:15PM +0100, Lennart Poettering wrote: On Mon, 02.02.15 21:21, Lennart Poettering (lenn...@poettering.net) wrote: I now fixed all but the DECIMAL_STR_MAX() + 1 issue now... Was

Re: [systemd-devel] Questions regarding dbus started via systemd --user

2015-02-02 Thread Lennart Poettering
On Thu, 08.01.15 19:01, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: On 08/01/15 17:04, Colin Guthrie wrote: Although when I discussed this on the ML before, one case which a PAM solution wouldn't address is people running startx after logging into a tty session I personally

Re: [systemd-devel] Questions regarding dbus started via systemd --user

2015-02-02 Thread Lennart Poettering
On Thu, 08.01.15 18:24, Cameron Norman (camerontnor...@gmail.com) wrote: On Thu, Jan 8, 2015 at 9:42 AM, Dimitri John Ledkov dimitri.j.led...@intel.com wrote: On 8 January 2015 at 17:24, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 08/01/15 16:03, Dimitri John Ledkov wrote: *

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-02-02 Thread Lennart Poettering
On Tue, 03.02.15 00:27, Lennart Poettering (lenn...@poettering.net) wrote: On Thu, 08.01.15 16:34, Harald Hoyer (harald.ho...@gmail.com) wrote: IMHO systemd-fsck-root.service should be removed entirely and generated by the fstab-generator in the real root like all the other mount

Re: [systemd-devel] [systemd-commits] src/bus-proxyd src/login src/machine src/nspawn src/tmpfiles

2015-02-02 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Feb 02, 2015 at 02:07:37PM -0800, Thomas H.P. Andersen wrote: --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -3610,7 +3610,6 @@ int main(int argc, char *argv[]) { } if (arg_ephemeral) { -_cleanup_release_lock_file_

[systemd-devel] Container, private network and socket activation

2015-02-02 Thread Mikhail Morfikov
I've set up a container via systemd-nspawn tool, and I wanted to use the private network feature. The line that launches the container includes --network-bridge= and --network-veth options. The whole systemd .service file looks like this: [Unit] Description=My little container [Service]

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-02-02 Thread Lennart Poettering
On Thu, 08.01.15 16:34, Harald Hoyer (harald.ho...@gmail.com) wrote: IMHO systemd-fsck-root.service should be removed entirely and generated by the fstab-generator in the real root like all the other mount points. Well, we also need it if there's no /etc/fstab... OR fstab-generator

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

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 05:44, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: 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:

Re: [systemd-devel] Questions regarding dbus started via systemd --user

2015-02-02 Thread Lennart Poettering
On Thu, 08.01.15 14:36, Colin Guthrie (gm...@colin.guthr.ie) wrote: (Sorry for the late reply. Still busy processing all the queued mails. I figure half of what this mail was about was already discussed on the hackfest last friday, but in case something was missing, here we go) Lennart

Re: [systemd-devel] slow systemd-networkd DHCP client on wlan0 with systemd v217

2015-02-02 Thread Lennart Poettering
On Sun, 11.01.15 18:45, Charles Devereaux (syst...@guylhem.net) wrote: What's not is the time it takes to systemd-networkd : 1 second for IPv6 is acceptable (I'm using SLAAC with radvd on the other end), but for ipv4 it's more like 3 seconds, plus another 3 to use the proper DNS server (!!)

Re: [systemd-devel] Programmatically setting udev properties

2015-02-02 Thread Peter Hutterer
On Mon, Feb 02, 2015 at 12:57:24PM +0100, Lennart Poettering wrote: On Fri, 30.01.15 08:12, Peter Hutterer (peter.hutte...@who-t.net) wrote: Hi, I need some sort of way of assigning udev properties on the fly to a device, but I'm short of ideas how to do this sensibly. THis is

Re: [systemd-devel] Questions regarding dbus started via systemd --user

2015-02-02 Thread Lennart Poettering
On Thu, 08.01.15 17:42, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: It also means you can't use D-Bus names as single-instance mutexes to avoid last write wins, earlier writes are lost (or worse!) data corruption in the home directory, because it allows more than one D-Bus

Re: [systemd-devel] [PATCH] Propagate reload from RELOADING=1 notifications

2015-02-02 Thread Lennart Poettering
On Tue, 06.01.15 16:33, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Isn't that just bad behavior? Sending a RELOADING=1 notification after a reload is initiated? I guess if both service_enter_reload() and service_enter_reload_by_notify() are called it is justified to propagate

Re: [systemd-devel] test-dhcp-client failing in mock builds

2015-02-02 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Feb 02, 2015 at 08:30:43AM +0100, Jan Synacek wrote: http://lists.freedesktop.org/archives/systemd-devel/2014-December/026190.html I haven't got time to properly analyze the problem since then... It sounded familiar ;) On Mon, Feb 02, 2015 at 01:36:29PM +0200, Patrik Flykt wrote:

Re: [systemd-devel] Questions regarding dbus started via systemd --user

2015-02-02 Thread Lennart Poettering
On Fri, 09.01.15 10:26, Colin Guthrie (gm...@colin.guthr.ie) wrote: Colin Guthrie wrote on 08/01/15 11:55: I solved this by adding a user unit for gnome-termnial-server and making dbus use systemd activation for it, but that just moves it to a different cgroup. I guess it's OK like this.

Re: [systemd-devel] Callback of sd_bus_track: when it will be invoked

2015-02-02 Thread Lennart Poettering
On Fri, 30.01.15 15:18, cee1 (fykc...@gmail.com) wrote: Hi all, I notice in sd_bus_track_new, a callback can be specified, but when it will be invoked? It seems it will not be triggered when a name in track is removed. But that's what it is supposed to be used for. You need to run an

Re: [systemd-devel] [RFC PATCH 2/2] localed: add LANGUAGE= fallback?when LANG= is specified

2015-02-02 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Feb 02, 2015 at 07:11:04AM +, Jan Janssen wrote: Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl writes: I think the implementation is fine, since it is rather trivial, but I'm less certain about the implications of setting LANGUAGE in addtion to LANG. Zbyszek Isn't

Re: [systemd-devel] [RFC PATCH 2/2] localed: add LANGUAGE= fallback when LANG= is specified

2015-02-02 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Feb 02, 2015 at 11:56:39AM +0100, Martin Pitt wrote: Zbigniew Jędrzejewski-Szmek [2015-01-31 20:20 +0100]: I think the implementation is fine, since it is rather trivial, but I'm less certain about the implications of setting LANGUAGE in addtion to LANG. That's totally fine --

Re: [systemd-devel] [PATCH] man: typos in systemd-network.xml regarding DHCP

2015-02-02 Thread Brian Redbeard
Hmm. Interesting. Something went sideways with the compatibility. The lineage of this patch is due to the following errors: Jan 31 14:43:30 localhost systemd[1]: Starting Network Service... -- Subject: Unit systemd-networkd.service has begun with start-up -- Defined-By: systemd -- Support:

Re: [systemd-devel] test-dhcp-client failing in mock builds

2015-02-02 Thread Patrik Flykt
Hi, On Sat, 2015-01-31 at 15:48 +0100, Zbigniew Jędrzejewski-Szmek wrote: DHCP CLIENT (0xa71f5099): STARTED on ifindex 42 DHCP CLIENT (0xa71f5099): DISCOVER DHCP CLIENT (0xa71f5099): OFFER DHCP CLIENT (0xa71f5099): REQUEST (requesting) DHCP CLIENT (0xa71f5099): ACK DHCP CLIENT

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

2015-02-02 Thread Didier Roche
Le 31/01/2015 01:34, Zbigniew Jędrzejewski-Szmek a écrit : On Thu, Jan 29, 2015 at 06:37:53PM +0100, Didier Roche wrote: Le 28/01/2015 15:37, Zbigniew Jędrzejewski-Szmek a écrit : On Wed, Jan 28, 2015 at 02:20:40PM +0100, Didier Roche wrote: \ No newline at end of file diff --git

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

2015-02-02 Thread Didier Roche
Le 31/01/2015 01:39, Zbigniew Jędrzejewski-Szmek a écrit : On Thu, Jan 29, 2015 at 06:43:22PM +0100, Didier Roche wrote: Le 28/01/2015 21:22, Lennart Poettering a écrit : On Wed, 28.01.15 14:22, Didier Roche (didro...@ubuntu.com) wrote: #

Re: [systemd-devel] User sessions, session buses, user buses

2015-02-02 Thread Dimitri John Ledkov
On 30 January 2015 at 08:30, Simon McVittie simon.mcvit...@collabora.co.uk wrote: Remaining issue: environment variables == Sadly, not all the issues have been resolved yet. The biggest is environment variables: on existing systems there is an expectation

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

2015-02-02 Thread Didier Roche
Le 31/01/2015 01:44, Zbigniew Jędrzejewski-Szmek a écrit : On Thu, Jan 29, 2015 at 06:42:42PM +0100, Didier Roche wrote: Le 28/01/2015 15:44, Zbigniew Jędrzejewski-Szmek a écrit : On Wed, Jan 28, 2015 at 02:22:04PM +0100, Didier Roche wrote: bool plymouth_running(void) { return

[systemd-devel] [PATCH] tmpfiles: Remove unnecessary blank line when configured with --disable-resolved

2015-02-02 Thread Sangjung Woo
This patch removes unnecessary blank line in /usr/lib/tmpfiles.d/etc.conf when configured with --disable-resolved. (i.e. ENABLE_RESOLVED is not defined) Signed-off-by: Sangjung Woo sangjung@samsung.com --- tmpfiles.d/etc.conf.m4 |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [systemd-devel] [PATCH] man: typos in systemd-network.xml regarding DHCP

2015-02-02 Thread Lennart Poettering
On Sat, 31.01.15 16:16, Brian Redbeard (redbe...@dead-city.org) wrote: In the systemd documentation for systemd.network units the [Network] section notes that for the option DHCP=: DHCP= Enables DHCPv4 and/or DHCPv6 support. Accepts yes, no, ipv4 or ipv6. In testing the options ipv4 and

Re: [systemd-devel] Support for staged startup

2015-02-02 Thread Hoyer, Marko (ADITG/SW2)
Hello, thx for the answer. If you do not use --no-block to start your second target, first target will never finish. That's something I cannot confirm. If you define the service, which is calling systemctl start xxx, as oneshot the service will be in state activating for exactly the time

Re: [systemd-devel] Docker vs PrivateTmp

2015-02-02 Thread Lennart Poettering
On Fri, 30.01.15 11:02, Alexander Larsson (al...@redhat.com) wrote: I think the problem is that docker daemon makes /var/lib/docker/devicemapper private in the host namespace to handle some scalability issues we found in the kernel. This causes problem not with docker containers (because

Re: [systemd-devel] User sessions, session buses, user buses

2015-02-02 Thread Simon McVittie
On 02/02/15 10:22, Dimitri John Ledkov wrote: I would like to experiment with a user-bus, potentially in a transient manner to have 3 buses: system, user, session busses. I still think it's a bad idea to have both a user bus and a session bus. Having things on the wrong bus is definitely an API

Re: [systemd-devel] [PATCH] man: typos in systemd-network.xml regarding DHCP

2015-02-02 Thread Brian Redbeard
NM. I wasn't quite following. I just re-parsed the statement: The old names for the options are still accepted for compat, but we only document the new names, to make people use only the new names. While this was on systemd218 I just realized the commit is only as of a few weeks ago. Comes

Re: [systemd-devel] Docker vs PrivateTmp

2015-02-02 Thread Alexander Larsson
On mån, 2015-02-02 at 12:12 +0100, Lennart Poettering wrote: On Fri, 30.01.15 11:02, Alexander Larsson (al...@redhat.com) wrote: I think the problem is that docker daemon makes /var/lib/docker/devicemapper private in the host namespace to handle some scalability issues we found in the

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

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 21:54, tomazzi (toma...@wp.pl) wrote: But that's not really a problem, since the handler is not even re-entrant (f.e. due to dynamic memory allocation performed trough log_ macros - log_full_errno - log_internal - journal-send.c::_printf_() - vasprintf() ) There is no

Re: [systemd-devel] Programmatically setting udev properties

2015-02-02 Thread Lennart Poettering
On Fri, 30.01.15 08:12, Peter Hutterer (peter.hutte...@who-t.net) wrote: Hi, I need some sort of way of assigning udev properties on the fly to a device, but I'm short of ideas how to do this sensibly. THis is explicitly not supported. Conceptually udev only supports new, change and removed

Re: [systemd-devel] [RFC PATCH 2/2] localed: add LANGUAGE= fallback when LANG= is specified

2015-02-02 Thread Martin Pitt
Zbigniew Jędrzejewski-Szmek [2015-01-31 20:20 +0100]: I think the implementation is fine, since it is rather trivial, but I'm less certain about the implications of setting LANGUAGE in addtion to LANG. That's totally fine -- it's precisely what $LANGUAGE is meant for. One must be aware that it

Re: [systemd-devel] Support for staged startup

2015-02-02 Thread Hoyer, Marko (ADITG/SW2)
Hello, thx for the answer. Why not start the final sub-tree units the conventional way, but make them all wait, listening on sockets?A final service need not contain a 'systemctl start xxx.target' command, as instead it could simply write a message to those sockets. Some services could

[systemd-devel] I see Failed at step CGROUP spawning /usr/lib/systemd/systemd: No such file or directory in systemd journal when I log in as root via ssh.

2015-02-02 Thread crocket
Below is the relevant part of the systemd journal log. /usr/lib/systemd/systemd exists, but the journal says it doesn't exist sometimes when I log in as root via ssh. Feb 03 12:28:21 arch-server sshd[15918]: Accepted publickey for root from 192.168.1.3 port 56913 ssh2: RSA

Re: [systemd-devel] [PATCH] Ensure that systemd is the init called after using bootchart

2015-02-02 Thread Martin Pitt
Ça va Sebastien, Sebastien Bacher [2015-02-02 16:14 +0100]: When booting with systemd-bootchart, default to call the systemd binary rather than the init binary on disk, which might be another init system. Collecting data doesn't work out of systemd. I'm not a native speaker either, but out of

Re: [systemd-devel] [PATCH] Ensure that systemd is the init called after using bootchart

2015-02-02 Thread Dimitri John Ledkov
On 2 February 2015 at 15:14, Sebastien Bacher seb...@ubuntu.com wrote: Hey systemd hackers, While trying systemd-bootchart on my Ubuntu vivid system I ran into some issues. My system has upstart as /sbin/init, but I use init=/lib/systemd/systemd and that works fine. Today I tried to change

Re: [systemd-devel] [PATCH] cryptsetup: Do not warn If the key is /dev/*random

2015-02-02 Thread Cristian Rodríguez
El 02/02/15 a las 12:42, Lennart Poettering escribió: I'd prefer if we'd change the check instead to only apply to S_ISREG() files. This way we wouldn't have to list all RNG device nodes. Yeah.. the other version I had did a !S_ISCHR check but S_ISREG is more adequate in this case.

Re: [systemd-devel] [PATCH] Ensure that systemd is the init called after using bootchart

2015-02-02 Thread Lennart Poettering
On Mon, 02.02.15 16:14, Sebastien Bacher (seb...@ubuntu.com) wrote: Hey systemd hackers, While trying systemd-bootchart on my Ubuntu vivid system I ran into some issues. My system has upstart as /sbin/init, but I use init=/lib/systemd/systemd and that works fine. Today I tried to change

Re: [systemd-devel] [PATCH] Ensure that systemd is the init called after using bootchart

2015-02-02 Thread Jóhann B. Guðmundsson
On 02/02/2015 03:32 PM, Dimitri John Ledkov wrote: On 2 February 2015 at 15:14, Sebastien Bacher seb...@ubuntu.com wrote: Hey systemd hackers, While trying systemd-bootchart on my Ubuntu vivid system I ran into some issues. My system has upstart as /sbin/init, but I use

Re: [systemd-devel] [PATCH] cryptsetup: Do not warn If the key is /dev/*random

2015-02-02 Thread Martin Pitt
Hey Cristian, Cristian Rodríguez [2015-02-02 12:06 -0300]: Using /dev/urandom as a key is valid for swap, do not warn if this devices are world readable. Thanks! Simple enough, applied. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) |

[systemd-devel] [PATCH] cryptsetup: Do not warn If the key is /dev/*random

2015-02-02 Thread Cristian Rodríguez
Using /dev/urandom as a key is valid for swap, do not warn if this devices are world readable. --- src/cryptsetup/cryptsetup.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index e6b37ac..38930ae 100644 ---

[systemd-devel] [PATCH] Ensure that systemd is the init called after using bootchart

2015-02-02 Thread Sebastien Bacher
Hey systemd hackers, While trying systemd-bootchart on my Ubuntu vivid system I ran into some issues. My system has upstart as /sbin/init, but I use init=/lib/systemd/systemd and that works fine. Today I tried to change that to /lib/systemd/systemd-bootchart but the charting failed on a missing

Re: [systemd-devel] [PATCH] tmpfiles: Remove unnecessary blank line when configured with --disable-resolved

2015-02-02 Thread Lennart Poettering
On Mon, 02.02.15 20:25, Sangjung Woo (sangjung@samsung.com) wrote: This patch removes unnecessary blank line in /usr/lib/tmpfiles.d/etc.conf when configured with --disable-resolved. (i.e. ENABLE_RESOLVED is not defined) Signed-off-by: Sangjung Woo sangjung@samsung.com Thanks!

Re: [systemd-devel] [RFC PATCH 2/2] localed: add LANGUAGE= fallback when LANG= is specified

2015-02-02 Thread Lennart Poettering
On Sat, 31.01.15 20:20, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: For the entries listed in the first column of language-fallback-map, the entry from the second column will be used for LANGUAGE=, if LANGUAGE= is not explicitly specified. Looks conceptually OK to me, sounds like a

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

2015-02-02 Thread Lennart Poettering
On Sat, 31.01.15 09:30, Topi Miettinen (toiwo...@gmail.com) wrote: On 01/29/15 00:09, Lennart Poettering wrote: 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 ---

Re: [systemd-devel] [PATCH] Ensure that systemd is the init called after using bootchart

2015-02-02 Thread Lennart Poettering
On Mon, 02.02.15 17:03, Sebastien Bacher (seb...@ubuntu.com) wrote: Thanks Martin, I did the changes you suggested, new patch attached Cheers, Sebastien Bacher Thanks, applied! Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing

Re: [systemd-devel] [Patch 0/6] Small adjustments to make QEMU tests work under Debian/Ubuntu

2015-02-02 Thread Lennart Poettering
On Mon, 02.02.15 00:19, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey all, as discussed on the hackfest, I'd like to revive the QEMU/nspawn integration tests, such as adding one for EFI or swap discovery (cf. the bugs fixed last week). As an initial step I wrote a couple of rather simple

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

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 14:05, Rauta, Alin (alin.ra...@intel.com) wrote: What if we don't use the * for now and document BindCarrier accordingly to be a list of port names and no wildcard ? Note that checking wildcards is really easy with glibc's fnmatch(). In fact, it's easier to do the full

Re: [systemd-devel] [PATCH] Ensure that systemd is the init called after using bootchart

2015-02-02 Thread Sebastien Bacher
Thanks Martin, I did the changes you suggested, new patch attached Cheers, Sebastien Bacher Le 02/02/2015 16:32, Martin Pitt a écrit : Since ./configure allows you to specify paths independent from --enable-split-usr, IMHO it is more robust to do #define DEFAULT_INIT ROOTLIBDIR

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

2015-02-02 Thread Lennart Poettering
On Sun, 01.02.15 08:49, Topi Miettinen (toiwo...@gmail.com) wrote: 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. Applied! Thanks! Lennart -- Lennart

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

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 15:20, 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] cryptsetup: Do not warn If the key is /dev/*random

2015-02-02 Thread Martin Pitt
Lennart Poettering [2015-02-02 16:42 +0100]: I'd prefer if we'd change the check instead to only apply to S_ISREG() files. This way we wouldn't have to list all RNG device nodes. Ah, indeed. Sorry for prematurely pushing it then, I cleaned it up in

Re: [systemd-devel] Mediacast to TV - MiracleCast - Open-Source Miracast - Wifi-Display on linux

2015-02-02 Thread David Herrmann
Hi On Sun, Feb 1, 2015 at 10:50 AM, poma pomidorabelis...@gmail.com wrote: MiracleCast - Howto Current State [snip] Can folks from the NetworkManager team systemd-networkd team answer regarding the current status in this matter? As people continuously ask me about this, I'll just try to

Re: [systemd-devel] What's the correct way to configure encrypted volume and mount point?

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 17:31, John Lane (syst...@jelmail.com) wrote: I am looking for some advice about configuring encrypted volumes with systemd that I want to open on demand (noauto). I can add entries into /etc/crypttab and /etc/fstab for the device, for example # name device

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

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 18:44, Didier Roche (didro...@ubuntu.com) wrote: Le 28/01/2015 15:53, Zbigniew Jędrzejewski-Szmek a écrit : 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

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

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 11:20, Rauta, Alin (alin.ra...@intel.com) wrote: heya, Regarding the networkctl update to show the UFD groups in a user friendly fashion, what about that ? Well, I am not particularly convinced we should expose the concept of an UFD group at all. However, I think it would

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

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 16:19, Rauta, Alin (alin.ra...@intel.com) wrote: So, we have: 1. BindCarrier=list of uplink ports 2. Network.DownlinkCarrierGroup=1 in upstream interface Network.UplinkCarrierGroup=1 in downstream interface This would mean you have to create 2 new members for the

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

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 18:49, Andrei Borzenkov (arvidj...@gmail.com) wrote: В Thu, 29 Jan 2015 15:10:16 +0100 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: On Thu, Jan 29, 2015 at 02:05:10PM +, Rauta, Alin wrote: What if we don't use the * for now and document BindCarrier

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

2015-02-02 Thread Lennart Poettering
On Thu, 29.01.15 17:00, Daniel Ankers (md1...@md1clv.com) wrote: The problem I see with this approach is that it allows bizarre configurations to be specified which don't make sense in practice: e.g. 1 - Loop: /etc/systemd/network/downlink0.network: BindCarrier=uplink*

Re: [systemd-devel] slow systemd-networkd DHCP client on wlan0 with systemd v217

2015-02-02 Thread Charles Devereaux
Another problem with systemd-networkd is that the lease is not renewed after sleep. This is a basic feature, a laptop is frequently physicially moved, which means another DHCP lease should be acquired, but I don't see how to do that. How can I make that happen? It's not clear to me, since

Re: [systemd-devel] test-dhcp-client failing in mock builds

2015-02-02 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 03, 2015 at 02:42:36AM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Feb 02, 2015 at 08:30:43AM +0100, Jan Synacek wrote: http://lists.freedesktop.org/archives/systemd-devel/2014-December/026190.html I haven't got time to properly analyze the problem since then... It