Actions
Support #34
closed
EJ
JB
What's the right way to launch "dnf install..." from within a non-root binding ?
Support #34:
What's the right way to launch "dnf install..." from within a non-root binding ?
Start date:
11/23/2022
Due date:
% Done:
0%
Estimated time:
Hardware platform:
Solidrun (aarch64)
OS Affects Version/s:
arz-1.0
OS Fix Version/s:
Labels:
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.
Actions