Support #34
open
What's the right way to launch "dnf install..." from within a non-root binding ?
Added by Emmanuel Jubera [SAFT] almost 2 years ago.
Updated 10 months ago.
Status:
Submitter feedback needed
Hardware platform:
Solidrun (aarch64)
OS Affects Version/s:
arz-1.0
Description
In order to perform a system update my binding needs to launch dnf install...
.
But dnf can only be launched by user root, whereas my binding is at the moment started as user rp-owner like shown below:
BMS2ORP_BINDING=bms2orp-binding
RP_USER=rp-owner
AFM_CMD="runuser -u ${RP_USER} -- afm-util"
${AFM_CMD} start ${BMS2ORP_BINDING} > /dev/null
Please detail how this problem can be solved within redpesk framework.
- Assignee changed from Vincent Rubiolo to José Bollo
- OS Affects Version/s arz-1.0 added
- OS Affects Version/s deleted (
arz-1.0.0)
- Target version changed from arz-1.0-update to arz-1.0.2
- Status changed from New to Submitter feedback needed
newer version of the spawn-binding are currently evaluated.
We need to get more detail on the need:
- is it "dnf install a-predefined-application"?
- is it "dnf install a-parametric-application"?
- is it also "dnf update/upgrade"?
Hello Jose,
The idea was to have spawn-binding launching a shell script that would run dnf to install a few rpms.
The list of rpms can vary but support for "dnf update/upgrade" isn't required.
Emmanuel.
- Priority changed from High to Normal
Priority decreased to normal as a workaround was developed to allow installation of rpms with dnf
.
- Target version changed from arz-1.0.2 to arz-1.1-update
Also available in: Atom
PDF