Public bug reported:

---Problem Description---
/var/log/dump is not created by default in Ubuntu 14.04.3
 
Machine Type = P8 
 
---Steps to Reproduce---
Install a P8 Power NV Hardware with Ubuntu 14.04.3 Netboot images.
Then install ppc64-diag packages on the same.

By default the /var/log/dump directory is not getting created.

root@p824l:~# ls -l /var/log/dump
ls: cannot access /var/log/dump: No such file or directory

root@p824l:~# dpkg --list | grep ppc64-diag
ii  ppc64-diag                              2.6.7-0ubuntu1~14.04.1              
    ppc64el      Platform error log analysis tool and rtas_errd daemon

root@p824l:~# dpkg --list | grep powerpc
ii  powerpc-ibm-utils                       1.2.22-1~14.04                      
    ppc64el      utilities for maintenance of IBM PowerPC platforms
ii  powerpc-utils                           1.2.18+r1.1.3-24ubuntu1             
    ppc64el      Various utilities for Linux/PowerPC

 
---uname output---
Linux p824l 3.19.0-21-generic #21~14.04.1-Ubuntu SMP Sun Jun 14 19:45:18 UTC 
2015 ppc64le ppc64le ppc64le GNU/Linux
 

Userspace package: ppc64-diag 2.6.7-0ubuntu1~14.04.1 
 
These are the preinst and postrm scripts to create and remove /var/log/dump
scripts that is where the logs used by ppc64-diag packages are saved.

These two files solve a problem if the directory doesn't exists, as:

"Error accessing output dir: /var/log/dump (2: No such file or
directory)"

Based on
https://github.com/leitao/ppc64-diag/commit/d3074ea82a68bcefc25cbc6cc3e150b10d182f57

Signed-off-by: Breno Leitao <[email protected]>
Signed-off-by: Kamalesh Babulal <[email protected]>

Please refer to
https://bugs.launchpad.net/ubuntu/+source/ppc64-diag/+bug/1353542. Same
bug was reported on 14.10(utopic)

** Affects: ppc64-diag (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: architecture-ppc64le bugnameltc-127114 severity-high 
targetmilestone-inin14043

** Tags added: architecture-ppc64le bugnameltc-127114 severity-high
targetmilestone-inin14043

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

Title:
  [LTCTest][Opal][FW840]/var/log/dump is not created by default in
  Ubuntu 14.04.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ppc64-diag/+bug/1472364/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to