[opensuse-packaging] fillup --maintain ?
Hi, in openSUSE:Tools in package obs-server, I do a %fillup_and_insserv. With this, a later package update will override user settings in the sysconfig file. Now I see two options: [ ] drop the sysconfig template and instead package a plain %config(noreplace) [ ] somehow (how so) pass --maintain to fillup [ ] something completely different... any pointers appreciated S. -- Susanne Oberhauser +49-911-74053-574 SUSE -- a Novell Business OPS Engineering Maxfeldstraße 5 Processes and Infrastructure Nürnberg SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Mittwoch 18 März 2009 10:37:20 schrieb Susanne Oberhauser:
Hi,
in openSUSE:Tools in package obs-server, I do a %fillup_and_insserv.
With this, a later package update will override user settings in the sysconfig file.
Now I see two options:
[ ] drop the sysconfig template and instead package a plain %config(noreplace) IIRC factory will complain then, right ?
[ ] somehow (how so) pass --maintain to fillup +1 [ ] something completely different...
any pointers appreciated
Drop a backup in %docdir, too.
S.
-- Susanne Oberhauser +49-911-74053-574 SUSE -- a Novell Business OPS Engineering Maxfeldstraße 5 Processes and Infrastructure Nürnberg SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
This needs to be checked also for the other config files of the obs packages. IIRC they also used to overwrite stuff on my last installations. Best Jan-Simon -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
"Jan-Simon Möller"
Am Mittwoch 18 März 2009 10:37:20 schrieb Susanne Oberhauser:
Hi,
in openSUSE:Tools in package obs-server, I do a %fillup_and_insserv.
With this, a later package update will override user settings in the sysconfig file.
Now I see two options:
[ ] drop the sysconfig template and instead package a plain %config(noreplace) IIRC factory will complain then, right ?
Is this so?
[ ] somehow (how so) pass --maintain to fillup +1
I can live with this. Is there a more elegant way than manually inserting the output of rpm --eval="%{fillup_and_insserv}" ? I don't see a simple way to pass --maintain down to fillup.
[ ] something completely different...
any pointers appreciated
Drop a backup in %docdir, too.
Is that really the reccomended way? S. -- Susanne Oberhauser +49-911-74053-574 SUSE -- a Novell Business OPS Engineering Maxfeldstraße 5 Processes and Infrastructure Nürnberg SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wed, Mar 18, Susanne Oberhauser wrote:
Hi,
in openSUSE:Tools in package obs-server, I do a %fillup_and_insserv.
With this, a later package update will override user settings in the sysconfig file.
Since when? The advantage of fillup vs config(noreplace) is, that fillup does not overwrite the user settings, but adds new entries. Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Thorsten Kukuk
On Wed, Mar 18, Susanne Oberhauser wrote:
Hi,
in openSUSE:Tools in package obs-server, I do a %fillup_and_insserv.
With this, a later package update will override user settings in the sysconfig file.
Since when? The advantage of fillup vs config(noreplace) is, that fillup does not overwrite the user settings, but adds new entries.
Dunno, I use it because of the advantage you describe. However now I have this bug report: https://bugzilla.novell.com/show_bug.cgi?id=486053 So I wondered wether --maintain is not the default? Or wether soemthing is broken in the template so it's overriding settings? https://forgesvn1.novell.com/svn/opensuse/branches/buildservice/1.5/dist/sys... Strange. S. -- Susanne Oberhauser +49-911-74053-574 SUSE -- a Novell Business OPS Engineering Maxfeldstraße 5 Processes and Infrastructure Nürnberg SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wednesday 18 March 2009 13:18:00 Susanne Oberhauser wrote:
However now I have this bug report: https://bugzilla.novell.com/show_bug.cgi?id=486053
It seems to me, that you are hit by one of fillup bugs, see https://bugzilla.novell.com/show_bug.cgi?id=416108 Unfortunately, I am not sure what to do with fillup. If I recall correctly, it was adjusted to new requirements, e. g. metadata and it's inheritance. But this functionality seems to be buggy and we should decide if fix fillup or write it from scratch. Ideas are welcome. Anyway, I will look into it later in Q2, I promise :-). Petr
participants (4)
-
Jan-Simon Möller
-
Petr Gajdos
-
Susanne Oberhauser
-
Thorsten Kukuk