Mailinglist Archive: opensuse-features (49 mails)

< Previous Next >
[openFate 304889] needs_relogin/needs_reboot as a generic flag
  • From: fate_noreply@xxxxxxx
  • Date: Thu, 7 Aug 2008 22:07:20 +0200 (CEST)
  • Message-id: <feature-304889-12@xxxxxxxxxxxxxx>
Feature changed by: Duncan Mac-Vicar <dmacvicar@xxxxxxxxxx>
Feature #304889, revision 12
Title: needs_relogin/needs_reboot as a generic flag

openSUSE-11.1: Candidate
Requester: Neutral
Projectmanager: Mandatory

Requested by: Stanislav Brabec <sbrabec@xxxxxxxxxx>
Partner organization:

There are situations, where relogin or reboot are needed to activate
* package updates
* proxy settings
Now this situation is not done in a consistent way (silently ignoring
problem, note in help, abuse of License entry, pop-up...).
Providing a common way for setting these flags (via package provides,
YaST calls, sysconfig comments) (and maybe comment what will happen
ignoring it) would help in user experience (user is notified about need
of relogin/reboot in a consistent way and only once) and administration
(automatic relogin or reboot during maintenance window).

#1: Stanislav Visnovsky <visnov@xxxxxxxxxx> (2008-06-26 14:15:12)
needs_reboot is properly handled by our tools. needs_relogin does not

#2: Jiri Srain <jsrain@xxxxxxxxxx> (2008-07-07 10:46:59) (reply to #1)
We handle reboot only for package management not for anything else (the
question is whether it is relevant somewhere else), thus we will need
to have a more generic solution.
Martin, would you, please, have a look and suggest a generic handler?

#3: Stanislav Brabec <sbrabec@xxxxxxxxxx> (2008-07-09 15:26:16)
needs_relogin would be useful in these situations:
* New package, which provides file in /etc/profile.d was installed (or
/etc/profile.d was singnificantly modified by the update). Example:
* Packages, that cause that /etc/profile will evaluate environment.
Example: Install any KDE application in GNOME only system. /opt/kde3 is
not in PATH until next login
* Patches, that affect login related programs. Example: security update
of ssh-agent or gnome-keyring
* YaST settings, that cause environment variable changes. Example:
System proxy settings

#4: Duncan Mac-Vicar <dmacvicar@xxxxxxxxxx> (2008-08-07 22:06:14)
Stefan, how is restart and reboot currently handled in packagekit, what
would we need for relogin?

+ #5: Duncan Mac-Vicar <dmacvicar@xxxxxxxxxx> (2008-08-07 22:06:58)
+ (note, ZYpp parts are already done, applications missing )

openSUSE Feature:

< Previous Next >
This Thread