Bug 667665

Summary: Assertion 'unit_prefix_is_valid(prefix)' failed causing unbootable system
Product: [Fedora] Fedora Reporter: Erik van Pienbroek <erik-fedora>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 667818 (view as bug list) Environment:
Last Closed: 2011-01-06 22:53:48 UTC Type: ---
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: 667818    

Description Erik van Pienbroek 2011-01-06 12:05:05 UTC
On a fully updated rawhide environment (2011-01-06) I get a fatal systemd assertion error right after systemd gets started:

[/etc/rc.d/init.d/cobblerd:10] Failed to add dependency on network,.service, ignoring: Invalid argument
[/etc/rc.d/init.d/cobblerd:10] Failed to add dependency on xinetd,.service, ignoring: Invalid argument
Assertion 'unit_prefix_is_valid(prefix)' failed at src/unit-name.c:173, function unit_name_build(). Abort
Caught <ABRT>, core dump failed
Freezing execution.


Line 10 of /etc/rc.d/init.d/cobblerd contains this:
# Required-Start: network, xinetd, httpd

$ rpm -qa | grep -e systemd -e cobbler
cobbler-2.0.10-1.fc15.noarch
systemd-15-1.fc15.x86_64
cobbler-web-2.0.10-1.fc15.noarch
systemd-units-15-1.fc15.x86_64

Comment 1 Bill Nottingham 2011-01-06 18:12:45 UTC
Can you also file a bug against cobbler to fix the incorrect syntax?

Comment 2 Erik van Pienbroek 2011-01-06 20:58:56 UTC
A bugreport against cobbler has also been filed: bug 667818

Comment 3 Lennart Poettering 2011-01-06 22:53:48 UTC
Fixed now in systemd git.