[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: avoiding conflicts with %config
- From: Will Harris <will harris ncmail net>
- To: James Olin Oden <james oden gmail com>, RPM Package Manager <rpm-list redhat com>
- Cc:
- Subject: Re: avoiding conflicts with %config
- Date: Mon, 03 Oct 2005 14:28:16 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
That will work for me. Thanks.
James Olin Oden wrote:
> On 10/3/05, *Will Harris* <will harris ncmail net
> <mailto:will harris ncmail net>> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I am not sure if this is possible, but I am trying to find a way to
> make a custom package with a set of (edited) config files and security
> changes. However since these config files belong to other packages (ssh,
> xinetd, selinux, etc) I get conflicts. I can force it, but then
> upgrading the package becomes another hassle.
> I'm wondering if there is some macro I am missing that will let me
> install my config but not cause the conflicts for the original package
> on update. I would not mind if I even had to reinstall my custom
> package. Does anyone know of any trick to accomplish this?
>
>
> I don't know if this will suite your tastes or not, but what I do is
> deliver the config
> files to some alternate location and then in the %post scriptlet
> overwrite the originals with these files. Seems to work fine, and even
> plays well the rpm transactional rollback feature.
>
> Cheers...james
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list redhat com
> https://www.redhat.com/mailman/listinfo/rpm-list
- --
Will Harris
System Administrator
State of North Carolina
Office of Information Technology Services
P.O. Box 17209
Raleigh, N.C. 27619-7209
phone: (919) 981-4478
mobile: (919) 279-7325
Most Failure is to due to giving up, not realizing
how close to success you were - Thomas Edison
############################NOTICE######################################
E-mail correspondence to and from this address may be subject to the
North Carolina Public Records Law and may be disclosed to third parties.
########################################################################
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDQXhAZL0IoGaeD6MRAlcdAJ9lI5BT4ORV/GP2yg29nYOteLyfZgCgvgXr
pHQeMnGN39WMMK+gf1Njw98=
=1aO/
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]