Bug 450104

Summary: kde4-kupdateapplet: don't run smolt unless /var/run/smolt_do_opensuse_run exists
Product: [openSUSE] openSUSE 11.1 Reporter: Dirk Mueller <dmueller>
Component: YaST2Assignee: Thomas Göttlicher <tgoettlicher>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Critical    
Priority: P1 - Urgent CC: coolo, jdsn, maint-coord, sreeves
Version: FactoryFlags: coolo: SHIP_STOPPER+
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard: 0x131B
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dirk Mueller 2008-11-28 14:57:26 UTC
Hi, 

there is a problem with the way smolt is launched currently. by default no updates are run during installation, so first time login is the first time when updates are installed. 

it is also the time when the smolt popup is triggered, which causes a chicken&egg problem: we cannot ship updates that fix smolt functionality. 

therefore, I would suggest to delay the popup until /var/run/smolt_do_opensuse_run exists. 

so the functionality would be: 

after each update:

a) check if the file /var/run/smolt_do_opensuse_run exists
b) check if it is an opensuse distro (.desktop file or whatever is implemented)
c) check if it wasn't asked before
d) do run

can we implement that still?
Comment 1 Thomas Göttlicher 2008-11-28 19:08:44 UTC
Right now the smolt pupup is shown 5 minutes after the first check for updates. That means the user has a chance to trigger an update before he starts smolt.

If we wait for an update before we show the popup, users who don't update their systems will never see the smolt pupop. Do we really want that?

Who creates the file /var/run/smolt_do_opensuse_run in your proposal?
Comment 2 Stephan Kulow 2008-11-28 19:15:24 UTC
The file is created by the smolt package you get by the update :)

We have to choose between two scenarios:
 1. we manage to release a broken smolt and get no data at all
 2. we only get the smolt data of people doing updates

I think the 2nd is to be preferred - especially taking that people not running updates may be uninterested in keeping the distro for longer than a day.

BTW: 450105 is for the gnome applet.
Comment 4 Thomas Göttlicher 2008-12-01 09:42:04 UTC
Smolt call will be postponed until /usr/var/smolt_do_opensuse_run exists.
Done in version 0.8.31. I'll submit a package soon.
Comment 5 Thomas Göttlicher 2008-12-01 16:03:52 UTC
Submitted package containing version 0.8.32.