/var/tmp/badcontext

Nalin Dahyabhai nalin at redhat.com
Tue Sep 28 20:26:00 UTC 2004


On Tue, Sep 28, 2004 at 02:13:52PM -0600, Stephen J. Smoogen wrote:
> On Tue, 28 Sep 2004 16:07:22 -0400, Daniel J Walsh <dwalsh at redhat.com> wrote:
> > Stephen J. Smoogen wrote:
> > 
> > >What should users do with the files listed in /var/tmp/badcontext?
> > >
> > >For the last 3 days I have had over 10000 files listed since I
> > >installed it. I was wondering if I should be running some command
> > >after a yum upgrade that I didnt know about ;).
> > >
> > >   17287 /var/tmp/badcontext.HNjBUG2517
> > >   52272 /var/tmp/badcontext.XzqEZB4859
> > >   22518 /var/tmp/badcontext.YGZFP27816
> > >
> > restorecon -f /var/tmp/badcontext.YGZFP27816
> > 
> > Will fix the context, then delete the files.
[snip]
> 
> When you say delete.. do you mean it whacks the file on the disk or
> some other copy...

Yikes!  No, running restorecon will reset the file contexts, after which
you can/should delete the /var/tmp/badcontext.blahfoo file.

Nalin




More information about the fedora-test-list mailing list