[Bug 296129] Re: live Installer may rotate syslog during install and copy only a portion to /target/var/log/installer/syslog
Marcus Tomlinson
marcus.tomlinson at canonical.com
Thu Mar 5 11:43:10 UTC 2020
This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.
** Changed in: ubiquity (Ubuntu)
Status: Triaged => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/296129
Title:
live Installer may rotate syslog during install and copy only a
portion to /target/var/log/installer/syslog
Status in ubiquity package in Ubuntu:
Incomplete
Status in ubiquity source package in Precise:
Triaged
Bug description:
The Ubuntu Live CD includes the sysklogd package, which is used for
logging the install to /var/log/syslog. The syslog is copied to
/target/var/log/installer/syslog at the end of installation. The
sysklogd package installs a syslog rotation script into
/etc/cron.weekly/sysklogd which runs at 6:47 AM on Sunday. If an
install happens to span across this time, then the log gets rotated
during the install. As a result, the syslog that gets copied to
/target/var/log/installer/syslog doesn't contain the entire installer
log.
I'm seeing this in the intrepid installer. It may exist in previous
versions, but I didn't check. I'm not certain what component to file
the bug under, since it's a file from the sysklogd package that's
causing the problem, but the problem is specific only to the install
cd.
To reproduce, run an install when the computer's clock is going to
pass 6:47 AM on a sunday morning and observe the log file after the
install finishes. One would expect the see the entire installer log,
but in fact only sees the portion that occured after log rotation.
I propose that the live cd either does not rotate logs, or that log
rotation be disabled during an installation.
TEST CASE
1) Boot Live CD to Try Ubuntu
2) Adjust Date one day into the future
3) Execute 'sudo /etc/cron.daily/logrotate'
4) Observe 2 syslog files in /var/log/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/296129/+subscriptions
More information about the foundations-bugs
mailing list