Systemd init script does not pass --pnor
Bug #1549098 reported by
Jeremy Kerr
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
skiboot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We have a --pnor option that almost all opal-prd invocations will need. In the debian packaging, we have an /etc/defaults file that controls this:
[jk@pudge skiboot-5.1.1]$ grep PNOR debian/
PNOR_DEVICE=
This is consumed by the sysv init script for opal-prd:
if [ "$PNOR_DEVICE" ]
then
PNOR_OPTS="--pnor $PNOR_DEVICE"
fi
However, the systemd init script has no way of handing this:
[Service]
StandardInput=
ExecStart=
So it ends up starting opal-prd without --pnor, which means the diagnostics daemon has no access to flash.
tags: | added: taco-screen-team |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.