Activity log for bug #1618188

Date Who What changed Old value New value Message
2016-08-29 19:49:09 Mark Stosberg bug added bug
2016-08-29 19:58:16 Martin Pitt systemd (Ubuntu): importance Undecided Wishlist
2016-08-29 19:58:16 Martin Pitt systemd (Ubuntu): status New Triaged
2016-08-30 04:48:52 Martin Pitt bug task added ubuntu-meta (Ubuntu)
2016-08-30 04:49:06 Martin Pitt summary systemd journal should be persistent by default: /var/log/journal should be created systemd journal should be persistent by default: /var/log/journal should be created; remove rsyslog from default installs
2016-08-30 04:49:09 Martin Pitt ubuntu-meta (Ubuntu): status New Triaged
2016-08-30 04:49:11 Martin Pitt ubuntu-meta (Ubuntu): importance Undecided Wishlist
2016-10-13 19:11:53 Sean Ford bug added subscriber Sean
2017-01-10 15:58:52 Bryan Quigley bug added subscriber Bryan Quigley
2017-02-13 17:14:19 Bryan Quigley attachment added systemd_232-17ubuntu2.debdiff https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1618188/+attachment/4818279/+files/systemd_232-17ubuntu2.debdiff
2017-02-13 17:14:57 Bryan Quigley bug added subscriber Ubuntu Sponsors Team
2017-02-13 18:23:33 Dimitri John Ledkov systemd (Ubuntu): assignee Dimitri John Ledkov (xnox)
2017-02-13 18:23:37 Dimitri John Ledkov systemd (Ubuntu): milestone ubuntu-17.02
2017-03-15 01:55:42 Ikuya Awashiro bug added subscriber Ikuya Awashiro
2017-03-29 21:49:59 Nish Aravamudan removed subscriber Ubuntu Sponsors Team
2017-04-28 13:06:04 Lachlan Pease bug added subscriber Lachlan Pease
2017-06-15 20:49:50 Viktor Ryzhaiev bug added subscriber Viktor Ryzhaiev
2017-07-19 08:52:34 Artem Korzhenevskiy bug added subscriber Artem Korzhenevskiy
2017-07-19 22:49:10 Jeremy Bícha bug added subscriber Jeremy Bicha
2017-07-26 14:49:05 Robie Basak bug added subscriber Robie Basak
2017-10-24 07:40:12 Merlijn Sebrechts bug watch added https://github.com/rhboot/fwupdate/issues/86
2017-11-07 11:48:47 Merlijn Sebrechts bug added subscriber Merlijn Sebrechts
2017-11-15 21:39:57 Josh Lee bug added subscriber Josh Lee
2017-12-11 17:08:51 Dimitri John Ledkov summary systemd journal should be persistent by default: /var/log/journal should be created; remove rsyslog from default installs systemd journal should be persistent by default: /var/log/journal should be created
2017-12-11 17:08:56 Dimitri John Ledkov bug task deleted ubuntu-meta (Ubuntu)
2017-12-11 17:09:13 Dimitri John Ledkov nominated for series Ubuntu Bionic
2017-12-11 17:09:13 Dimitri John Ledkov bug task added systemd (Ubuntu Bionic)
2017-12-11 17:09:13 Dimitri John Ledkov nominated for series Ubuntu Zesty
2017-12-11 17:09:13 Dimitri John Ledkov bug task added systemd (Ubuntu Zesty)
2017-12-11 17:09:13 Dimitri John Ledkov nominated for series Ubuntu Xenial
2017-12-11 17:09:13 Dimitri John Ledkov bug task added systemd (Ubuntu Xenial)
2017-12-11 17:09:13 Dimitri John Ledkov nominated for series Ubuntu Artful
2017-12-11 17:09:13 Dimitri John Ledkov bug task added systemd (Ubuntu Artful)
2017-12-30 19:40:58 Launchpad Janitor systemd (Ubuntu Xenial): status New Confirmed
2017-12-30 19:40:58 Launchpad Janitor systemd (Ubuntu Zesty): status New Confirmed
2017-12-30 19:40:58 Launchpad Janitor systemd (Ubuntu Artful): status New Confirmed
2018-01-03 10:51:02 dino99 tags upgrade-software-version
2018-01-03 19:24:22 Launchpad Janitor systemd (Ubuntu Bionic): status Triaged Fix Released
2018-02-03 01:07:41 WinEunuchs2Unix bug added subscriber WinEunuchs2Unix
2018-02-20 15:34:36 Dimitri John Ledkov systemd (Ubuntu Zesty): status Confirmed Won't Fix
2018-02-20 15:40:04 Dimitri John Ledkov systemd (Ubuntu Xenial): status Confirmed In Progress
2018-02-20 15:40:06 Dimitri John Ledkov systemd (Ubuntu Artful): status Confirmed In Progress
2018-02-22 18:06:30 Dimitri John Ledkov description After upgrading 14.04 -> 16.04, key services are now running on systemd and using the systemd journal for logging. In 14.04, key system logs like /var/log/messages and /var/log/syslog were persistent, but after the upgrade to 16.04 there has a been a regression of sorts: Logs sent to systemd's journald are now being thrown away during reboots. This behavior is controlled by the `Storage=` option in `/etc/systemd/journald.conf`. The default setting is `Storage=auto` which will persist logs in `/var/log/journal/`, *only if the directory already exists*. But the directory was not created as part of the 14.04 -> 16.04 upgrade, so logging was being lost for a while before I realized what was happening. This issue could be solved by either creating /var/log/journal or changing the default Storage behavior to `Storage=persistent`, which would create the directory if need be. ## Related reference * `systemd` currently compounds the issue by having ["journal --disk-usage" report memory usage as disk usage](https://github.com/systemd/systemd/issues/4059), giving the impression that the disk is being used for logging when it isn't. * [User wonders where to find logs from previous boots, unaware that the logs were thrown away](http://askubuntu.com/questions/765315/how-to-find-previous-boot-log-after-ubuntu-16-04-restarts) ## Recommended fix Restoring persistent logging as the default is recommended. [Impact] * System logs are lost across reboots because they are not stored persistently. [Test Case] * Fresh installations, or upgrades to this version of systemd, should create /var/log/journal and trigger automatic persistent logs. * Users may choose to remove said directory, or disable persistent logging in /etc/systemd/journald.conf [Regression Potential] * Persistent logging by default will cause logs to be flushed from /run to /var/log, meaning there will be less RAM used (/run is tmpfs backed), but increased disk usage (in /var/log). The journald daemon has limits set for logs, meaning they will be rotated and discarded and should not cause out of disk-space errors. [Other Info] * Original bug report After upgrading 14.04 -> 16.04, key services are now running on systemd and using the systemd journal for logging. In 14.04, key system logs like /var/log/messages and /var/log/syslog were persistent, but after the upgrade to 16.04 there has a been a regression of sorts: Logs sent to systemd's journald are now being thrown away during reboots. This behavior is controlled by the `Storage=` option in `/etc/systemd/journald.conf`. The default setting is `Storage=auto` which will persist logs in `/var/log/journal/`, *only if the directory already exists*. But the directory was not created as part of the 14.04 -> 16.04 upgrade, so logging was being lost for a while before I realized what was happening. This issue could be solved by either creating /var/log/journal or changing the default Storage behavior to `Storage=persistent`, which would create the directory if need be. ## Related reference  * `systemd` currently compounds the issue by having ["journal --disk-usage" report memory usage as disk usage](https://github.com/systemd/systemd/issues/4059), giving the impression that the disk is being used for logging when it isn't.  * [User wonders where to find logs from previous boots, unaware that the logs were thrown away](http://askubuntu.com/questions/765315/how-to-find-previous-boot-log-after-ubuntu-16-04-restarts) ## Recommended fix Restoring persistent logging as the default is recommended.
2018-02-22 18:35:24 Brian Murray systemd (Ubuntu Artful): status In Progress Fix Committed
2018-02-22 18:35:27 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2018-02-22 18:35:32 Brian Murray bug added subscriber SRU Verification
2018-02-22 18:35:50 Brian Murray tags upgrade-software-version upgrade-software-version verification-needed verification-needed-artful
2018-03-19 14:03:56 Dimitri John Ledkov tags upgrade-software-version verification-needed verification-needed-artful upgrade-software-version verification-done-artful verification-needed
2018-03-20 16:12:04 Bryan Quigley bug added subscriber Trent Lloyd
2018-03-21 11:42:35 Launchpad Janitor systemd (Ubuntu Artful): status Fix Committed Fix Released
2018-03-21 11:42:35 Launchpad Janitor cve linked 2017-15908
2018-03-21 11:42:52 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2018-03-26 07:19:15 Jarno Suni bug added subscriber Jarno Suni
2018-03-26 20:39:59 Steve Langasek systemd (Ubuntu Xenial): status In Progress Won't Fix
2018-10-11 11:57:21 William Grant bug added subscriber William Grant
2018-10-11 16:29:12 Haw Loeung bug added subscriber Haw Loeung
2018-10-11 16:30:33 Haw Loeung bug added subscriber The Canonical Sysadmins
2018-10-15 06:02:49 Junien Fridrick bug added subscriber Junien Fridrick
2021-04-26 15:52:03 Simon May bug added subscriber Simon May