Activity log for bug #1521931

Date Who What changed Old value New value Message
2015-12-02 09:56:06 Pavel Volkovitskiy bug added bug
2015-12-02 09:56:51 Pavel Volkovitskiy bug task added rsyslog (Ubuntu)
2015-12-02 09:57:43 Pavel Volkovitskiy description Environment: ubuntu 15.04 with upstart and without apparmor I tried to upgrade my ubuntu image to 15.10 and upgrading breaks on rsyslog: start: Job failed to start i checked dmesg and found this: [ 525.832963] init: rsyslog pre-start process (3078) [ 525.833007] init: rsyslog state changed from pre-starting to pre-start [ 525.834464] init: rsyslog pre-start process (3078) terminated with status 1 [ 525.834639] init: rsyslog goal changed from start to stop so i looked in pre-start: pre-start script /lib/init/apparmor-profile-load usr.sbin.rsyslogd end script and then in /lib/init/apparmor-profile-load: #!/bin/sh [ -x /lib/apparmor/profile-load ] && exec /lib/apparmor/profile-load "$@" in my case where is no "/lib/apparmor/profile-load" file, so this scripts return 1, which breaks pre-start and breaks rsyslog starting I guess that if /lib/init/apparmor-profile-load script checks if file exists, it should return 0 in case then file doesn't exist Environment: ubuntu 15.04 with upstart and without apparmor I tried to upgrade my ubuntu image to 15.10 and upgrading breaks on rsyslog: start: Job failed to start i checked dmesg and found this: [ 525.832963] init: rsyslog pre-start process (3078) [ 525.833007] init: rsyslog state changed from pre-starting to pre-start [ 525.834464] init: rsyslog pre-start process (3078) terminated with status 1 [ 525.834639] init: rsyslog goal changed from start to stop so i looked in pre-start: pre-start script     /lib/init/apparmor-profile-load usr.sbin.rsyslogd end script and then in /lib/init/apparmor-profile-load: #!/bin/sh [ -x /lib/apparmor/profile-load ] && exec /lib/apparmor/profile-load "$@" in my case where is no "/lib/apparmor/profile-load" file, so this scripts return 1, which breaks pre-start and breaks rsyslog starting I guess that if /lib/init/apparmor-profile-load script checks if file exists, it should return 0 in case then file doesn't exist
2015-12-03 16:14:48 Robie Basak bug added subscriber Robie Basak
2015-12-03 16:14:56 Robie Basak init-system-helpers (Ubuntu): importance Undecided Low
2015-12-03 16:14:59 Robie Basak rsyslog (Ubuntu): importance Undecided Low
2015-12-03 16:15:08 Robie Basak bug added subscriber Martin Pitt
2015-12-03 16:15:13 Robie Basak bug added subscriber Serge Hallyn
2015-12-04 02:46:43 Serge Hallyn nominated for series Ubuntu Wily
2015-12-04 02:46:43 Serge Hallyn bug task added rsyslog (Ubuntu Wily)
2015-12-04 02:46:43 Serge Hallyn bug task added init-system-helpers (Ubuntu Wily)
2015-12-04 02:49:14 Serge Hallyn bug task added upstart (Ubuntu)
2015-12-04 02:49:28 Serge Hallyn bug task deleted upstart (Ubuntu Wily)
2015-12-04 02:49:37 Serge Hallyn init-system-helpers (Ubuntu): status New Invalid
2015-12-04 02:49:50 Serge Hallyn init-system-helpers (Ubuntu Wily): status New Confirmed
2015-12-04 02:49:58 Serge Hallyn upstart (Ubuntu): status New Confirmed
2015-12-04 03:18:49 Serge Hallyn description Environment: ubuntu 15.04 with upstart and without apparmor I tried to upgrade my ubuntu image to 15.10 and upgrading breaks on rsyslog: start: Job failed to start i checked dmesg and found this: [ 525.832963] init: rsyslog pre-start process (3078) [ 525.833007] init: rsyslog state changed from pre-starting to pre-start [ 525.834464] init: rsyslog pre-start process (3078) terminated with status 1 [ 525.834639] init: rsyslog goal changed from start to stop so i looked in pre-start: pre-start script     /lib/init/apparmor-profile-load usr.sbin.rsyslogd end script and then in /lib/init/apparmor-profile-load: #!/bin/sh [ -x /lib/apparmor/profile-load ] && exec /lib/apparmor/profile-load "$@" in my case where is no "/lib/apparmor/profile-load" file, so this scripts return 1, which breaks pre-start and breaks rsyslog starting I guess that if /lib/init/apparmor-profile-load script checks if file exists, it should return 0 in case then file doesn't exist ============================================================================== [ SRU Justification ] 1. Impact: users with upstart and without apparmor have init jobs failing to start 2. Test case: apt-get purge apparmor; apt-get install upstart-sysv; apt-get install rsyslog rsyslog will fail to start 3. Regression potential: we only exit 0 at the end of the script - nothing will change in cases where apparmor is installed. ============================================================================== Environment: ubuntu 15.04 with upstart and without apparmor I tried to upgrade my ubuntu image to 15.10 and upgrading breaks on rsyslog: start: Job failed to start i checked dmesg and found this: [ 525.832963] init: rsyslog pre-start process (3078) [ 525.833007] init: rsyslog state changed from pre-starting to pre-start [ 525.834464] init: rsyslog pre-start process (3078) terminated with status 1 [ 525.834639] init: rsyslog goal changed from start to stop so i looked in pre-start: pre-start script     /lib/init/apparmor-profile-load usr.sbin.rsyslogd end script and then in /lib/init/apparmor-profile-load: #!/bin/sh [ -x /lib/apparmor/profile-load ] && exec /lib/apparmor/profile-load "$@" in my case where is no "/lib/apparmor/profile-load" file, so this scripts return 1, which breaks pre-start and breaks rsyslog starting I guess that if /lib/init/apparmor-profile-load script checks if file exists, it should return 0 in case then file doesn't exist
2015-12-04 03:18:57 Serge Hallyn bug added subscriber Ubuntu Stable Release Updates Team
2015-12-07 15:17:56 Launchpad Janitor upstart (Ubuntu): status Confirmed Fix Released
2015-12-09 14:41:20 Chris J Arges init-system-helpers (Ubuntu Wily): status Confirmed Fix Committed
2015-12-09 14:41:23 Chris J Arges bug added subscriber SRU Verification
2015-12-09 14:41:33 Chris J Arges tags verification-needed
2016-02-03 14:00:41 Launchpad Janitor branch linked lp:~ubuntu-core-dev/upstart/ubuntu
2016-03-09 20:30:11 Ubuntu Foundations Team Bug Bot tags verification-needed removal-candidate verification-needed
2016-03-10 20:03:43 Serge Hallyn tags removal-candidate verification-needed removal-candidate verification-done
2016-05-12 13:53:04 Launchpad Janitor init-system-helpers (Ubuntu Wily): status Fix Committed Fix Released
2016-05-12 13:53:08 Martin Pitt removed subscriber Ubuntu Stable Release Updates Team