On Tue, 2010-02-23 at 17:14 +0100, Denis BUCHER wrote: > Dear all, > > I got the following error while I just wanted to change the homedir of a > user. I hope it's the right place to ask ? (Nothing found on the web) > > # usermod -d <path> <user> > > /usr/sbin/genhomedircon: [Errno 2] No such file or directory: > '/etc/selinux/targeted/contexts/files/file_contexts.homedirs' > usermod: warning: unable to relabel the homedir (...) > > But homedir was changed anyway... > > Just to let you know... (?) If you are using Fedora, then this would be best directed to selinux@xxxxxxxxxxxxxxxxxxxxxxx (formerly fedora-selinux-list@xxxxxxxxxx). It would help to identify your distribution, shadow-utils version, SELinux status (sestatus), etc. -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.