Re: [systemd-devel] Failed to apply ACLs: Invalid argument

2017-07-19 Thread Lennart Poettering
On Tue, 18.07.17 16:28, Matwey V. Kornilov (matwey.korni...@gmail.com) wrote: > Hello, > > I am running systemd 228. And one one particular system installation > there are messages 'Failed to apply ACLs: Invalid argument' from > systemd-logind. Moreover, ACL on /dev/dri/* are not set correctly >

[systemd-devel] sd-bus example code for SetLinkDNS()

2017-07-19 Thread Tilman Baumann
Hi folks, I'm trying to teach a vpn software (openfortivpn) how to properly set up DNS in a systemd-resolve environment. I'm trying to set up a equivalent to this in C. busctl call org.freedesktop.resolve1 /org/freedesktop/resolve1 org.freedesktop.resolve1.Manager SetLinkDNS 'ia(iay)' 16 2 2 4

Re: [systemd-devel] no user dbus session in container

2017-07-19 Thread arnaud gaboury
On Tue, Jul 18, 2017 at 3:09 PM Simon McVittie wrote: > On Fri, 14 Jul 2017 at 12:36:12 +, arnaud gaboury wrote: > > After upgrade from Fedora 25 to 26, there is no more user dbus session > for user > > in container. > ... > > On container, user can't connect to dbus

Re: [systemd-devel] no user dbus session in container

2017-07-19 Thread Simon McVittie
On Wed, 19 Jul 2017 at 09:31:36 +, arnaud gaboury wrote: > Do I really need a per user dbsu session in my container? I don't know. Do you? You haven't said anything about how you start the container, how you log in to the container, what its purpose is, or how (if at all) its purpose

Re: [systemd-devel] no user dbus session in container

2017-07-19 Thread arnaud gaboury
On Wed, Jul 19, 2017 at 2:18 PM Simon McVittie wrote: > On Wed, 19 Jul 2017 at 09:31:36 +, arnaud gaboury wrote: > > Do I really need a per user dbsu session in my container? > > I don't know. Do you? You haven't said anything about how you start the > container, With

Re: [systemd-devel] Failed to apply ACLs: Invalid argument

2017-07-19 Thread Matwey V. Kornilov
2017-07-19 13:32 GMT+03:00 Matwey V. Kornilov : > 2017-07-19 13:10 GMT+03:00 Matwey V. Kornilov : >> 2017-07-19 12:47 GMT+03:00 Lennart Poettering : >>> On Wed, 19.07.17 12:38, Matwey V. Kornilov

Re: [systemd-devel] Failed to apply ACLs: Invalid argument

2017-07-19 Thread Matwey V. Kornilov
2017-07-19 15:12 GMT+03:00 Matwey V. Kornilov : > 2017-07-19 13:32 GMT+03:00 Matwey V. Kornilov : >> 2017-07-19 13:10 GMT+03:00 Matwey V. Kornilov : >>> 2017-07-19 12:47 GMT+03:00 Lennart Poettering

[systemd-devel] systemd-nspawn map UID/GID between cointainer and host

2017-07-19 Thread basti
Hello, I have some users inside container hat had the same uid/GID on host. The files are bind to container and has rights "700" on host. I can't access files inside container (permission denied). so far so good. Is there a way to map uid/gid from host to container or from container to host, that

[systemd-devel] permissions issues in systemd machine

2017-07-19 Thread arnaud gaboury
Here is my environment: Linux kernel 4.11.3 with usernamespace set to YES % systemctl --version systemd 233 +PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN default-hierarchy=hybrid % machinectl list

Re: [systemd-devel] Failed to apply ACLs: Invalid argument

2017-07-19 Thread Matwey V. Kornilov
2017-07-19 12:47 GMT+03:00 Lennart Poettering : > On Wed, 19.07.17 12:38, Matwey V. Kornilov (matwey.korni...@gmail.com) wrote: > >> This is all that is relevant to Invalid Argument errno in strace: >> > [...] >> readlinkat(AT_FDCWD, "/sys/module/parport", 0x55d7a4d5d940,

Re: [systemd-devel] Failed to apply ACLs: Invalid argument

2017-07-19 Thread Lennart Poettering
On Wed, 19.07.17 12:38, Matwey V. Kornilov (matwey.korni...@gmail.com) wrote: > This is all that is relevant to Invalid Argument errno in strace: > [...] > readlinkat(AT_FDCWD, "/sys/module/parport", 0x55d7a4d5d940, 99) = -1 > EINVAL (Invalid argument) realinkat() returns EINVAL when invoked on

Re: [systemd-devel] Failed to apply ACLs: Invalid argument

2017-07-19 Thread Matwey V. Kornilov
2017-07-19 13:10 GMT+03:00 Matwey V. Kornilov : > 2017-07-19 12:47 GMT+03:00 Lennart Poettering : >> On Wed, 19.07.17 12:38, Matwey V. Kornilov (matwey.korni...@gmail.com) wrote: >> >>> This is all that is relevant to Invalid Argument errno in