** Description changed: - The rsyslog config snippet /etc/rsyslog.d/21-cloudinit.conf ends with the line - & ~ + === Begin SRU Template === + [Impact] + Warning messages in /var/log/syslog on startup: + warning: ~ action is deprecated, consider using the 'stop' statement instead - As of Trusty (well, after Precise) this syntax is deprecated in the shipped rsyslog, resulting in a warning message at rsyslog startup, and should be replaced with - & stop + [Test Case] + Startup proposed lxcs and confirm warning message no longer present + + $ name=proposed-test + $ for release in xenial yakkety zesty; do + $ ref=$release-proposed + $ lxc-proposed-snapshot --proposed --publish $release $ref + $ lxc init $ref $name + $ lxc start $name + $ sleep 10 + $ lxc exec $name grep "warning: ~ action is deprecated, consider using the + 'stop' statemen" /var/log/syslog + # validate cloud-init messages are making it into syslog still + $ lxc exec $name grep cloud-init /var/log/syslog + $ lxc stop $name + $ lxc delete $name + + + [Regression Potential] + Low. oneliner rsyslog change + + [Other Info] + Upstream commit: + https://git.launchpad.net/~powersj/cloud-init/commit/?id=87dcf5769df4e5ce370be753b7d39f5a65cee2f2 + + === End SRU Template ===
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367899 Title: cloud-init rsyslog config uses deprecated syntax To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1367899/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
