** Description changed:

- Expected:
- Have "sosreport -a" collect /etc/postgresql data.
+ [Impact]
  
- What happened instead:
- "sosreport -a" does not collect /etc/postgresql data
+ sosreport does collect postgresql data. 
+ The auto-package detection doesn't seems to work when postgresql is involve.
  
- Running "sosreport -o postgresql" does collect it.
+ The postgresql configuration files should be collected by sosreport on
+ instances that run postgresql databases (Useful in a support context for
+ Landscape On-Premises, etc ...)
  
- Justificaton:
- The postgresql configuration files should be collected by sosreport on 
instances that run postgresql databases.
+ [Test case]
+ 
+ # Synchronize the package index files from system sources.
+  apt-get update
+ 
+ # Install sosreport
+ 
+ # Make sure postgresql is installed on the system.
+ 
+ # Run sosreport
+  sosreport -a
+ 
+ # Look at the generated "sosreport*.tar.xz" file under /tmp for
+ postgresql specfic content.
+ 
+ ** Using 'sosreport -o postgresql' works well because the plugin is
+ specifically mention, and not expecting to auto-detect postgresql. **
+ 
+ [Other informations]
+ 
+ * Upstream Github issue: 
+   https://github.com/sosreport/sos/issues/1103
+ 
+ * Commit:
+  
https://github.com/BryanQuigley/sos/commit/dfa07724a9e11d2ab19f61e496f2f1396d0caea0

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

Title:
  sosreport does not collect /etc/postgresql contents

To manage notifications about this bug go to:
https://bugs.launchpad.net/sosreport/+bug/1737569/+subscriptions

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

Reply via email to