[Bug 365649] New: zypper doesn't run SuSEconfig after installing packages
https://bugzilla.novell.com/show_bug.cgi?id=365649 Summary: zypper doesn't run SuSEconfig after installing packages Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: dmacvicar@novell.com ReportedBy: wberrier@novell.com QAContact: dmacvicar@novell.com CC: twiest@novell.com Found By: --- I have an rpm that installs new icons in /usr/share/icons/hicolor. When I install it with zypper, the icons don't show up in the gnome main menu because the icon cache hasn't been updated. Installing from yast runs SuSEconfig, and the icon cache gets updated, and icons are loaded as expected. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c1 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkupec@novell.com, sbrabec@novell.com --- Comment #1 from Ján Kupec <jkupec@novell.com> 2008-02-28 10:40:26 MST --- I fear running suseconfig after each zypper install command (running it after an update or dist-upgrade would be more acceptable). Why are these things not handled in the package scripts? Running suseconfig for _any_ package install/update/remove seems like quite an annoyance for me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User twiest@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c2 --- Comment #2 from Thomas Wiest <twiest@novell.com> 2008-02-28 10:44:40 MST --- I'm not sure why they made this decision, however it seems that it would be better for zypper to run SuSEconfig at the end of an install / upgrade (like yast) rather than have each individual package run it (the ones that need it at least). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User wberrier@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c3 Wade Berrier <wberrier@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jpr@novell.com --- Comment #3 from Wade Berrier <wberrier@novell.com> 2008-02-28 11:41:08 MST --- JPR, what's your take on this? I ran into this specifically with monodevelop, which changes from using icons in /usr/share/pixmaps to /usr/share/icons. So upgrading from one version to the next breaks unless you run SuSEconfig to update the icon cache. I couldn't find any other packages updating the icon cache from a spec file. (Plus, if SuSEconfig is going to get run after you install packages in yast, you wouldn't want to run it during install anyways). Side note: What would be really sweet is to have a way in the .spec file that would queue up which SuSEconfig modules should be run after all packages are installed, and only run those. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c4 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com --- Comment #4 from Ján Kupec <jkupec@novell.com> 2008-02-28 12:34:32 MST --- (In reply to comment #3 from Wade Berrier)
Side note: What would be really sweet is to have a way in the .spec file that would queue up which SuSEconfig modules should be run after all packages are installed, and only run those.
That's exactly my point. Running suseconfig every time would very much affect user's experience of zypper in a negative way. Running it selectively is very desirable. The situation in YaST is a bit different from user's POV - you can browse through the packages, select/unselect them randomly and after you're finished, you click to install them all at once. There is a smaller chance that you will want to choose a few, install, choose another, install, etc. But with zypper the chance is bigger. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User wberrier@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c5 --- Comment #5 from Wade Berrier <wberrier@novell.com> 2008-02-28 13:00:37 MST --- (In reply to comment #4 from Ján Kupec)
(In reply to comment #3 from Wade Berrier)
Side note: What would be really sweet is to have a way in the .spec file that would queue up which SuSEconfig modules should be run after all packages are installed, and only run those.
That's exactly my point. Running suseconfig every time would very much affect user's experience of zypper in a negative way. Running it selectively is very desirable.
Agreed. (I've heard rumors about doing something like this, but I can't find any traces.)
The situation in YaST is a bit different from user's POV - you can browse through the packages, select/unselect them randomly and after you're finished, you click to install them all at once. There is a smaller chance that you will want to choose a few, install, choose another, install, etc. But with zypper the chance is bigger.
The main issue is that installing packages with yast versus zypper gives different results. Maybe even a note after zypper install saying, "You should probably run SuSEconfig manually" ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User vuntz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c6 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vuntz@novell.com --- Comment #6 from Vincent Untz <vuntz@novell.com> 2008-02-28 14:03:44 MST --- Adding some way to trigger some relevant suseconfig calls sounds like a good way to go, indeed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User crrodriguez@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c7 Cristian Rodriguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crrodriguez@novell.com --- Comment #7 from Cristian Rodriguez <crrodriguez@novell.com> 2008-02-28 16:27:33 MST --- (In reply to comment #5 from Wade Berrier)
The main issue is that installing packages with yast versus zypper gives different results. Maybe even a note after zypper install saying, "You should probably run SuSEconfig manually" ?
SuSEconfig is deprecated and I cant make much sense on making it to run on every package install , isnt the %run_suseconfig macro enough to accomplish this task ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User wberrier@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c8 --- Comment #8 from Wade Berrier <wberrier@novell.com> 2008-02-28 16:52:14 MST --- (In reply to comment #7 from Cristian Rodriguez)
(In reply to comment #5 from Wade Berrier)
SuSEconfig is deprecated and I cant make much sense on making it to run on every package install , isnt the %run_suseconfig macro enough to accomplish this task ?
Ah, I didn't know about that macro, although maybe that's what I'd heard about before? Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User crrodriguez@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c9 --- Comment #9 from Cristian Rodriguez <crrodriguez@novell.com> 2008-02-28 17:02:57 MST --- (In reply to comment #8 from Wade Berrier)
Ah, I didn't know about that macro, although maybe that's what I'd heard about before? Thanks!
Yes, we need documentation, for usage you can read the source ;) /usr/lib/rpm/suse_macros -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User visnov@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c10 Stanislav Visnovsky <visnov@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dmacvicar@novell.com |wberrier@novell.com --- Comment #10 from Stanislav Visnovsky <visnov@novell.com> 2008-02-29 01:05:48 MST --- This is a packaging issue for the package that does not use the macro where it should. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User vuntz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c11 --- Comment #11 from Vincent Untz <vuntz@novell.com> 2008-02-29 02:17:35 MST --- Just wondering: if I install many packages using %run_suseconfig, will all of them do the call or will it be done only once at the end of the zypper run? If I read it correctly, it seems it's the former. The latter would make things a bit faster. I can open another bug if there's interest in implementing this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c12 --- Comment #12 from Ján Kupec <jkupec@novell.com> 2008-02-29 02:58:04 MST --- IMO(In reply to comment #11 from Vincent Untz)
Just wondering: if I install many packages using %run_suseconfig, will all of them do the call or will it be done only once at the end of the zypper run?
If I read it correctly, it seems it's the former. The latter would make things
You're right.
a bit faster. I can open another bug if there's interest in implementing this.
A FATE request would be more appropriate IMO. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User visnov@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c13 --- Comment #13 from Stanislav Visnovsky <visnov@novell.com> 2008-02-29 03:16:08 MST --- Usage of SUSEconfig is deprecated. I know it can bring quite some speedup, but the first approach is to fix packages. I see no need for implementing support to run SUSEconfig in zypper. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c14 --- Comment #14 from Stanislav Brabec <sbrabec@novell.com> 2008-02-29 04:14:12 MST --- I see no way to implement some things in SuSEconfig at packaging level without increasing installation time for about 2 hours. gtk-update-icon-cache: It will need to call script in ~300 packages, including KDE packages and other stuff unrelated to GTK+. Best-fit application search for GNOME: The same, but it is a bit faster. update-desktop-database: The same, but it is a bit faster. There is no support for this type of actions in RPM4: - Requires to implement triggers started by virtual symbols in RPM (in progress for RPM5). - Requires to implement %triggerposttrans and %triggerpretrans scripts in RPM (not yet started to implement). - Zypper must install packages in largest possible transaction batches. If ALL these condition will be true, it will be possible to do: gtk2.spec: %triggerpretrans -- has_desktop_file touch /var/run/needs_gtk2_posttrans_check %triggerposttrans -- has_desktop_file if test -f /var/run/needs_gtk2_posttrans_check ; then rm /var/run/needs_gtk2_posttrans_check gtk-update-icon-cache fi It also requires additional magic in AutoReqProv. Add in find_provides script: case "$FILE" in /usr/share/applications/*.desktop ) echo has_desktop_file ;; esac -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User visnov@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c15 --- Comment #15 from Stanislav Visnovsky <visnov@novell.com> 2008-02-29 04:31:57 MST --- Or fix gtk-icon-cache? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c16 --- Comment #16 from Stanislav Brabec <sbrabec@novell.com> 2008-02-29 04:58:53 MST --- It is a cache, not an application. Yes, it could be simple to rewrite gtk-update-icon-cache to daemon: Permanently running daemon watching for new icons and new desktop files. But I guess it was rejected in previous discussion in mailing list: "It is not acceptable to create new daemons just to work-around missing features of RPM." -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c17 --- Comment #17 from Stanislav Brabec <sbrabec@novell.com> 2008-02-29 05:28:00 MST --- Well, there is another solution, at least for icon cache: - Patch gtk to search icon everywhere, if it is not found in cache. - Add gtk-update-icon-cache to cron-weekly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User vuntz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c18 --- Comment #18 from Vincent Untz <vuntz@novell.com> 2008-02-29 05:42:50 MST --- (In reply to comment #17 from Stanislav Brabec)
Well, there is another solution, at least for icon cache:
- Patch gtk to search icon everywhere, if it is not found in cache.
Will have an impact on performance.
- Add gtk-update-icon-cache to cron-weekly.
Will look broken for users who install a package and don't see some icons when they launch the application. I'm not an expert, but triggers do look like the right solution. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c19 --- Comment #19 from Stanislav Brabec <sbrabec@novell.com> 2008-02-29 06:18:35 MST ---
- Patch gtk to search icon everywhere, if it is not found in cache. Will have an impact on performance.
Yes, it will. Icon lookup may require to check 530 directories: find /usr/share/icons/hicolor /usr/share/icons/gnome /usr/share/icons/Tango -type d | wc -l 529
I'm not an expert, but triggers do look like the right solution.
These triggers don't exist yet (Depending on opinion of RPM developers, they will or will not appear in future. It's implementation is not popular, as it would require to check all symbols, not only package names.) Maybe it is possible to move this function to libzypp - simply keep SuSEconfig scripts as they are, and change a way they are called: directory /etc/zypper-conf.d: gtk2.conf: final_trigger_recursive /usr/share/icons /sbin/conf.d/SuSEconfig.gtk2 desktop-file-utils.conf: final_trigger /usr/share/applications/*.desktop /sbin/conf.d/SuSEconfig.desktop-file-utils gnome-vfs2.conf: final_trigger /usr/share/applications/*.desktop /sbin/conf.d/SuSEconfig.gnome-vfs2 It can even be extended with other similar use cases: fonts.conf: final_trigger_recursive /usr/share/fonts /sbin/conf.d/SuSEconfig.fonts glibc.conf: transaction_trigger /lib/*.so* /sbin/ldconfig transaction_trigger /usr/lib/*.so* /sbin/ldconfig transaction_trigger /opt/*/lib/*.so* /sbin/ldconfig -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User jpr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c20 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maw@novell.com --- Comment #20 from JP Rosevear <jpr@novell.com> 2008-02-29 13:53:57 MST --- FWIW, Fedora just triggers a gtk-icon-cache-update in the post/postun scripts. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c21 --- Comment #21 from Stanislav Brabec <sbrabec@novell.com> 2008-03-03 04:46:09 MST --- They either don't do it correctly (i. e. they don't run it for kdebase3 and similar packages, sou they enter into cross-desktop breakage - not displaying KDE apps correctly in GNOME menu) or they ignore installation time issue. On slower systems with a lot of installed packages, gtk-icon-cache-update may take ~15 secs per run. Note: We did this in past for fonts. On slow machines it caused few additional hours of installation time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User jpr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c22 --- Comment #22 from JP Rosevear <jpr@novell.com> 2008-03-03 17:38:27 MST --- What if we run it with -p most of the time? Won't that delay it as much as possible like ldconfig? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c23 --- Comment #23 from Stanislav Brabec <sbrabec@novell.com> 2008-03-04 07:05:11 MST --- No. Abusing of -p rpm script parameter saves only few milliseconds by saying: "Use /sbin/ldconfig to interpret this empty script" instead of: "Start shell interpreter and run a script containing /sbin/ldconfig." And even this would be impossible for KDE apps. Using for it only RPM features, they would need: %post if test -x /usr/bin/gtk-update-icon-cache ; then /usr/bin/gtk-update-icon-cache fi %postun if test -x /usr/bin/gtk-update-icon-cache ; then /usr/bin/gtk-update-icon-cache fi Or a bit more effective with newer RPM: %posttrans if test -x /usr/bin/gtk-update-icon-cache ; then /usr/bin/gtk-update-icon-cache fi %postun if test "$1" = 0 ; then if test -x /usr/bin/gtk-update-icon-cache ; then /usr/bin/gtk-update-icon-cache fi fi -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User jpr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c24 --- Comment #24 from JP Rosevear <jpr@novell.com> 2008-03-05 14:24:42 MST --- Ok, the problem is though that given we are trying to deprecate SuSEconfig, it seems odd to go back and add it to all the necessary .spec files. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User wberrier@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c25 --- Comment #25 from Wade Berrier <wberrier@novell.com> 2008-03-05 15:25:02 MST --- (In reply to comment #24 from JP Rosevear)
Ok, the problem is though that given we are trying to deprecate SuSEconfig, it seems odd to go back and add it to all the necessary .spec files.
+1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User visnov@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c26 --- Comment #26 from Stanislav Visnovsky <visnov@novell.com> 2008-03-06 01:13:48 MST --- Well, the packages already need to contain %run_suseconfig macro, otherwise installation via rpm directly will miss the functionality. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User schubi@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c27 Stefan Schubert <schubi@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schubi@novell.com Component|libzypp |GNOME --- Comment #27 from Stefan Schubert <schubi@novell.com> 2008-04-25 02:40:05 MST --- It is not a libzypp issue anymore ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User jon@jcosby.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c28 Jon Cosby <jon@jcosby.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jon@jcosby.com --- Comment #28 from Jon Cosby <jon@jcosby.com> 2008-05-05 08:41:58 MST --- I'm unclear on something. Is it still necessary for the *user* to run SuSEconfig after an install? If it's deprecated, why does YaST still use it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c29 --- Comment #29 from Stanislav Brabec <sbrabec@novell.com> 2008-05-05 11:07:15 MST --- It's deprecated. Preferred way is the rpm scriptlet. But rpm scriptlets are much less efficient, as they have to be started twice per each affected package instead of once per the whole installation. It does not hurt for scripts, which are fast enough to be started 1000 times during upgrade (e. g. /sbin/ldconfig), or those, which are rare enough to be started only by ~10 packages (e. g. pango modules list or update-mime-database). For scripts, which are slow (~10 sec) and affect hundreds of packages (e. g. gtk-update-icon-cache, update-desktop-database), it would cause unacceptable installation time: Example: On a typical installation, desktop files belong to ~150 packages. Each of these packages outdates gtk-icon-cache and desktop-database. Each gtk-update-icon-cache run needs to scan ~700 directories. On an avarage machine, which does not have all these directories in the cache, the run takes ~10 sec. Now compute the cost of leaving of the deprecated SuSEconfig: With SuSEconfig: Running gtk-update-icon-cache needs ~10 sec for the whole distribution upgrade. With rpm scripts: Running gtk-update-icon-cache needs ~3000 sec for the whole distribution upgrade (10x150x2). Summary: Move to "clean" rpm based solution makes 30000% performance loss in this particular case! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User wberrier@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c30 --- Comment #30 from Wade Berrier <wberrier@novell.com> 2008-05-06 17:01:03 MST --- I understand and agree with the arguments of keeping suseconfig around. But I still disagree with zypper not running it after it installs packages. If yast is going to continue to run it, I think zypper should as well. That way, we don't get different results whether we install a package via yast or zypper. Again, I think it's only acceptable for zypper to not run suseconfig only if yast discontinues its use as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c31 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |locilka@novell.com --- Comment #31 from Lukas Ocilka <locilka@novell.com> 2008-05-28 07:17:29 MDT --- See bug 365649, gtk-update-icon-cache is called during installation (fist stage) of packages and uses about 54 MB RAM. We want to lower the memory requirements, not to increase them. For installation, there might be a single run of that script at the end and it doesn't need to be in SuSEconfig at all. Just in installation scripts. The cases are on a running system already and don't suffer from the lack of free RAM. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c32 --- Comment #32 from Stephan Kulow <coolo@novell.com> 2008-05-28 07:35:40 MDT --- you can special case installation in checking YAST_IS_RUNNING=instsys and escape out of the tool relying on SUSEconfig -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c33 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@novell.com --- Comment #33 from Stephan Kulow <coolo@novell.com> 2008-05-28 08:37:28 MDT --- why track this issue in two bugs? My comment is in https://bugzilla.novell.com/show_bug.cgi?id=365649#c32 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c34 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prusnak@novell.com --- Comment #34 from Pavol Rusnak <prusnak@novell.com> 2008-06-09 09:36:20 MDT --- *** Bug 398351 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=398351 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User casualprogrammer@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c35 Casual J. Programmer <casualprogrammer@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |casualprogrammer@gmail.com --- Comment #35 from Casual J. Programmer <casualprogrammer@gmail.com> 2008-06-11 12:31:39 MDT --- Not sure where this discussion leads. As far as I perceive it, something needs to be done after installation. Comment #26 makes a good point: as long as packages should be installable by rpm -i | -U this needs to be fixed in the package itself. Zypper then picks up from there as well as yast2, I should expect. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c36 --- Comment #36 from Stanislav Brabec <sbrabec@novell.com> 2008-06-12 04:23:53 MDT --- Far better than adding a hack to spec files to call another hack called SuSEconfig and then add an additional hack into zypper and YaST2 to not call this hack too often, would be fixing of RPM itself. But it is a longer time run. Here is a step 1 - formulation of problems: http://wiki.rpm.org/Problems_of_Scriptlets -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User wberrier@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c37 Wade Berrier <wberrier@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wberrier@novell.com |dmacvicar@novell.com --- Comment #37 from Wade Berrier <wberrier@novell.com> 2008-06-20 16:39:11 MDT --- Not sure how this got assigned to me... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User dmacvicar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c38 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #38 from Duncan Mac-Vicar <dmacvicar@novell.com> 2008-07-17 07:36:55 MDT --- Closing as wontfix if nobody wants the bug. Definitely not a libzypp problem. We will _not_ run SuSEConfig. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User vuntz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c39 --- Comment #39 from Vincent Untz <vuntz@novell.com> 2008-11-19 15:37:30 MST --- *** Bug 446706 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=446706 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User vuntz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c40 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | --- Comment #40 from Vincent Untz <vuntz@novell.com> 2008-11-19 15:42:45 MST --- I've opened a fate entry about this: https://features.opensuse.org/?rm=feature_show&id=305472 (re-opening to close as FEATURE) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User vuntz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c41 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FEATURE --- Comment #41 from Vincent Untz <vuntz@novell.com> 2008-11-19 15:43:19 MST --- closing as FEATURE -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User mmarek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c42 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mmarek@novell.com --- Comment #42 from Michal Marek <mmarek@novell.com> 2009-01-14 03:56:27 MST --- *** Bug 465817 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=465817 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User crivera@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c43 Chris Rivera <crivera@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glunardi@novell.com --- Comment #43 from Chris Rivera <crivera@novell.com> 2009-01-15 12:09:19 MST --- *** Bug 462653 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=462653 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=365649 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=365649#c44 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com --- Comment #44 from Stanislav Brabec <sbrabec@novell.com> 2009-02-09 05:38:04 MST --- *** Bug 471927 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=471927 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com