krb5kdc[27833]: Couldn't open log file /var/log/krb5kdc.log: Read-only file system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
freeipa (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Hopefully this can trivially be corrected.
Seems the systemd service file for the kerberos portion of freeipa could use a minor tweak.
When restarting the kerberos service, it (incorrectly) reports that the default configured log file (/var/log/
File:
=====
/lib/systemd/
Command:
=====
service krb5-kdc restart
Error:
=====
krb5kdc[27833]: Couldn't open log file /var/log/
Please make the following adjustment to the default systemd file.
=====
13c13
< ReadWriteDirect
---
> ReadWriteDirect
Thank you for all the help and support. :)
Cheers,
-Chris
affects: | freeipa (Ubuntu) → krb5 (Ubuntu) |
I'm going to push back on the reassignment to krb5.
I think this is a freeipa bug.
Kerberos's systemd service unit is correct for Kerberos.
freeipa is the one that is deciding it wants to change the Kerberos
logging configuration, and thus is the one that should adjust the
permissions.
Honestly I'd rather see this fixed by freeipa not messing around with
Kerberos configs so much, but especially not logging config.