Re: Cannot get rid of a user_home_dir_t label

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2013-10-17 at 13:11 +0200, Juan Orti Alcaine wrote:
> El 2013-10-17 12:25, Juan Orti Alcaine escribió:
> > Hello,
> > 
> > I'm creating a package for bitcoin, and I must have messed up the file
> > contexts, because the directory /var/lib/bitcoin is always labeled as
> > 'user_home_dir_t'.
> > 
> > Previously, I had a regular user 'bitcoin' with a homedir in
> > /home/bitcoin, but I removed it and its homedir some days ago. Now
> > it's a system user:
> > 
> 
> I got it. I had the bitcoin user associated to user_u, after removing 
> that, everything works as it should.
> 
> # semanage login -l | grep bitcoin
> bitcoin              user_u               s0                   *
> # semanage login -d bitcoin
> 

Right, yes that overrides all

if the uid is associated to a selinux user then genhomedircon considers
it to be a real user no matter what uid/login shell you specify

> Regards,
> Juan.
> --
> selinux mailing list
> selinux@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/selinux


--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux