On Mon, 2005-02-28 at 23:15 -0300, Alexandre Oliva wrote: >On Feb 28, 2005, Eric Warnke <eric@xxxxxxxxxxxx> wrote: > >> 2) Do what I do. Kickstart %post section that installs a rpm with >> updates fot yum repos as well as new ones. I import all the necessary >> keys and do a "yum -y update" and then "yum -y install >> packagename". > >Yeah, I had something like that at some point. selinux attributes are >somewhat messed up when you do this. At least they still are for the >configuration stuff I run in %post, that among other things runs >texhash, and tex config files get incorrectly-labeled. Perhaps it's >unrelated and I'm just barking up the wrong tree, but I was concerned >it could mess things up further and didn't try that again. selinux attributes should not be messed up by installing another package in %post from the distro. if you have a file that has the wrong attributes that came from a package file a bug against that package. -sv