Ah, thanks for the improved test case. I've been through the steps (boring transcript below) and also verified the fix.
ubuntu@dradis:~$ systemctl status opal-prd ● opal-prd.service - OPAL PRD daemon Loaded: loaded (/lib/systemd/system/opal-prd.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2018-10-15 02:06:02 UTC; 17s ago Docs: man:opal-prd(8) Main PID: 4545 (opal-prd) Tasks: 1 (limit: 24575) CGroup: /system.slice/opal-prd.service └─4545 /usr/sbin/opal-prd Oct 15 02:06:03 dradis opal-prd[4545]: HBRT: PRDF:<<PRDF::initialize() Oct 15 02:06:03 dradis opal-prd[4545]: HBRT: ATTN_SLOW:I>Service::enableAttns() enter Oct 15 02:06:03 dradis opal-prd[4545]: HBRT: TARG:[TARG] I> getNextTarget: Using next node 1 Oct 15 02:06:03 dradis opal-prd[4545]: HBRT: TARG:[TARG] E> getNextTarget: Node 0 targets: first 0x7ba601bbfc1c, current 0x7ba601bc4b00, last 0x7ba601bc4 Oct 15 02:06:03 dradis opal-prd[4545]: HBRT: TARG:[TARG] E> getNextTarget: Target not found Oct 15 02:06:03 dradis opal-prd[4545]: HBRT: ATTN_SLOW:I>Service::enableAttns() exit Oct 15 02:06:03 dradis opal-prd[4545]: HBRT: ATTN_SLOW:I><<ATTN_RT::enableAttns rc: 0 Oct 15 02:06:03 dradis opal-prd[4545]: HBRT: calling get_ipoll_events Oct 15 02:06:03 dradis opal-prd[4545]: HBRT: enabling IPOLL events 0x5b90000000000000 Oct 15 02:06:03 dradis opal-prd[4545]: FW: writing init message ubuntu@dradis:~$ less /var/log/opal-prd.log ubuntu@dradis:~$ -l /var/log/opal-prd.log -l: command not found ubuntu@dradis:~$ ls -l /var/log/opal-prd.log -rw-r----- 1 syslog adm 34057 Oct 15 02:06 /var/log/opal-prd.log ubuntu@dradis:~$ dplg -^C ubuntu@dradis:~$ sudo systemctl stop opal-prd ubuntu@dradis:~$ sudo /usr/sbin/logrotate -f /etc/logrotate.conf ubuntu@dradis:~$ ls -l /var/log/opal-prd.log -rw-r--r-- 1 root root 0 Oct 15 02:06 /var/log/opal-prd.log ubuntu@dradis:~$ sudo systemctl start opal-prd ubuntu@dradis:~$ less opal-prd opal-prd: No such file or directory ubuntu@dradis:~$ ls -l /var/log/opal-prd.log -rw-r--r-- 1 root root 0 Oct 15 02:06 /var/log/opal-prd.log ubuntu@dradis:~$ sudo systemctl stop opal-prd ubuntu@dradis:~$ dpkg -l opal-prd Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-================================-=====================-=====================-===================================================================== ii opal-prd 5.10~rc4-1ubuntu1 ppc64el OPAL Processor Recovery Diagnostics daemon ubuntu@dradis:~$ wget https://launchpad.net/ubuntu/+archive/primary/+files/opal-prd_5.10~rc4-1ubuntu1.1_ppc64el.deb --2018-10-15 02:07:37-- https://launchpad.net/ubuntu/+archive/primary/+files/opal-prd_5.10~rc4-1ubuntu1.1_ppc64el.deb Resolving launchpad.net (launchpad.net)... 91.189.89.222, 91.189.89.223 Connecting to launchpad.net (launchpad.net)|91.189.89.222|:443... connected. HTTP request sent, awaiting response... 303 See Other Location: https://launchpadlibrarian.net/392511113/opal-prd_5.10~rc4-1ubuntu1.1_ppc64el.deb [following] --2018-10-15 02:07:38-- https://launchpadlibrarian.net/392511113/opal-prd_5.10~rc4-1ubuntu1.1_ppc64el.deb Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.228, 91.189.89.229 Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 47004 (46K) [application/x-debian-package] Saving to: ‘opal-prd_5.10~rc4-1ubuntu1.1_ppc64el.deb’ opal-prd_5.10~rc4-1ubuntu1.1_ppc64el.d 100%[=========================================================================>] 45.90K --.-KB/s in 0.1s 2018-10-15 02:07:38 (359 KB/s) - ‘opal- prd_5.10~rc4-1ubuntu1.1_ppc64el.deb’ saved [47004/47004] ubuntu@dradis:~$ sudo rm /var/log/opal-prd.log ubuntu@dradis:~$ dpkg -i opal-prd_5.10~rc4-1ubuntu1.1_ppc64el.deb dpkg: error: requested operation requires superuser privilege ubuntu@dradis:~$ sudo dpkg -i opal-prd_5.10~rc4-1ubuntu1.1_ppc64el.deb (Reading database ... 64816 files and directories currently installed.) Preparing to unpack opal-prd_5.10~rc4-1ubuntu1.1_ppc64el.deb ... Unpacking opal-prd (5.10~rc4-1ubuntu1.1) over (5.10~rc4-1ubuntu1) ... Setting up opal-prd (5.10~rc4-1ubuntu1.1) ... Installing new version of config file /etc/logrotate.d/opal-prd ... Processing triggers for ureadahead (0.100.0-20) ... Processing triggers for systemd (237-3ubuntu10.3) ... Processing triggers for rsyslog (8.32.0-1ubuntu4) ... Processing triggers for man-db (2.8.3-2) ... ubuntu@dradis:~$ sudo systemctl start opal-prd ubuntu@dradis:~$ ls -l /var/log/opal-prd.log -rw-r----- 1 syslog syslog 63555 Oct 15 02:08 /var/log/opal-prd.log ubuntu@dradis:~$ sudo systemctl stop opal-prd ubuntu@dradis:~$ sudo /usr/sbin/logrotate -f /etc/logrotate.conf ubuntu@dradis:~$ ls -l /var/log/opal-prd.log -rw-r--r-- 1 syslog syslog 0 Oct 15 02:08 /var/log/opal-prd.log ubuntu@dradis:~$ sudo systemctl start opal-prd ubuntu@dradis:~$ ls -l /var/log/opal-prd.log -rw-r--r-- 1 syslog syslog 63555 Oct 15 02:08 /var/log/opal-prd.log ** Tags removed: verification-needed verification-needed-bionic ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1785026 Title: [LTCTest][OPAL][OP920] OPAL PRD generated logs is not available in /var/log/opal-prd.log file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1785026/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs