-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stanislav Brabec wrote:
Michael Schroeder wrote:
On Thu, Jan 22, 2009 at 05:56:56PM +0100, Stanislav Brabec wrote:
Duncan Mac-Vicar Prett wrote:
I'm unsure about what our general policy is regarding when SuSEconfig should be run and also specifically regarding PackageKit zypp backend. Does PackageKit need to run this on system updates or individual package installs? Does libzypp take care of this under the covers ( for instance does zypp:ZYpp:commit call SuSEconfig at the end of the method?) You need to call SuSEconfig just once before you "return updated system to the user". If zypper doesn't do it, why should PackageKit?
Zypper should as well. But does not. It may have ugly sonsequences while installing some packages (missing icons, MIME binding,...)
Just to avoid confusion: are you sure? That would imply the need to run SuSEConfig after any 'rpm -i/-U'!
That was a bug in the package, the package can't just rely on SuSEConfig will be run after it installs. Only in case YAST_IS_RUNNING is set (as jsrain pointed out in his mail). So while i agree with you that this needs to be solved at rpm level (as you pointed out in the other mail), it is not true zypper should run SuSEConfig because bugs in packages can have consequences if it is not run. Please let's be clear on that. - -- cheers, jano Ján Kupec YaST team - ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 - ---------------------------------------------------------(IRC)--- Server: irc.freenode.net Nick: jniq Channels: #zypp #yast #suse #susecz - ---------------------------------------------------------(EOF)--- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkl5sJ8ACgkQgEhGpmN+6QEfmwCeJ6nLwKHAULwc5WkQJE6cnAs5 7w0AmwTpR2SNqzE7GXTiXDVBP3zQiT2U =dO6V -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org