Public bug reported:

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/opal-prd.default
PNOR_DEVICE=/dev/mtd0

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=socket
ExecStart=/usr/sbin/opal-prd

So it ends up starting opal-prd without --pnor, which means the
diagnostics daemon has no access to flash.

** Affects: skiboot (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549098

Title:
  Systemd init script does not pass --pnor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/skiboot/+bug/1549098/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to