Re: [systemd-devel] Is there a way to find out if Delegate=yes?

2022-10-30 Thread Yuri Kanivetsky
On Thu, Oct 27, 2022 at 1:40 PM Arseny Maslennikov wrote: > It had successfully reached this mailing list by 2022-Oct-25, so that > means you're not subscribed to the list. Strangely enough, > the mail receiver rejects emails from non-subscribers, so you wouldn't > be able to reach out to the

Re: [systemd-devel] Is there a way to find out if Delegate=yes?

2022-10-27 Thread Yuri Kanivetsky
=no Somehow I don't need systemd-run for lxc-start and lxc-attach locally. Any ideas? On Mon, Oct 24, 2022 at 6:07 PM Yuri Kanivetsky wrote: > > Hi, > > I'm experimenting with LXC containers: > > https://linuxcontainers.org/lxc/getting-started/ > > And there's a command

[systemd-devel] Is there a way to find out if Delegate=yes?

2022-10-24 Thread Yuri Kanivetsky
Hi, I'm experimenting with LXC containers: https://linuxcontainers.org/lxc/getting-started/ And there's a command I don't fully understand: systemd-run --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-start my-container It runs lxc-start in a transient user scope with Delegate=yes, but:

Re: [systemd-devel] Can /usr/lib/systemd/user/sockets.target.wants be used to autoenable a socket by a vendor package?

2022-10-10 Thread Yuri Kanivetsky
After experimenting some more, I can see that if there's no [Install] section and the unit is enabled by putting it into /usr/lib/systemd/*/*.target.wants, then is-enabled is static, and `systemctl enable` does nothing and explains the situation. Which makes me think that one should either add the

Re: [systemd-devel] Can /usr/lib/systemd/user/sockets.target.wants be used to autoenable a socket by a vendor package?

2022-09-18 Thread Yuri Kanivetsky
> > $ ls -al > > /usr/lib/systemd/user/multi-user.target.wants/infinite-tsukuyomi.service > > lrwxrwxrwx 1 root root 29 Sep 18 08:45 > > /usr/lib/systemd/user/multi-user.target.wants/infinite-tsukuyomi.service > > -> ../infinite-tsukuyomi.service > > > > And rebooted the machine. The service

Re: [systemd-devel] Can /usr/lib/systemd/user/sockets.target.wants be used to autoenable a socket by a vendor package?

2022-09-18 Thread Yuri Kanivetsky
> No, everything linked to a .wants/ directory immediately becomes a > Wants= dep of and is therefore "enabled", it doesn't matter whether > that .wants/ is in /etc or /usr/lib or /run. To confirm this, I created the following files: $ cat /usr/lib/systemd/user/infinite-tsukuyomi.service

[systemd-devel] Can /usr/lib/systemd/user/sockets.target.wants be used to autoenable a socket by a vendor package?

2022-09-17 Thread Yuri Kanivetsky
Hi, I've noticed that an Arch Linux package (gnupg) seemingly automatically enables a socket: ln -s "../dirmngr.socket" "/usr/lib/systemd/user/sockets.target.wants/dirmngr.socket" https://github.com/archlinux/svntogit-packages/commit/e7a6851881e2cfea37b76cfb16ba97af2fcc Before the change

Re: [systemd-devel] Are logs at /run/log/journal automerged?

2022-08-25 Thread Yuri Kanivetsky
Let me first reply to your answers. Then I'll provide more details. And a couple of questions at the end. > > I'm experiencing this on Digital Ocean. The machine id there changes > > (which I think shouldn't happen) on the first boot (supposedly by > > cloud-init). > > The machine ID may change

[systemd-devel] Are logs at /run/log/journal automerged?

2022-08-22 Thread Yuri Kanivetsky
Hi, I'm experiencing this on Digital Ocean. The machine id there changes (which I think shouldn't happen) on the first boot (supposedly by cloud-init). In Ubuntu 22.04 droplets, where logs are stored at /var/log/journal, that leads to journalctl outputting no records (because the log for the new

Re: [systemd-devel] systemd tries to terminate a process that seems to have exited

2022-05-10 Thread Yuri Kanivetsky
y cgroup" notification, it thinks some processes are still running (although there're none left), tries to kill them and eventually times out. Does that sound correct? On Tue, May 10, 2022 at 4:22 PM Lennart Poettering wrote: > > On Di, 10.05.22 08:44, Yuri Kanivetsky (yuri.kanivet...@gmail

Re: [systemd-devel] systemd tries to terminate a process that seems to have exited

2022-05-09 Thread Yuri Kanivetsky
ing PAM- or dbus-related, c) some threads that don't let it exit. Not a C programmer to know if those are possible (if something can not let a process terminate after exit() or return from main()). On Tue, May 10, 2022 at 8:09 AM Andrei Borzenkov wrote: > > On 09.05.2022 23:43, Yuri Kanivet

Re: [systemd-devel] systemd tries to terminate a process that seems to have exited

2022-05-09 Thread Yuri Kanivetsky
or return from main()? Any threads started by PAM or anything dbus-related (wild guesses on my part)? Anything else I can check? Regards, Yuri On Thu, May 5, 2022 at 8:19 AM Andrei Borzenkov wrote: > > On 05.05.2022 04:41, Yuri Kanivetsky wrote: > > Hi, > > > > This mig

[systemd-devel] systemd tries to terminate a process that seems to have exited

2022-05-04 Thread Yuri Kanivetsky
Hi, This might be not a systemd issue. But the behavior is weird, and I'm not sure. I'm trying to run GNOME in a docker container. And gnome-keyring fails to start: https://gist.github.com/x-yuri/c3c715ea6355633de4546ae957a66410 I added debug statements, and in the log I see: May 02

[systemd-devel] A server says: "System is going down." But never does.

2017-11-28 Thread Yuri Kanivetsky
Hi, This mailing list is the only place where I expect to have some helpful feedback. But feel free to suggest other places. I'd like to investigate situation I have now, find out what went wrong and prevent it from happening again if possible. Your help is appreciated. Like I said, a server

[systemd-devel] hostnamectl doesn't work in a lxc container

2017-02-10 Thread Yuri Kanivetsky
Hi, Not sure it's a good place to ask. But it'd be great if you could help me with this one. Or at least tell me where to ask. I failed to find any systemd user mailing lists. The guys from lxc mailing list keep silence: