[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-05-02 Thread Launchpad Bug Tracker
This bug was fixed in the package landscape-client -
23.02-0ubuntu1~20.04.2

---
landscape-client (23.02-0ubuntu1~20.04.2) focal; urgency=medium

  * d/p/0001-start-service-during-config.patch: fix landscape-config does not
start landscape-client service (LP: #2040189)
  * d/landscape-sysinfo.wrapper: fix handle using cache when permissions allow
(LP: #2040924)

landscape-client (23.02-0ubuntu1~20.04.1) focal; urgency=medium

  * Backporting release 23.02 for SRU (LP: #2006402):
- Service is no longer stopped on upgrade (LP: #2027613)

 -- Mitch Burton   Wed, 14 Feb 2024 15:34:10
-0800

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-05-02 Thread Launchpad Bug Tracker
This bug was fixed in the package landscape-client - 23.08-0ubuntu1.2

---
landscape-client (23.08-0ubuntu1.2) mantic; urgency=medium

  * avoid stopping services on upgrade (LP: #2027613)
- d/rules: use default dh_installsystemd behaviour
- d/landscape-client.service: check registration status before starting
  service

landscape-client (23.08-0ubuntu1.1) mantic; urgency=medium

  * d/p/0001-start-service-during-config.patch: fix landscape-config does not
start landscape-client service (LP: #2040189)
  * d/landscape-sysinfo.wrapper: fix handler using cache when permissions
allow (LP: #2040924)

 -- Mitch Burton   Mon, 22 Apr 2024 10:20:29
-0700

** Changed in: landscape-client (Ubuntu Mantic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-04-23 Thread Mitch Burton
Tested in mantic using landscape-client and landscape-common versions
23.08-0ubuntu1.2, as ubuntu user in a fresh container: - lxc launch
ubuntu:mantic

ubuntu@powerful-lion:~$ sudo rm -f /var/lib/landscape-sysinfo.cache # just to 
be sure
ubuntu@powerful-lion:~$ run-parts /etc/update-motd.d/
Welcome to Ubuntu 23.10 (GNU/Linux 6.5.0-27-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support:https://ubuntu.com/pro

 System information disabled due to load higher than 1.0

25 updates can be applied immediately.
19 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable



Ran show-motd autopkgtest with the following diff (as mentioned by
Andreas previously to reproduce the bug)

--- a/debian/tests/show-motd
+++ b/debian/tests/show-motd
@@ -2,6 +2,9 @@

 unset MOTD_SHOWN

+echo "Sleeping 60s"
+sleep 60
+echo "Continuing"
 RET=0
 bash -i -c '. /etc/profile.d/update-motd.sh' 2> stdout || RET=$?
 egrep -v '(bash: cannot set terminal process group|no job control in this 
shell)' stdout >&2 || true

On mantic with -proposed enabled and landscape-common=23.08-0ubuntu1.2.
Tests passed:

autopkgtest [15:51:54]:  summary
show-motdPASS
update-motd  PASS


** Tags removed: verification-needed verification-needed-mantic
** Tags added: verification-done verification-done-mantic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-04-23 Thread Timo Aaltonen
Hello Steve, or anyone else affected,

Accepted landscape-client into mantic-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/landscape-
client/23.08-0ubuntu1.2 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
mantic to verification-done-mantic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-mantic. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Tags removed: verification-done verification-done-mantic
** Tags added: verification-needed verification-needed-mantic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-03-27 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~mitchburton/ubuntu/+source/landscape-client/+git/landscape-client/+merge/463237

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-03-27 Thread Mitch Burton
Ran show-motd autopkgtest with the following diff (as mentioned by
Andreas previously to reproduce the bug)

--- a/debian/tests/show-motd
+++ b/debian/tests/show-motd
@@ -2,6 +2,9 @@
 
 unset MOTD_SHOWN
 
+echo "Sleeping 60s"
+sleep 60
+echo "Continuing"
 RET=0
 bash -i -c '. /etc/profile.d/update-motd.sh' 2> stdout || RET=$?
 egrep -v '(bash: cannot set terminal process group|no job control in this 
shell)' stdout >&2 || true

On mantic, focal, and jammy with -proposed enabled. Results were
identical, with tests passing:

autopkgtest [13:15:52]:  summary
show-motdPASS
update-motd  PASS

** Tags removed: verification-needed verification-needed-focal 
verification-needed-jammy verification-needed-mantic
** Tags added: verification-done verification-done-focal 
verification-done-jammy verification-done-mantic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-03-27 Thread Mitch Burton
Tested in mantic using landscape-client and landscape-common versions
23.08-0ubuntu1.1, as ubuntu user in a fresh container: - lxc launch
ubuntu:mantic

$ sudo rm -f /var/lib/landscape-sysinfo.cache  # just to be sure
$ run-parts /etc/update-motd.d/
Welcome to Ubuntu 23.10 (GNU/Linux 6.5.0-25-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support:https://ubuntu.com/pro

 System information disabled due to load higher than 1.0

0 updates can be applied immediately.

No errors in motd output, no /var/lib/landscape-sysinfo.cache created.

Tested in focal using landscape-client and landscape-common versions
23.02-0ubuntu1~20.04.2, with same results.

Tested in jammy using landscape-client and landscape-common versions
23.02-0ubuntu1~22.04.2, with same results.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-03-27 Thread Timo Aaltonen
Hello Steve, or anyone else affected,

Accepted landscape-client into jammy-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/landscape-
client/23.02-0ubuntu1~22.04.2 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: landscape-client (Ubuntu Jammy)
   Status: New => Fix Committed

** Tags added: verification-needed-jammy

** Changed in: landscape-client (Ubuntu Focal)
   Status: New => Fix Committed

** Tags added: verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-03-22 Thread Timo Aaltonen
Hello Steve, or anyone else affected,

Accepted landscape-client into mantic-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/landscape-
client/23.08-0ubuntu1.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
mantic to verification-done-mantic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-mantic. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: landscape-client (Ubuntu Mantic)
   Status: New => Fix Committed

** Tags added: verification-needed verification-needed-mantic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-03-05 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~mitchburton/ubuntu/+source/landscape-client/+git/landscape-client/+merge/461833

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-03-05 Thread Mitch Burton
Updated description to add the "good case" to the test plan and a
mention of fixed autopkgtest. Added a brief description of the fix to
[impact] section.

** Description changed:

  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-motdFAIL 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.
+  * 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.
+  * 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/
+  run-parts /etc/update-motd.d/
  
-  as a non-root user. The output will contain the line:
+  as a non-root user. The output will contain the line:
  
-/etc/update-motd.d//50-landscape-sysinfo: 17: cannot create
+    /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
+  * Related upstream changes:
+    * https://github.com/canonical/landscape-client/pull/201
+    * https://github.com/canonical/landscape-client/pull/219

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-03-05 Thread Andreas Hasenack
About the test plan:
- it should also show the good case, i.e., what's expected to happen with the 
fixed package
- it should include checking the autopkgtest failure that was the trigger for 
this bug to be opened, i.e., make sure that that autopkgtest now does not fail

Also either [impact] or [other info] should include a *brief*
description about what the fix is.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-03-04 Thread Mitch Burton
Updated description to include SRU bug template.

** Description changed:

  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 autopkgtest [23:07:34]: test show-motd:  - - - - - - - - - - results - - 
-
  - - - - - - -
  421s show-motdFAIL 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-03-01 Thread Mitch Burton
The fix has been included in upstream. It was included in the following PRs:
https://github.com/canonical/landscape-client/pull/201
https://github.com/canonical/landscape-client/pull/219

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-02-27 Thread Andreas Hasenack
** Also affects: landscape-client (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: landscape-client (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: landscape-client (Ubuntu Mantic)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2040924] Re: /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied

2024-02-27 Thread Dan Bungert
Hi Mitch,

I went looking for this upstream on master branch and the 24.02 release
PR, I think this fix isn't included there yet?  If I've missed it please
pass that info along, or I suggest incorporating that so that the SRU
requirement for fixes being present in devel is retained.

Otherwise LGTM.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040924

Title:
  /etc/update-motd.d/50-landscape-sysinfo: 24: cannot create
  /var/lib/landscape/landscape-sysinfo.cache: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2040924/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs