[Bug 1881539] Re: zsys tries to save gdm user home which doesn’t exit

2021-08-18 Thread Peter Goodall
https://www.gitmemory.com/issue/ubuntu/zsys/171/718476907
https://askubuntu.com/questions/1295307/troubleshoot-20-04-system-hang-help

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

Title:
  zsys tries to save gdm user home which doesn’t exit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1881539/+subscriptions


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

[Bug 1881539] Re: zsys tries to save gdm user home which doesn’t exit

2021-08-18 Thread Peter Goodall
zsysctl[22907]: level=error msg="couldn't save state for user
\"peterg\": user \"peterg\" doesn't exist"

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

Title:
  zsys tries to save gdm user home which doesn’t exit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1881539/+subscriptions


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

[Bug 1881539] Re: zsys tries to save gdm user home which doesn’t exit

2020-07-02 Thread Launchpad Bug Tracker
This bug was fixed in the package zsys - 0.4.6

---
zsys (0.4.6) focal; urgency=medium

  [ Jean-Baptiste Lallement ]
  [ Didier Roche ]
  * Fix infinite GC loop (LP: #1870461)
  * Enhance timeout handling to avoid error rpc error: code = DeadlineExceeded
desc = context deadline exceeded while the daemon is doing work
(LP: #1875564)
  * Stop taking automated or manual snapshot when there is less than 20% of
free disk space (LP: #1876334)
  * Enable trim support for upgrading users (LP: #1881540)
  * Only clean up previously linked user datasets when unlinked under USERDATA
(LP: #1881538)
  * Strategy for deleted user datasets via a new hidden command called by
userdel (LP: #1870058)
  * Get better auto snapshots message when integrated to apt (LP: #1875420)
  * Update LastUsed on shutdown via a new hidden command service call
(LP: #1881536)
  * Prevent segfault immediately after install when zfs kernel module isn't
loaded (LP: #1881541)
  * Don’t try to autosave gdm user (and in general non system user), even if
systemd --user is started for them. (LP: #1881539)
  * Prevent apt printing errors when zsys is removed without purge
(LP: #1881535)
  * Some tests enhancements:
- new tests for all the above
- allow setting a different local socket for debugging/tests purposes only
- ascii order datasets in golden files
  * Typos and messages fixes. Direct prints are not prefixed with INFO
anymore.
  * Refreshed po and readme with the above.

 -- Didier Roche   Mon, 01 Jun 2020 09:26:52 +0200

** Changed in: zsys (Ubuntu Focal)
   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/1881539

Title:
  zsys tries to save gdm user home which doesn’t exit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1881539/+subscriptions

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

[Bug 1881539] Re: zsys tries to save gdm user home which doesn’t exit

2020-06-24 Thread Jean-Baptiste Lallement
SRU verification for Focal:
I have reproduced the problem with zsys 0.4.5 in focal and have verified that 
the version of zsys 0.4.6 in -proposed fixes the issue.

Marking as verification-done


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

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

Title:
  zsys tries to save gdm user home which doesn’t exit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1881539/+subscriptions

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

[Bug 1881539] Re: zsys tries to save gdm user home which doesn’t exit

2020-06-19 Thread Timo Aaltonen
Hello Didier, or anyone else affected,

Accepted zsys into focal-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/zsys/0.4.6 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-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. 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: zsys (Ubuntu Focal)
   Status: New => Fix Committed

** Tags added: verification-needed 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/1881539

Title:
  zsys tries to save gdm user home which doesn’t exit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1881539/+subscriptions

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

[Bug 1881539] Re: zsys tries to save gdm user home which doesn’t exit

2020-06-09 Thread Didier Roche
** Changed in: zsys (Ubuntu)
   Importance: Undecided => Low

** Changed in: zsys (Ubuntu)
 Assignee: (unassigned) => Didier Roche (didrocks)

** Also affects: zsys (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Changed in: zsys (Ubuntu Focal)
   Importance: Undecided => Low

** Changed in: zsys (Ubuntu Focal)
 Assignee: (unassigned) => Didier Roche (didrocks)

** Description changed:

+ [Impact]
+  * ZSys user autosave feature was trying to save GDM users on systems that 
don’t have their GDM session teared down after logged in (nvidia binary driver).
+  * The saving was failing as no GDM dataset was created.This was only visible 
in logs:
+ mai 12 09:41:27 casanier zsysd[48398]: gdm
+ mai 12 09:41:27 casanier zsysctl[48826]: level=error msg="couldn't save state 
for user \"gdm\":user \"gdm\" doesn't exist"
+ mai 12 09:41:27 casanier systemd[2480]: zsys-user-savestate.service: Main 
process exited, code=exited, status=1/FAILURE
+ mai 12 09:41:27 casanier systemd[2480]: zsys-user-savestate.service: Failed 
with result 'exit-code'.
+ mai 12 09:41:27 casanier systemd[2480]: Failed to start Save current user 
state periodically.
+ 
+ 
+ [Test Case]
+  1. Install the new ZSys on a machine which gdm session doesn’t tear down
+  2. Wait for 5 minutes after boot so that the autosave user timer is 
triggered.
+  3. Check the logs: the timer isn’t ran for gdm user.
+ 
+ [Regression Potential]
+  * The fix is about adding ConditionUser=!@system to the systemd user 
autosave features, so that any user with UID < 1000 (which are the users we 
don’t create user datasets for) are not considered.
+  * The failure was silent for most of users who don’t look at the logs.
+ 
+ 
+ -
+ 
  From the log:
  
  mai 12 09:41:27 casanier zsysd[48398]: gdm
  mai 12 09:41:27 casanier zsysctl[48826]: level=error msg="couldn't save state 
for user \"gdm\":user \"gdm\" doesn't exist"
  mai 12 09:41:27 casanier systemd[2480]: zsys-user-savestate.service: Main 
process exited, code=exited, status=1/FAILURE
  mai 12 09:41:27 casanier systemd[2480]: zsys-user-savestate.service: Failed 
with result 'exit-code'.
  mai 12 09:41:27 casanier systemd[2480]: Failed to start Save current user 
state periodically.
  mai 12 09:42:27 casanier systemd[1]: zsysd.service: Succeeded.
  
  We should avoid by default logging user ID < 1000 but root rather than
  outputting an error.

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

Title:
  zsys tries to save gdm user home which doesn’t exit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1881539/+subscriptions

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

[Bug 1881539] Re: zsys tries to save gdm user home which doesn’t exit

2020-06-02 Thread Launchpad Bug Tracker
This bug was fixed in the package zsys - 0.5.0

---
zsys (0.5.0) groovy; urgency=medium

  [ Jean-Baptiste Lallement ]
  [ Didier Roche ]
  * Fix infinite GC loop (LP: #1870461)
  * Enhance timeout handling to avoid error rpc error: code = DeadlineExceeded
desc = context deadline exceeded while the daemon is doing work
(LP: #1875564)
  * Stop taking automated or manual snapshot when there is less than 20% of
free disk space (LP: #1876334)
  * Enable trim support for upgrading users (LP: #1881540)
  * Only clean up previously linked user datasets when unlinked under USERDATA
(LP: #1881538)
  * Strategy for deleted user datasets via a new hidden command called by
userdel (LP: #1870058)
  * Get better auto snapshots message when integrated to apt (LP: #1875420)
  * Update LastUsed on shutdown via a new hidden command service call
(LP: #1881536)
  * Prevent segfault immediately after install when zfs kernel module isn't
loaded (LP: #1881541)
  * Don’t try to autosave gdm user (and in general non system user), even if
systemd --user is started for them. (LP: #1881539)
  * Prevent apt printing errors when zsys is removed without purge
(LP: #1881535)
  * Some tests enhancements:
- new tests for all the above
- allow setting a different local socket for debugging/tests purposes only
- ascii order datasets in golden files
  * Typos and messages fixes. Direct prints are not prefixed with INFO
anymore.
  * Refreshed po and readme with the above.

 -- Didier Roche   Mon, 01 Jun 2020 09:26:52 +0200

** Changed in: zsys (Ubuntu)
   Status: New => 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/1881539

Title:
  zsys tries to save gdm user home which doesn’t exit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1881539/+subscriptions

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