Bug 917503

Summary: make systemd-journald optional
Product: [Fedora] Fedora Reporter: Daniel Mach <dmach>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: johannbg, lnykryn, metherid, mschmidt, msekleta, notting, plautrba, systemd-maint, vpavlin, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-201-2.fc18.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1068542 (view as bug list) Environment:
Last Closed: 2013-05-16 02:56:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1068542    

Description Daniel Mach 2013-03-04 08:22:28 UTC
If you mask systemd-journald.service (and/or systemd-journald.socket, but masking the service is sufficient), you get unbootable system.


Please note that rsyslog is installed on my system:
$ systemctl status rsyslog.service
rsyslog.service - System Logging Service
          Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled)
          Active: active (running) since Mon 2013-03-04 09:18:08 CET; 6min ago
        Main PID: 736 (rsyslogd)
          CGroup: name=systemd:/system/rsyslog.service
                  `-736 /sbin/rsyslogd -n -c 7


Can you change systemd so it can boot without working/available journald?

Comment 1 Michal Schmidt 2013-03-04 13:19:58 UTC
With the following upstream changes, the system will boot without a working journald:

http://cgit.freedesktop.org/systemd/systemd/commit/?id=9d246da3c630559924a0262769c8493fa22c7acc

http://cgit.freedesktop.org/systemd/systemd/commit/?id=47c1d80d844689c81faf2eede95803c1ed6eb4af

I don't think it's going to get more optional than that.

Comment 2 Bill Nottingham 2013-03-04 16:39:20 UTC
Note that the journal isn't intended to be that optional in RHEL 7 - it's going to be what's feeding events to syslog, even if it's not storing data persistently.

Comment 3 Michal Schmidt 2013-03-05 12:44:21 UTC
Yes, it's not really that optional. systemd will still report any failures to connect stdout/stderr of services to the journal socket as errors. It's not meant as a supported configuration. But at least it will boot.

Comment 4 Lennart Poettering 2013-03-08 03:14:50 UTC
I'd actually suggest we turn persistence on on RHEL7, too, but limit it to something relatively small. That shouldn't hurt anybody, and is probably better than only have a tiny buffer in tmpfs...

I turned persistency for the journal on in F19 today. This will be on, and rsyslog stays in the default install, but that should be OK.

Comment 5 Fedora Update System 2013-04-10 20:10:43 UTC
systemd-201-2.fc18.1 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/systemd-201-2.fc18.1

Comment 6 Fedora Update System 2013-04-11 23:23:34 UTC
Package systemd-201-2.fc18.2:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-201-2.fc18.2'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5452/systemd-201-2.fc18.2
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-04-15 23:58:11 UTC
Package systemd-201-2.fc18.4:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-201-2.fc18.4'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5452/systemd-201-2.fc18.3
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-04-18 02:35:27 UTC
Package systemd-201-2.fc18.5:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-201-2.fc18.5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5452/systemd-201-2.fc18.5
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2013-05-07 13:37:55 UTC
systemd-201-2.fc18.6 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2013-5452/systemd-201-2.fc18.6

Comment 10 Fedora Update System 2013-05-09 10:00:47 UTC
Package systemd-201-2.fc18.6:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-201-2.fc18.6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5452/systemd-201-2.fc18.6
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2013-05-16 02:56:36 UTC
systemd-201-2.fc18.6 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.