Hi,
the log file mode is dealt with by logrotate. So restarting opal-prd won't make 
logrotate start and change anything (logrotate is called from crontab). The 
test case would rather be :

[Test Case]
- install fixed version of opal-prd package
- stop opal-prd daemon : sudo systemctl stop opal-prd
- force log rotation : sudo /usr/sbin/logrotate -f /etc/logrotate.conf
- check whether opal-prd logs /var/log/opal-prd.log file has 644 mode and non 
root owner.
- start opal-prd daemon : sudo systemctl start opal-prd : at that point 
opal-prd should just re-use the log with the proper mode.

That worked well for me with opal-prd 5.10~rc4-1ubuntu1.1 from bionic-
proposed.

F.

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to