Re: atop package

2023-12-14 Thread Marc Haber
On Thu, Dec 14, 2023 at 11:10:14AM +0530, jai wrote: > *root@dummyhost:~# systemctl status atopacct.service● atopacct.service - > Atop process accounting daemon Loaded: loaded > (/lib/systemd/system/atopacct.service; enabled; vendor preset: enabled) > Active: failed (Result: protocol) since Thu

Mask Unit files over DBus doesn't work?

2023-12-14 Thread Gyorgy Szekely
Hi, Sorry if this is not the right place for questions, please point me in the right direction. I'm trying to replace `systemctl` command invocations in our project with DBus calls. Starting/stopping services, requesting service properties work fine, but masking/unmasking do not. This is the beha

Re: Mask Unit files over DBus doesn't work?

2023-12-14 Thread Dan Nicholson
On Thu, Dec 14, 2023 at 3:57 AM Gyorgy Szekely wrote: > > This is what happens when I use DBus: (with busctl for the sake of this > discussion) > > $ busctl call org.freedesktop.systemd1 /org/freedesktop/systemd1 > org.freedesktop.systemd1.Manager MaskUnitFiles asbb 1 > serial-getty@ttymxc0

Re: Mask Unit files over DBus doesn't work?

2023-12-14 Thread Dan Nicholson
On Thu, Dec 14, 2023 at 8:35 AM Dan Nicholson wrote: > > On Thu, Dec 14, 2023 at 3:57 AM Gyorgy Szekely wrote: > > > > This is what happens when I use DBus: (with busctl for the sake of this > > discussion) > > > > $ busctl call org.freedesktop.systemd1 /org/freedesktop/systemd1 > > org.fre

Re: Troubleshooting timedatectl and hostnamectl failed to activate service: timed out

2023-12-14 Thread Sean Caron
Hi Mantas, Thanks for the suggestions! I took a look and I'm seeing entries like the following in the logs: Starting Hostname Service... systemd-hostnamed.service: Failed to set up mount namespacing: /run/systemd/unit-root/: Invalid argument systemd-hostnamed.service: Failed at step NAMESPACE spa

Re: Troubleshooting timedatectl and hostnamectl failed to activate service: timed out

2023-12-14 Thread Sean Caron
Sorry, perhaps apparmor is not completely disabled, but I don't think it's enforcing. I tried shutting it off completely with: systemctl stop apparmor And that doesn't seem to have made a difference. Best, Sean On Thu, Dec 14, 2023 at 11:57 AM Sean Caron wrote: > Hi Mantas, > > Thanks for t

Uki images

2023-12-14 Thread Michał Zegan
Hello, Using fedora39, it officially doesn't support uki images... i have custom boot configuration. Set layout=uki in install.conf and uki_generator to ukify, and other uki related options. Everything seems to work except that, even though linux kernel is picked up when creating uki, init

Re: Troubleshooting timedatectl and hostnamectl failed to activate service: timed out

2023-12-14 Thread Sean Caron
It appears that I can fix this by editing the unit file and changing: ProtectSystem=strict to: ProtectSystem=full I'm not sure why that is but a resolution is good enough for me. Following up on my own thread in case this helps someone else in the future. Best, Sean On Thu, Dec 14, 2023 at