Re: [systemd-devel] systemd 225: cannot override nspawn service

2015-09-10 Thread Anthony Messina
2015-09-09 11:48 GMT+02:00 crequill : > Hi, > > All was running fine with systemd 218. > With nspawn systemd 225, always on archlinux, I've a lot of problems: > > 1/ I cannot login anymore on containers (/sbin/getatty exist in > container): > Failed to get login PTY: No such file or directory I'

Re: [systemd-devel] Possible confusion with socket activation and daemon own configuration

2015-09-10 Thread David Timothy Strauss
On Tue, Sep 8, 2015 at 10:48 AM Simon McVittie < [email protected]> wrote: > As far as I understand it, this duplication is present to give the > sysadmin a choice between two ways to run sshd, depending on this > particular ssh server's requirements. > > If ssh access is frequently u

Re: [systemd-devel] systemd and intltool

2015-09-10 Thread Filipe Brandenburger
Hi, On Thu, Sep 10, 2015 at 10:10 AM, Michael Biebl wrote: > reading https://wiki.gnome.org/Projects/GnomeCommon/Migration, it says > that intltool is practically dead and one should use gettext directly. > > Do we still need intltool in systemd? Does gettext have support for > translating Policy

[systemd-devel] [PATCH] Hook more properties for transient units

2015-09-10 Thread Gabriel de Perthuis
systemd-run can now launch units with PrivateTmp, PrivateDevices, PrivateNetwork, NoNewPrivileges set. --- src/core/dbus-execute.c | 54 ++--- src/shared/bus-util.c | 3 ++- 2 files changed, 22 insertions(+), 35 deletions(-) diff --git a/src/core/dbu

Re: [systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread martin f krafft
also sprach Michael Biebl [2015-09-10 19:13 +0200]: > Could you run udevadm info on the device? > Does it have a SYSTEMD_READY flag set? No: http://slexy.org/raw/s2VEGDwICN -- @martinkrafft | http://madduck.net/ | http://two.sentenc.es/ murphy's law is recursive. washing your car to make it r

Re: [systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread Michael Biebl
2015-09-10 19:07 GMT+02:00 martin f krafft : > also sprach Michael Biebl [2015-09-10 17:51 +0200]: >> drbd requires network access and drdb.service has >> DefaultDependencies=yes and is started in multi-user.target. >> >> If this mount point is treated as local file system, maybe it helps to >> ex

[systemd-devel] systemd and intltool

2015-09-10 Thread Michael Biebl
Hi, reading https://wiki.gnome.org/Projects/GnomeCommon/Migration, it says that intltool is practically dead and one should use gettext directly. Do we still need intltool in systemd? Does gettext have support for translating PolicyKit policy files? Michael -- Why is it that all of the instrum

Re: [systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread martin f krafft
also sprach Michael Biebl [2015-09-10 17:51 +0200]: > drbd requires network access and drdb.service has > DefaultDependencies=yes and is started in multi-user.target. > > If this mount point is treated as local file system, maybe it helps to > explicitly mark it as _netdev, so it is started after

[systemd-devel] optional kdbus enablement

2015-09-10 Thread Dimitri John Ledkov
Shouldn't the dbus1-generator disable the dbus.service & dbus.socket by symlinking them to /dev/null ? Or for example, should the dbus.server|socket units to have condition whether or not kdbus is available at runtime? Or how does one resolve the conflict between the bus-proxy and dbus? -- Rega

Re: [systemd-devel] optional kdbus enablement

2015-09-10 Thread Dimitri John Ledkov
oh, it is. Excellent. Not sure how I missed that last time I was testing, never mind me. On 10 September 2015 at 16:53, Dimitri John Ledkov wrote: > Shouldn't the dbus1-generator disable the dbus.service & dbus.socket > by symlinking them to /dev/null ? > > Or for example, should the dbus.server|

Re: [systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread Michael Biebl
2015-09-10 12:00 GMT+02:00 martin f krafft : > Hi, > > on one of my machines, /srv/backup is an encrypted filesystem > sitting on top of a DRBD volume. In /etc/crypttab, I thus have > > backup /dev/drbd/by-res/backup none noauto > > and then I mount /dev/mapper/backup on /srv/backuppc. > drbd r

Re: [systemd-devel] console device times out at boot while it is available

2015-09-10 Thread Richard Maw
On Thu, Sep 10, 2015 at 05:23:48PM +0200, [email protected] wrote: > Never mind, I just found the answer in this post that Richard Maw posted > today: > > http://lists.freedesktop.org/archives/systemd-devel/2015-September/034204.html > > Problem solved. Heh, I said it was a common solutio

Re: [systemd-devel] console device times out at boot while it is available

2015-09-10 Thread winfried . dobbe
Never mind, I just found the answer in this post that Richard Maw posted today: http://lists.freedesktop.org/archives/systemd-devel/2015-September/034204.html Problem solved. Winfried > Hi, > > I'm trying to get systemd to work on an Freescale imx6 device (Yocto 1.8). > Everything works, except

[systemd-devel] console device times out at boot while it is available

2015-09-10 Thread winfried . dobbe
Hi, I'm trying to get systemd to work on an Freescale imx6 device (Yocto 1.8). Everything works, except that the console device (dev-ttymxc1.device) times out after boot (and thus the [email protected] as well): root@cgtqmx6:~# systemctl status dev-ttymxc1.device ● dev-ttymxc1.device

[systemd-devel] "singleton" template units

2015-09-10 Thread Ian Geiser
Greetings, I have a template unit for different demon configurations that I want to switch between. I was able to easily make a template unit [email protected] that just calls "foo -c /etc/%i.conf", so now I can say [email protected] and it works as expected. My problem now is that if I do foo@co

Re: [systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread martin f krafft
also sprach Lennart Poettering [2015-09-10 13:01 +0200]: > Hmm. After the device appeared in systemd, does it show up in the > Aliases= field of the .device unit? Specifically, can you make the > device appear, then run "systemctl show -a" on it, and paste the > output somewhere? Hoping I know w

Re: [systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread Lennart Poettering
On Thu, 10.09.15 12:33, martin f krafft ([email protected]) wrote: > also sprach Lennart Poettering [2015-09-10 12:28 > +0200]: > > Does udev know about the symlink? I.e. does "udevadm info" show it? > > Which component is creating it? Only symlinks created by udev are > > known by udev and sy

Re: [systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread martin f krafft
also sprach Richard Maw [2015.09.10.1227 +0200]: > > FHANDLE is enabled on this machine (and Debian jessie in general). > > I thought I'd check that first, since it has been the root cause for a few > similar issues. It was a good call and I appreciate your time. -- @martinkrafft | http://madd

Re: [systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread martin f krafft
also sprach Lennart Poettering [2015-09-10 12:28 +0200]: > Does udev know about the symlink? I.e. does "udevadm info" show it? > Which component is creating it? Only symlinks created by udev are > known by udev and systemd. To support this, the drbd support needs to > install rules files that cre

Re: [systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread Richard Maw
On Thu, Sep 10, 2015 at 12:14:56PM +0200, martin f krafft wrote: > also sprach Richard Maw [2015-09-10 12:13 > +0200]: > > I've seen this happen when udev is misbehaving because your kernel doesn't > > have > > CONFIG_FHANDLE enabled. Can you check that first? > > FHANDLE is enabled on this mac

Re: [systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread Lennart Poettering
On Thu, 10.09.15 12:00, martin f krafft ([email protected]) wrote: > Hi, > > on one of my machines, /srv/backup is an encrypted filesystem > sitting on top of a DRBD volume. In /etc/crypttab, I thus have > > backup /dev/drbd/by-res/backup none noauto > > and then I mount /dev/mapper/backup

Re: [systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread martin f krafft
also sprach Richard Maw [2015-09-10 12:13 +0200]: > I've seen this happen when udev is misbehaving because your kernel doesn't > have > CONFIG_FHANDLE enabled. Can you check that first? FHANDLE is enabled on this machine (and Debian jessie in general). -- @martinkrafft | http://madduck.net/ |

Re: [systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread Richard Maw
On Thu, Sep 10, 2015 at 12:00:50PM +0200, martin f krafft wrote: > it times out waiting for dev-drbd-by\x2dres-backup.device, even > though the file in /dev (and DRBD) are ready to go. I've seen this happen when udev is misbehaving because your kernel doesn't have CONFIG_FHANDLE enabled. Can you c

[systemd-devel] hinting systemd about what to do to make a device appear

2015-09-10 Thread martin f krafft
Hi, on one of my machines, /srv/backup is an encrypted filesystem sitting on top of a DRBD volume. In /etc/crypttab, I thus have backup /dev/drbd/by-res/backup none noauto and then I mount /dev/mapper/backup on /srv/backuppc. systemd-cryptsetup-generated creates a unit for this which includes