Activity log for bug #2040924

Date Who What changed Old value New value Message
2023-10-25 23:27:14 Steve Langasek bug added bug
2023-10-25 23:31:03 Brian Murray bug added subscriber Brian Murray
2023-11-23 21:44:44 Mitch Burton landscape-client (Ubuntu): assignee Mitch Burton (mitchburton)
2023-11-23 22:05:21 Mitch Burton landscape-client (Ubuntu): status New Confirmed
2023-11-23 22:24:48 Mitch Burton landscape-client (Ubuntu): status Confirmed In Progress
2023-11-23 23:41:32 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchburton/ubuntu/+source/landscape-client/+git/landscape-client/+merge/456212
2023-11-23 23:43:03 Mitch Burton bug task added landscape-client
2023-11-23 23:43:09 Mitch Burton landscape-client: assignee Mitch Burton (mitchburton)
2023-11-25 18:47:19 Launchpad Janitor landscape-client (Ubuntu): status In Progress Fix Released
2023-11-25 19:23:37 Mitch Burton landscape-client: status New In Progress
2023-12-04 16:42:53 Andreas Hasenack landscape-client (Ubuntu): status Fix Released Confirmed
2023-12-04 16:42:56 Andreas Hasenack landscape-client (Ubuntu): importance Undecided High
2023-12-05 00:07:45 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchburton/ubuntu/+source/landscape-client/+git/landscape-client/+merge/454432
2023-12-05 00:10:38 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchburton/ubuntu/+source/landscape-client/+git/landscape-client/+merge/454434
2023-12-05 00:10:43 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchburton/ubuntu/+source/landscape-client/+git/landscape-client/+merge/454433
2023-12-11 13:30:49 Andreas Hasenack bug added subscriber Andreas Hasenack
2024-01-05 19:52:17 Launchpad Janitor landscape-client (Ubuntu): status Confirmed Fix Released
2024-02-15 01:16:26 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchburton/ubuntu/+source/landscape-client/+git/landscape-client/+merge/460556
2024-02-16 00:28:34 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchburton/ubuntu/+source/landscape-client/+git/landscape-client/+merge/460639
2024-02-16 00:30:17 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchburton/ubuntu/+source/landscape-client/+git/landscape-client/+merge/460640
2024-02-27 19:00:54 Andreas Hasenack nominated for series Ubuntu Focal
2024-02-27 19:00:54 Andreas Hasenack bug task added landscape-client (Ubuntu Focal)
2024-02-27 19:00:54 Andreas Hasenack nominated for series Ubuntu Jammy
2024-02-27 19:00:54 Andreas Hasenack bug task added landscape-client (Ubuntu Jammy)
2024-02-27 19:01:33 Andreas Hasenack nominated for series Ubuntu Mantic
2024-02-27 19:01:33 Andreas Hasenack bug task added landscape-client (Ubuntu Mantic)
2024-03-04 22:11:55 Mitch Burton description landscape-common in mantic has regressed the autopkgtests for update-motd. The landscape-common package is installed in the cloud images, and as a result its update-motd hook is called as part of the autopkgtest. And for whatever reason, in mantic and later, this hook now produces an error message on stdout that evidently was not there before: [...] 416s /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied 417s autopkgtest [23:07:30]: test show-motd: -----------------------] 421s autopkgtest [23:07:34]: test show-motd: - - - - - - - - - - results - - - - - - - - - - 421s show-motd FAIL stderr: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied 421s autopkgtest [23:07:34]: test show-motd: - - - - - - - - - - stderr - - - - - - - - - - 421s /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied https://autopkgtest.ubuntu.com/packages/u/update-motd/mantic/amd64 The existence of the show-motd package implies that users are meant to be able to execute the update-motd hooks. So these hooks should not spew error messages when run as non-root. landscape-common in mantic has regressed the autopkgtests for update-motd. The landscape-common package is installed in the cloud images, and as a result its update-motd hook is called as part of the autopkgtest. And for whatever reason, in mantic and later, this hook now produces an error message on stdout that evidently was not there before: [...] 416s /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied 417s autopkgtest [23:07:30]: test show-motd: -----------------------] 421s autopkgtest [23:07:34]: test show-motd: - - - - - - - - - - results - - - - - - - - - - 421s show-motd FAIL stderr: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied 421s autopkgtest [23:07:34]: test show-motd: - - - - - - - - - - stderr - - - - - - - - - - 421s /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied https://autopkgtest.ubuntu.com/packages/u/update-motd/mantic/amd64 The existence of the show-motd package implies that users are meant to be able to execute the update-motd hooks. So these hooks should not spew error messages when run as non-root. [ Impact ] * landscape-common's sysinfo motd executable relies on a cache file in a location where permissions that are too strict - a user cannot execute the update-motd hooks without errors. * backporting is justified because this permissions issue exists in previous versions, but it only manifests if the cache is old enough. It breaks show-motd tests if the cache file is more than 60s old by the time its tests run. [ Test Plan ] To reproduce, ensure that /var/lib/landscape-sysinfo.cache does not exist, then run run-parts /etc/update-motd.d/ as a non-root user. The output will contain the line: /etc/update-motd.d//50-landscape-sysinfo: 17: cannot create /var/lib/landscape-sysinfo.cache: Permission denied [ Where problems could occur ] Changes to landscape-sysinfo could potential break motd in other ways. This would manifest as other error messages in the motd or the motd failing to be displayed or updated. [ Other Info ] * Related upstream changes: * https://github.com/canonical/landscape-client/pull/201 * https://github.com/canonical/landscape-client/pull/219
2024-03-05 18:25:27 Mitch Burton description landscape-common in mantic has regressed the autopkgtests for update-motd. The landscape-common package is installed in the cloud images, and as a result its update-motd hook is called as part of the autopkgtest. And for whatever reason, in mantic and later, this hook now produces an error message on stdout that evidently was not there before: [...] 416s /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied 417s autopkgtest [23:07:30]: test show-motd: -----------------------] 421s autopkgtest [23:07:34]: test show-motd: - - - - - - - - - - results - - - - - - - - - - 421s show-motd FAIL stderr: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied 421s autopkgtest [23:07:34]: test show-motd: - - - - - - - - - - stderr - - - - - - - - - - 421s /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied https://autopkgtest.ubuntu.com/packages/u/update-motd/mantic/amd64 The existence of the show-motd package implies that users are meant to be able to execute the update-motd hooks. So these hooks should not spew error messages when run as non-root. [ Impact ] * landscape-common's sysinfo motd executable relies on a cache file in a location where permissions that are too strict - a user cannot execute the update-motd hooks without errors. * backporting is justified because this permissions issue exists in previous versions, but it only manifests if the cache is old enough. It breaks show-motd tests if the cache file is more than 60s old by the time its tests run. [ Test Plan ] To reproduce, ensure that /var/lib/landscape-sysinfo.cache does not exist, then run run-parts /etc/update-motd.d/ as a non-root user. The output will contain the line: /etc/update-motd.d//50-landscape-sysinfo: 17: cannot create /var/lib/landscape-sysinfo.cache: Permission denied [ Where problems could occur ] Changes to landscape-sysinfo could potential break motd in other ways. This would manifest as other error messages in the motd or the motd failing to be displayed or updated. [ Other Info ] * Related upstream changes: * https://github.com/canonical/landscape-client/pull/201 * https://github.com/canonical/landscape-client/pull/219 landscape-common in mantic has regressed the autopkgtests for update-motd. The landscape-common package is installed in the cloud images, and as a result its update-motd hook is called as part of the autopkgtest. And for whatever reason, in mantic and later, this hook now produces an error message on stdout that evidently was not there before: [...] 416s /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied 417s autopkgtest [23:07:30]: test show-motd: -----------------------] 421s autopkgtest [23:07:34]: test show-motd: - - - - - - - - - - results - - - - - - - - - - 421s show-motd FAIL stderr: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied 421s autopkgtest [23:07:34]: test show-motd: - - - - - - - - - - stderr - - - - - - - - - - 421s /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied https://autopkgtest.ubuntu.com/packages/u/update-motd/mantic/amd64 The existence of the show-motd package implies that users are meant to be able to execute the update-motd hooks. So these hooks should not spew error messages when run as non-root. [ Impact ]  * landscape-common's sysinfo motd executable relies on a cache file in a    location where permissions that are too strict - a user cannot execute    the update-motd hooks without errors.  * backporting is justified because this permissions issue exists in previous    versions, but it only manifests if the cache is old enough. It breaks    show-motd tests if the cache file is more than 60s old by the time its tests    run. * fixing this includes not attempting to create the cache file in landscape-sysinfo when permission issues prevent doing so. [ Test Plan ] To reproduce, ensure that /var/lib/landscape-sysinfo.cache does not exist, then run      run-parts /etc/update-motd.d/  as a non-root user. The output will contain the line:        /etc/update-motd.d//50-landscape-sysinfo: 17: cannot create /var/lib/landscape-sysinfo.cache: Permission denied When fixed, the run-parts output will not contain the Permission denied error and the autopkgtest for show-motd should not fail on stderr output. [ Where problems could occur ] Changes to landscape-sysinfo could potential break motd in other ways. This would manifest as other error messages in the motd or the motd failing to be displayed or updated. [ Other Info ]  * Related upstream changes:    * https://github.com/canonical/landscape-client/pull/201    * https://github.com/canonical/landscape-client/pull/219
2024-03-05 18:57:15 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchburton/ubuntu/+source/landscape-client/+git/landscape-client/+merge/461833
2024-03-22 10:23:53 Timo Aaltonen landscape-client (Ubuntu Mantic): status New Fix Committed
2024-03-22 10:23:54 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2024-03-22 10:23:56 Timo Aaltonen bug added subscriber SRU Verification
2024-03-22 10:24:00 Timo Aaltonen tags verification-needed verification-needed-mantic
2024-03-27 09:14:20 Timo Aaltonen landscape-client (Ubuntu Jammy): status New Fix Committed
2024-03-27 09:14:24 Timo Aaltonen tags verification-needed verification-needed-mantic verification-needed verification-needed-jammy verification-needed-mantic
2024-03-27 09:17:18 Timo Aaltonen landscape-client (Ubuntu Focal): status New Fix Committed
2024-03-27 09:17:21 Timo Aaltonen tags verification-needed verification-needed-jammy verification-needed-mantic verification-needed verification-needed-focal verification-needed-jammy verification-needed-mantic
2024-03-27 20:56:08 Mitch Burton tags verification-needed verification-needed-focal verification-needed-jammy verification-needed-mantic verification-done verification-done-focal verification-done-jammy verification-done-mantic
2024-03-27 23:06:20 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchburton/ubuntu/+source/landscape-client/+git/landscape-client/+merge/463237
2024-04-23 17:36:53 Timo Aaltonen tags verification-done verification-done-focal verification-done-jammy verification-done-mantic verification-done-focal verification-done-jammy verification-needed verification-needed-mantic
2024-04-23 22:53:10 Mitch Burton tags verification-done-focal verification-done-jammy verification-needed verification-needed-mantic verification-done verification-done-focal verification-done-jammy verification-done-mantic
2024-05-02 13:17:16 Launchpad Janitor landscape-client (Ubuntu Mantic): status Fix Committed Fix Released
2024-05-02 13:17:29 Andreas Hasenack removed subscriber Ubuntu Stable Release Updates Team
2024-05-02 13:17:46 Launchpad Janitor landscape-client (Ubuntu Jammy): status Fix Committed Fix Released
2024-05-02 13:18:11 Launchpad Janitor landscape-client (Ubuntu Focal): status Fix Committed Fix Released
2024-05-02 16:54:46 Mitch Burton landscape-client: status In Progress Fix Released