PKI server 10.5 and 10.6 will not start with nuxwdog on Fedora.
Steps to reproduce:
On F27 the server will fail to start with the following error:
pki-tomcatd-nuxwdog@pki-tomcat.service: PID file /var/lib/pki/pki-tomcat/logs/wd-pki-tomcat.pid not readable (yet?) after start: Permission denied
In Permissive mode the server will start just fine.
On F28 the server will fail with the following error:
ERROR: Failed to create '/etc/systemd/system/pki-tomcatd-nuxwdog.target.wants/pki-tomcatd-nuxwdog@pki-tomcat.service' -> '/lib/systemd/system/pki-tomcatd-nuxwdog@.service'!
In Permissive mode the server will still fail with a different error:
Apr 04 23:15:59 vm-066.abc.idm.lab.eng.brq.redhat.com nuxwdog[58013]: [29B blob data]
See also https://pagure.io/dogtagpki/issue/2874.
Metadata Update from @mharmsen: - Custom field component adjusted to None - Custom field feature adjusted to None - Custom field origin adjusted to None - Custom field proposedmilestone adjusted to None - Custom field proposedpriority adjusted to None - Custom field reviewer adjusted to None - Custom field type adjusted to None - Custom field version adjusted to None - Issue set to the milestone: 0.0 NEEDS_TRIAGE
On F28, under permissive mode, I'm able to restart the pki-server with nuxwdog:
permissive
[root@localhost pki]# getenforce Permissive [root@localhost pki]# cat /etc/fedora-release Fedora release 28 (Twenty Eight) [root@localhost pki]# systemctl status pki-tomcatd-nuxwdog@pki-tomcat ● pki-tomcatd-nuxwdog@pki-tomcat.service - PKI Tomcat Server pki-tomcat Started by Nuxwdog Loaded: loaded (/usr/lib/systemd/system/pki-tomcatd-nuxwdog@.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2018-08-09 16:55:42 EDT; 3min 7s ago Process: 28135 ExecStart=/bin/nuxwdog -f /etc/pki/pki-tomcat/nuxwdog.conf (code=exited, status=0/SUCCESS) Process: 28003 ExecStartPre=/usr/bin/pkidaemon start pki-tomcat (code=exited, status=0/SUCCESS) Process: 27973 ExecStartPre=/usr/sbin/pki-server migrate --instance pki-tomcat (code=exited, status=0/SUCCESS) Main PID: 28136 (nuxwdog) Tasks: 102 (limit: 4915) Memory: 498.7M CGroup: /system.slice/system-pki\x2dtomcatd\x2dnuxwdog.slice/pki-tomcatd-nuxwdog@pki-tomcat.service ├─28136 /bin/nuxwdog -f /etc/pki/pki-tomcat/nuxwdog.conf └─28137 /usr/lib/jvm/jre-1.8.0-openjdk/bin/java -agentpath:/usr/lib/abrt-java-connector/libabrt-java-connector.so=abrt=on, -DRESTEASY_LIB=/usr/share/java/resteasy -Djava.library.path=/usr/lib64/nuxwd> Aug 09 16:54:51 localhost.localdomain pki-server[27973]: ---------------------------- Aug 09 16:54:51 localhost.localdomain pki-server[27973]: pki-tomcat instance migrated Aug 09 16:54:51 localhost.localdomain pki-server[27973]: ---------------------------- Aug 09 16:54:51 localhost.localdomain pkidaemon[28003]: ----------------------- Aug 09 16:54:51 localhost.localdomain pkidaemon[28003]: Banner is not installed Aug 09 16:54:51 localhost.localdomain pkidaemon[28003]: ----------------------- Aug 09 16:54:51 localhost.localdomain pkidaemon[28003]: ---------------------- Aug 09 16:54:51 localhost.localdomain pkidaemon[28003]: Enabled all subsystems Aug 09 16:54:51 localhost.localdomain pkidaemon[28003]: ---------------------- Aug 09 16:55:42 localhost.localdomain systemd[1]: Started PKI Tomcat Server pki-tomcat Started by Nuxwdog.
However, when set to enforcing
enforcing
[root@localhost pki]# systemctl status pki-tomcatd-nuxwdog@pki-tomcat ● pki-tomcatd-nuxwdog@pki-tomcat.service - PKI Tomcat Server pki-tomcat Started by Nuxwdog Loaded: loaded (/usr/lib/systemd/system/pki-tomcatd-nuxwdog@.service; enabled; vendor preset: disabled) Active: failed (Result: timeout) since Thu 2018-08-09 17:05:32 EDT; 1min 24s ago Process: 28872 ExecStart=/bin/nuxwdog -f /etc/pki/pki-tomcat/nuxwdog.conf (code=exited, status=0/SUCCESS) Process: 28775 ExecStartPre=/usr/bin/pkidaemon start pki-tomcat (code=exited, status=0/SUCCESS) Process: 28745 ExecStartPre=/usr/sbin/pki-server migrate --instance pki-tomcat (code=exited, status=0/SUCCESS) Aug 09 17:02:31 localhost.localdomain pkidaemon[28775]: ----------------------- Aug 09 17:02:31 localhost.localdomain pkidaemon[28775]: Banner is not installed Aug 09 17:02:31 localhost.localdomain pkidaemon[28775]: ----------------------- Aug 09 17:02:31 localhost.localdomain pkidaemon[28775]: ---------------------- Aug 09 17:02:31 localhost.localdomain pkidaemon[28775]: Enabled all subsystems Aug 09 17:02:31 localhost.localdomain pkidaemon[28775]: ---------------------- Aug 09 17:03:02 localhost.localdomain systemd[1]: pki-tomcatd-nuxwdog@pki-tomcat.service: Can't open PID file /var/lib/pki/pki-tomcat/logs/wd-pki-tomcat.pid (yet?) after start: Permission denied Aug 09 17:05:31 localhost.localdomain systemd[1]: pki-tomcatd-nuxwdog@pki-tomcat.service: Start operation timed out. Terminating. Aug 09 17:05:32 localhost.localdomain systemd[1]: pki-tomcatd-nuxwdog@pki-tomcat.service: Failed with result 'timeout'. Aug 09 17:05:32 localhost.localdomain systemd[1]: Failed to start PKI Tomcat Server pki-tomcat Started by Nuxwdog.
Metadata Update from @rpattath: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1618858
Metadata Update from @edewata: - Issue close_status updated to: wontfix - Issue status updated to: Closed (was: Open)
Metadata Update from @edewata: - Issue set to the milestone: 10.6.9 (was: 0.0 NEEDS_TRIAGE)
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/3099
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Log in to comment on this ticket.