Bug 998122

Summary: kmod-static-nodes.service fails to run in containers
Product: [Fedora] Fedora Reporter: Jóhann B. Guðmundsson <johannbg>
Component: systemdAssignee: systemd-maint
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: johannbg, lnykryn, msekleta, plautrba, systemd-maint, vpavlin, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-21 01:34:03 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 Jóhann B. Guðmundsson 2013-08-17 13:13:53 UTC
Description of problem:

When kmod-static-nodes.service is run within a container it fails with...
kmod-static-nodes.service: main process exited, code=exited, status=203/EXEC
[FAILED] Failed to start Create list of required static device nodes for the current kernel.
See 'systemctl status kmod-static-nodes.service' for details.
Unit kmod-static-nodes.service entered failed state.


Looks like we lack ConditionVirtualization= line which excludes the services from being run when in containers

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Zbigniew Jędrzejewski-Szmek 2013-08-19 14:59:38 UTC
Upstream fix in 4bb3a126b7a6.

Comment 2 Zbigniew Jędrzejewski-Szmek 2013-08-21 01:34:03 UTC
http://cgit.freedesktop.org/systemd/systemd/commit/?id=4bb3a12 was actually about something different.

Fixed upstream in http://cgit.freedesktop.org/systemd/systemd/commit/?id=219061d. Also similar http://cgit.freedesktop.org/systemd/systemd/commit/?id=091526a was about GPT disks. I guess that those warnings are not very serious, so they can wait until the next release. So I'm closing this as FIXED/UPSTREAM, hopefully correctly.