In article <[EMAIL PROTECTED]> you wrote:

> Upgrading an installed and configured sudo package to sudo-1.6.6-20020425
> via..
> 
> # rpm --rebuild ftp://ftp.openpkg.org/current/SRC/sudo-1.6.6-20020425.src.rpm
> # rpm -Uvh RPM/PKG/sudo-1.6.6-20020425.rpm
> 
> ..as user cw*, the config file /cw/etc/sudo/sudoers was overwritten with
> the default version.
> 
> Let me know if I can provide any more useful information.
> 
> * This is intentional. cw owns all the files in the OpenPKG heirarchy.
> When ownership changes are necessary (eg. SUID root), they are made by
> hand. I am aware that some packages need privileged operations during
> install.

Hmmm... I've checked our "sudo" package and the sudoers file is explicitly
tagged as %config since the early days. So RPM should not have overwritten
this file. I've no clue how this is possible. The only explanation is
that is is tagged as:

   '%config %attr(0400,root,%{l_mgrp}) %{l_prefix}/etc/sudo/sudoers'

And perhaps because you have done it not as "root", RPM was not able to set
the "root" ownership on the file and perhaps of this the %config tagging was
also ignored. But this is only a wild guess.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Bug Database Interface                           www.openpkg.org/bugdb
Bug Database List                            [EMAIL PROTECTED]

Reply via email to