[Bug 1356211] Re: cannot collect rotated syslog.1
** Tags removed: sts-sru-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356211 Title: cannot collect rotated syslog.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1356211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1356211] Re: cannot collect rotated syslog.1
** Changed in: sosreport (Ubuntu Trusty) Assignee: Louis Bouchard (louis) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356211 Title: cannot collect rotated syslog.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1356211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1356211] Re: cannot collect rotated syslog.1
** Tags removed: sts-sru ** Tags added: sts-sru-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356211 Title: cannot collect rotated syslog.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1356211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1356211] Re: cannot collect rotated syslog.1
** Tags added: sts-sru -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356211 Title: cannot collect rotated syslog.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1356211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1356211] Re: cannot collect rotated syslog.1
** Changed in: sosreport (Ubuntu Trusty) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356211 Title: cannot collect rotated syslog.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1356211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1356211] Re: cannot collect rotated syslog.1
** Description changed: - Cannot collect rotated syslog.1 or syslog.2.gz by sosreport. If syslog - is rotated daily, syslog only contains logs in less than 24 hours. + [SRU justification] + All rotated logs may be required for analysis + + [Impact] + Missing log information without this fix. + + [Fix] + Collect all the rotated logs. + + [Test Case] + Without the fix, running sosreport will only collect the current log in /var/log. + + With the fix,all the rotated logfiles will be collected. + + [Regression] + None expected, this modification is already running in X,Y & Z + + [Original description of the problem] + Cannot collect rotated syslog.1 or syslog.2.gz by sosreport. If syslog is rotated daily, syslog only contains logs in less than 24 hours. I expect sosreport collects syslog and syslog.1 to see logs at least for 24 hours. Or it would be nice if sosreport has options to switch to collect old logs or not. $ sudo logrotate -f /etc/logrotate.conf $ ls -alF /var/log/syslog* -rw-r- 1 syslog adm 1984 Aug 13 16:12 /var/log/syslog -rw-r- 1 syslog adm 30816 Aug 13 16:11 /var/log/syslog.1 -rw-r- 1 syslog adm 1332 Aug 13 15:55 /var/log/syslog.2.gz -rw-r- 1 syslog adm 6095 Aug 13 15:43 /var/log/syslog.3.gz $ sudo sosreport -a -l | grep logs - logs Basic system information for Debian based distributions - logs Basic system information for Ubuntu based distributions - apache.logon gathers all apache logs - auditd.logsize15 maximum size (MiB) of logs to collect - logs.logsize 15 max size (MiB) to collect per syslog file - logs.all_logs on collect all log files defined in syslog.conf - logs.logsize 15 max size (MiB) to collect per syslog file - logs.all_logs on collect all log files defined in syslog.conf - nscd.nscdlogsize 50 max size (MiB) to collect per nscd log file - openstack-cinder.log on gathers openstack cinder logs - openstack-glance.log on gathers openstack-glance logs - openstack-keystone.logon gathers openstack keystone logs - openstack-swift.log on gathers openstack-swift logs + logs Basic system information for Debian based distributions + logs Basic system information for Ubuntu based distributions + apache.logon gathers all apache logs + auditd.logsize15 maximum size (MiB) of logs to collect + logs.logsize 15 max size (MiB) to collect per syslog file + logs.all_logs on collect all log files defined in syslog.conf + logs.logsize 15 max size (MiB) to collect per syslog file + logs.all_logs on collect all log files defined in syslog.conf + nscd.nscdlogsize 50 max size (MiB) to collect per nscd log file + openstack-cinder.log on gathers openstack cinder logs + openstack-glance.log on gathers openstack-glance logs + openstack-keystone.logon gathers openstack keystone logs + openstack-swift.log on gathers openstack-swift logs $ sudo sosreport -a --batch $ sudo tar tf /tmp/sosreport-nobuto-local-machine-1-20140813161158.tar.xz | grep syslog sosreport-nobuto-local-machine-1-20140813161158/var/log/juju/rsyslog-cert.pem sosreport-nobuto-local-machine-1-20140813161158/var/log/juju/rsyslog-key.pem sosreport-nobuto-local-machine-1-20140813161158/var/log/syslog sosreport-nobuto-local-machine-1-20140813161158/etc/logrotate.d/rsyslog sosreport-nobuto-local-machine-1-20140813161158/etc/rsyslog.conf sosreport-nobuto-local-machine-1-20140813161158/etc/default/rsyslog sosreport-nobuto-local-machine-1-20140813161158/etc/init/rsyslog.conf ^ syslog.1 is not collected. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: sosreport 3.1-1ubuntu2 ProcVersionSignature: User Name 3.16.0-6.11-generic 3.16.0-rc7 Uname: Linux 3.16.0-6-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 Date: Wed Aug 13 15:52:09 2014 Dependencies: python3-six 1.5.2-1 ProcEnviron: - TERM=xterm - PATH=(custom, no user) - LANG=en_US.UTF-8 - SHELL=/bin/bash + TERM=xterm + PATH=(custom, no user) + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: sosreport UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356211 Title: cannot collect rotated syslog.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1356211/+s
[Bug 1356211] Re: cannot collect rotated syslog.1
** Also affects: sosreport (Ubuntu Yakkety) Importance: Undecided Status: New ** Also affects: sosreport (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: sosreport (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: sosreport (Ubuntu Yakkety) Status: New => Fix Released ** Changed in: sosreport (Ubuntu Xenial) Status: New => Fix Released ** Changed in: sosreport (Ubuntu Trusty) Status: New => Triaged ** Changed in: sosreport (Ubuntu Trusty) Importance: Undecided => Medium ** Changed in: sosreport (Ubuntu Trusty) Assignee: (unassigned) => Louis Bouchard (louis-bouchard) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356211 Title: cannot collect rotated syslog.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1356211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1356211] Re: cannot collect rotated syslog.1
** Changed in: sosreport (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356211 Title: cannot collect rotated syslog.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1356211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1356211] Re: cannot collect rotated syslog.1
Merged upstream -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356211 Title: cannot collect rotated syslog.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1356211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1356211] Re: cannot collect rotated syslog.1
Take two: https://github.com/sosreport/sos/pull/524 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356211 Title: cannot collect rotated syslog.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1356211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1356211] Re: cannot collect rotated syslog.1
Just pushed this https://github.com/sosreport/sos/pull/427 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356211 Title: cannot collect rotated syslog.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1356211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1356211] Re: cannot collect rotated syslog.1
** Changed in: sosreport (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356211 Title: cannot collect rotated syslog.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1356211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs