Re: [systemd-devel] When is a unit "loaded"?

2018-07-11 Thread Filipe Brandenburger
Hey Daniel! On Wed, Jul 11, 2018 at 5:16 PM Daniel Wang wrote: > I have a unit, say foo.service, on my system that's in > /usr/lib/systemd/system, but disabled by preset. Not that it matters, but presets don't really matter here. The unit is disabled, period. > On system boot, it doesn't show

[systemd-devel] When is a unit "loaded"?

2018-07-11 Thread Daniel Wang
I have a unit, say foo.service, on my system that's in /usr/lib/systemd/system, but disabled by preset. On system boot, it doesn't show as "loaded" per `systemctl --all | grep foo`. So if I override it with a file with the same name but under /etc/systemd/system, `systemctl cat foo.service` will

Re: [systemd-devel] /var/log/journal full, journald is not removing journal files

2018-07-11 Thread Chris Murphy
So I went back to default journald.conf and rebooted and still /var/log/journal is 100% full. So I manually deleted a bunch of files, getting to 60% full. Reboot again. And now journald does some kind of clean up, and /var/log/journal is 28% full. Somehow journald would not delete its own files

[systemd-devel] /var/log/journal full, journald is not removing journal files

2018-07-11 Thread Chris Murphy
systemd-238-8.git0e0aa59.fc28.x86_64 I'm really confused by what I'm seeing. Jul 10 09:13:40 f28h.local systemd-journald[493]: System journal (/var/log/journal/bbe68372db9f4c589a1f67f008e70864) is 1.2G, max 1.3G, 90.0M free. [chris@f28h ~]$ du -sh