Bug 2055070 - util-linux-core scriptlet should be converted to lua?
Summary: util-linux-core scriptlet should be converted to lua?
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2018913
TreeView+ depends on / blocked
 
Reported: 2022-02-16 09:29 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2022-04-07 09:07 UTC (History)
2 users (show)

Fixed In Version: util-linux-2.38-2.fc37
Clone Of:
Environment:
Last Closed: 2022-04-07 09:07:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2022-02-16 09:29:36 UTC
Description of problem:
$ dnf install --installroot=… reports error in scriptlets:

  Installing       : util-linux-core-2.38-0.2.fc36.x86_64  142/166 
  Running scriptlet: util-linux-core-2.38-0.2.fc36.x86_64  142/166 
/var/tmp/rpm-tmp.97khRx: line 2: ln: command not found

If it can't be rewritten in lua, then please at least redirect all
errors to /dev/null.

util-linux-core doesn't declare a dependency on coretuils, so ln not being
there is totally expected. But more dependencies in basic tools is a bad thing,
please don't add it. I hope nothing using /etc/mtab, so silently
skipping the creation of the symlink should be OK too.

Version-Release number of selected component (if applicable):
util-linux-core-2.38-0.2.fc36.x86_64

How reproducible:
deterministic

Steps to Reproduce:
1. sudo dnf install --releasever=rawhide --repo=fedora --installroot=/var/tmp/f36-test3 --nogpgcheck --setopt install_weak_deps=True rpm systemd systemd-resolved

Comment 1 Zbigniew Jędrzejewski-Szmek 2022-04-06 15:31:18 UTC
https://src.fedoraproject.org/rpms/util-linux/pull-request/11 was handling this,
and was merged. So this should be fixed soon, if not already.

Comment 2 Karel Zak 2022-04-07 09:07:57 UTC
Thanks, Zbigniew for all the help! :-)


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