Bug 1835880

Summary: systemd failed to add dependency on ods-enforcerd
Product: [Fedora] Fedora Reporter: pavel.strzinek <pavel.strzinek>
Component: opendnssecAssignee: Paul Wouters <pwouters>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: abokovoy, puiterwijk, pwouters
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-28 17:37:23 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:

Description pavel.strzinek@gmail.com 2020-05-14 16:43:33 UTC
Description of problem:

/usr/lib/systemd/system/ods-signerd.service:3: Failed to add dependency on ods-enforcerd, ignoring: Invalid argument
CODE_FILE	src/core/load-fragment.c
CODE_FUNC	config_parse_unit_deps
CODE_LINE	180
CONFIG_FILE	/usr/lib/systemd/system/ods-signerd.service
CONFIG_LINE	3
MESSAGE_ID	xxx
PRIORITY	3
SYSLOG_FACILITY	3
SYSLOG_IDENTIFIER	systemd
UNIT	ods-signerd.service
_BOOT_ID	xxx
_CAP_EFFECTIVE	3fffffffff
_CMDLINE	/usr/lib/systemd/systemd --switched-root --system --deserialize 30
_COMM	systemd
_EXE	/usr/lib/systemd/systemd
_GID	0
_HOSTNAME	xxx
_MACHINE_ID	xxx
_PID	1
_SELINUX_CONTEXT	system_u:system_r:init_t:s0
_SOURCE_REALTIME_TIMESTAMP	1588789847985641
_SYSTEMD_CGROUP	/init.scope
_SYSTEMD_SLICE	-.slice
_SYSTEMD_UNIT	init.scope
_TRANSPORT	journal
_UID	0
__CURSOR	s=517d9a7bd3f648009a2001f9a32c357f;i=34513;b=17833959c4e441568afda1164f06a550;m=d2db8184;t=5a4fef6830dff;x=5d6143fa35acbb4a
__MONOTONIC_TIMESTAMP	3537600900
__REALTIME_TIMESTAMP	1588789847985663


Actual results:
Above error in system log

Expected results:
No errors reported

Additional info:

How to fix:
add ".service" to "After" line in file /usr/lib/systemd/system/ods-signerd.service

Present, failing line:
After=syslog.target network.target ods-enforcerd

Fixed line:
After=syslog.target network.target ods-enforcerd.service

Comment 1 Paul Wouters 2020-05-15 00:57:20 UTC
these are supposed to be somewhat independant. the ods-enforcer could be run via cron instead of via a daemon. At least in the original design.

Comment 2 Paul Wouters 2020-05-28 17:37:23 UTC

*** This bug has been marked as a duplicate of bug 1833718 ***