[Bug 1129541] New: (Re)installing systemd does not create /var/log/journal
http://bugzilla.opensuse.org/show_bug.cgi?id=1129541 Bug ID: 1129541 Summary: (Re)installing systemd does not create /var/log/journal Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software Assignee: systemd-maintainers@suse.de Reporter: dcermak@suse.com QA Contact: bnc-team-screening@forge.provo.novell.com Found By: --- Blocker: --- I had trouble booting the 5.0 kernel on Tumbleweed and after an unsuccessful attempt rebooted the previously working 4.20 one. Unfortunately, I had to find out that my journald logs from before the reboot were gone. I checked the journald config and Storage is not set, so it should be auto. However, the folder /var/log/journal does not exist on my machine. And for whatever reason, it is not created by `zypper in -f systemd` although I have checked the spec file and that folder is *explicitly* created. What am I doing wrong? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1129541
Dan Čermák
http://bugzilla.opensuse.org/show_bug.cgi?id=1129541
http://bugzilla.opensuse.org/show_bug.cgi?id=1129541#c1
Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1129541
Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1129541
http://bugzilla.opensuse.org/show_bug.cgi?id=1129541#c2
--- Comment #2 from Dan Čermák
You need to install systemd-logger package for creating /var/log/journal.
That's the reason! That package was missing on my system.
Not sure why you need to do that manually, I thought that it was part of the packages installed by default.
Apparently not. For some reason my Tumbleweed machine came with rsyslog instead of systemd-logger, however journalctl was still available and it looks like it did all the logging anyway. For the record: during installation I selected only the most minimal patterns and disabled the installation of Recommended packages. Should I report this somewhere else instead? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1129541
http://bugzilla.opensuse.org/show_bug.cgi?id=1129541#c3
Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1129541
http://bugzilla.opensuse.org/show_bug.cgi?id=1129541#c5
Dominique Leuenberger
Dominique, could you look at this bug ?
At this point I think it's more related to the minimal pattern than to systemd.
Feel free to re-assign it back if it's not correct.
Thanks.
From the patterns changelog:
Wed Oct 3 11:56:16 CEST 2018 - sflees@suse.de - Merge back in Leap 15 / SLE changes, important items from that packages changlog can be found below - explicitly include rsyslog in the base pattern to make sure logging goes to /var/log/messages as documented (bsc#1094841). So, yes, rsyslog is still the defacto default - mainly for matching the doc which, IIRC, was never rewritten for users not to look for /var/log/messages -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com