← Back to team overview

touch-packages team mailing list archive

[Bug 1394256] [NEW] click user hooks are not run when "click install --all-users" is used

 

Public bug reported:

When click is used to install with the --all-users option the click user
hooks are not run for the user until he/she logs in the next time. This
can be confusing for users, especially since the behavior of systemd for
user services is that they are not run per session (login) but only a
per-user, i.e. only run once for multiple logins.

Colin suggested to use either SUDO_USER/PKEXEC_UID or logind to register
for all logged in users.

** Affects: click (Ubuntu)
     Importance: High
     Assignee: Michael Vogt (mvo)
         Status: In Progress

** Changed in: click (Ubuntu)
   Importance: Undecided => High

** Changed in: click (Ubuntu)
       Status: New => In Progress

** Changed in: click (Ubuntu)
     Assignee: (unassigned) => Michael Vogt (mvo)

** Description changed:

  When click is used to install with the --all-users option the click user
  hooks are not run for the user until he/she logs in the next time. This
  can be confusing for users, especially since the behavior of systemd for
  user services is that they are not run per session (login) but only a
  per-user, i.e. only run once for multiple logins.
+ 
+ Colin suggested to use either SUDO_USER/PKEXEC_UID or logind to register
+ for all logged in users.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1394256

Title:
  click user hooks are not run when "click install --all-users" is used

Status in “click” package in Ubuntu:
  In Progress

Bug description:
  When click is used to install with the --all-users option the click
  user hooks are not run for the user until he/she logs in the next
  time. This can be confusing for users, especially since the behavior
  of systemd for user services is that they are not run per session
  (login) but only a per-user, i.e. only run once for multiple logins.

  Colin suggested to use either SUDO_USER/PKEXEC_UID or logind to
  register for all logged in users.

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


Follow ups

References