Bug 1392591 - missing Requires on systemd-udev
Summary: missing Requires on systemd-udev
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-07 20:38 UTC by Dennis Gilmore
Modified: 2017-03-07 08:07 UTC (History)
9 users (show)

Fixed In Version: python-blivet-2.1.7-3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-07 08:07:40 UTC
Type: Bug


Attachments (Terms of Use)

Description Dennis Gilmore 2016-11-07 20:38:52 UTC
Description of problem:

Livecd creation failed due to udevadm being missing. it ended up that the only reason udevadm was being pulled in was NetworkManager having a dep on udev. hoever with commit http://pkgs.fedoraproject.org/cgit/rpms/NetworkManager.git/commit/?id=ce85c6f3ef984d17cfc3cae7f883ae3521ebb961 the Requires: udev was removed resulting in udevadm no longer being available in the installer environment for anaconda to execute  as anaconda calls the command it needs to add a requires on udev or systemd-udev in order to make sure a command it executes is available

2016-11-07 11:24:06,245 INFO livemedia-creator: import imp
2016-11-07 11:24:06,245 INFO livemedia-creator: Starting installer, one moment...
2016-11-07 11:24:06,246 INFO livemedia-creator: terminal size detection failed, using default width
2016-11-07 11:24:06,246 INFO livemedia-creator: anaconda 26.10-1 for Fedora-Workstation-Live Rawhide (pre-release) started.
2016-11-07 11:24:06,292 INFO livemedia-creator: Traceback (most recent call last):
2016-11-07 11:24:06,292 INFO livemedia-creator: File "/usr/sbin/anaconda", line 486, in <module>
2016-11-07 11:24:06,292 INFO livemedia-creator: ksdata = startup_utils.parse_kickstart(opts, addon_paths)
2016-11-07 11:24:06,292 INFO livemedia-creator: File "/usr/lib64/python3.5/site-packages/pyanaconda/startup_utils.py", line 447, in parse_kickstart
2016-11-07 11:24:06,293 INFO livemedia-creator: ksdata = kickstart.parseKickstart(ks)
2016-11-07 11:24:06,293 INFO livemedia-creator: File "/usr/lib64/python3.5/site-packages/pyanaconda/kickstart.py", line 2152, in parseKickstart
2016-11-07 11:24:06,293 INFO livemedia-creator: udev.trigger(subsystem="block", action="change")
2016-11-07 11:24:06,293 INFO livemedia-creator: File "/usr/lib/python3.5/site-packages/blivet/udev.py", line 81, in trigger
2016-11-07 11:24:06,294 INFO livemedia-creator: util.run_program(["udevadm"] + argv)
2016-11-07 11:24:06,294 INFO livemedia-creator: File "/usr/lib/python3.5/site-packages/blivet/util.py", line 215, in run_program
2016-11-07 11:24:06,294 INFO livemedia-creator: return _run_program(*args, **kwargs)[0]
2016-11-07 11:24:06,294 INFO livemedia-creator: File "/usr/lib/python3.5/site-packages/blivet/util.py", line 189, in _run_program
2016-11-07 11:24:06,295 INFO livemedia-creator: preexec_fn=chroot, cwd=root, env=env)
2016-11-07 11:24:06,295 INFO livemedia-creator: File "/usr/lib64/python3.5/subprocess.py", line 947, in __init__
2016-11-07 11:24:06,295 INFO livemedia-creator: restore_signals, start_new_session)
2016-11-07 11:24:06,295 INFO livemedia-creator: File "/usr/lib64/python3.5/subprocess.py", line 1551, in _execute_child
2016-11-07 11:24:06,295 INFO livemedia-creator: raise child_exception_type(errno_num, err_msg)
2016-11-07 11:24:06,296 INFO livemedia-creator: FileNotFoundError: [Errno 2] No such file or directory: 'udevadm'
2016-11-07 11:24:06,394 ERROR livemedia-creator: Running anaconda failed: process '['anaconda', '--kickstart', '/tmp/koji-image-f26-build-16334204.ks', '--cmdline', '--dirinstall', '--remotelog', '127.0.0.1:46103']' exited with status 1
2016-11-07 11:25:04,290 ERROR livemedia-creator: Install failed: novirt_install failed

Comment 1 Martin Kolman 2016-11-21 12:36:50 UTC
Seems to be Blivet that's calling udevadm, so reassigning:

2016-11-07 11:24:06,293 INFO livemedia-creator: File "/usr/lib/python3.5/site-packages/blivet/udev.py", line 81, in trigger
2016-11-07 11:24:06,294 INFO livemedia-creator: util.run_program(["udevadm"] + argv)

Comment 2 Dennis Gilmore 2017-02-21 16:29:57 UTC
I think this is fixed and this bug can be closed

Comment 3 Fedora End Of Life 2017-02-28 10:34:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.


Note You need to log in before you can comment on or make changes to this bug.