All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Denis BUCHER <dbucherml@hsolutions.ch>
Cc: selinux@tycho.nsa.gov
Subject: Re: No such file or directory: '/etc/selinux/targeted/contexts/files/file_contexts.homedirs'
Date: Tue, 23 Feb 2010 12:16:56 -0500	[thread overview]
Message-ID: <4B840D88.6050105@redhat.com> (raw)
In-Reply-To: <4B83FED0.208@hsolutions.ch>

On 02/23/2010 11:14 AM, 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... (?)
>
> Denis
>
> -- 
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to 
> majordomo@tycho.nsa.gov with
> the words "unsubscribe selinux" without quotes as the message.
>
>
Do you have SELinux enabled?  Does the entire path exists?
/etc/selinux/targeted/contexts/files


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

      parent reply	other threads:[~2010-02-23 17:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-23 16:14 No such file or directory: '/etc/selinux/targeted/contexts/files/file_contexts.homedirs' Denis BUCHER
2010-02-23 16:29 ` Stephen Smalley
2010-02-23 17:36   ` Denis BUCHER
2010-02-23 18:05     ` Stephen Smalley
2010-02-23 17:16 ` Daniel J Walsh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B840D88.6050105@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=dbucherml@hsolutions.ch \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.