From: Joshua Brindle <jbrindle@tresys.com>
To: Daniel J Walsh <dwalsh@redhat.com>
Cc: Todd Miller <Tmiller@tresys.com>,
sds@tycho.nsa.gov, selinux@tycho.nsa.gov
Subject: Re: I am concerned about putting genhomedircon changesinlibsemanage into Fedora 8.
Date: Thu, 27 Sep 2007 10:48:47 -0400 [thread overview]
Message-ID: <46FBC2CF.4060605@tresys.com> (raw)
In-Reply-To: <46FB08A0.2000308@redhat.com>
Daniel J Walsh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Todd Miller wrote:
>> I see the issue, getpwnam_r() has surprising semantics when a user is not found. I'll have a fix for that tomorrow AM.
>>
>> - todd
>>
>>
>> -----Original Message-----
>>
>> But
>> /usr/sbin/semanage login -m -s guest_u __default__
>>
>> Is causing a segfault in genhomedircon line 627
> Already have it.
>
> This is a repatch off of libsemanage-2.0.9
>
> It should include your stuff plus it gets the fallback_user by looking
> up the __default__ login record.
>
> That way if I change the __default__ record to use xguest_u, it will
> build all user accounts with this context.
>
> getpwnam_r returns 0 even if an account does not exist.
>
> So you need to check the pointer.
>
> A couple of other translation problems also.
>
Please inline patches and separate different changes out (eg., swigify
makefile changes have nothing to do with this).
--
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.
next prev parent reply other threads:[~2007-09-27 14:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-26 20:20 I am concerned about putting genhomedircon changesinlibsemanage into Fedora 8 Todd C. Miller
2007-09-26 21:19 ` Daniel J Walsh
2007-09-27 1:03 ` Todd Miller
2007-09-27 1:34 ` Daniel J Walsh
2007-09-27 12:05 ` Stephen Smalley
2007-09-27 14:48 ` Joshua Brindle [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-09-27 14:46 Todd C. Miller
2007-09-27 16:02 ` Daniel J Walsh
2007-09-27 20:07 ` Stephen Smalley
2007-09-27 20:26 ` Daniel J Walsh
2007-09-26 20:01 I am concerned about putting genhomedircon changes inlibsemanage " Todd C. Miller
2007-09-26 20:00 ` Stephen Smalley
2007-09-26 20:20 ` Stephen Smalley
2007-09-26 21:41 ` I am concerned about putting genhomedircon changesinlibsemanage " Todd Miller
2007-09-27 11:19 ` Stephen Smalley
2007-09-27 18:01 ` Daniel J Walsh
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=46FBC2CF.4060605@tresys.com \
--to=jbrindle@tresys.com \
--cc=Tmiller@tresys.com \
--cc=dwalsh@redhat.com \
--cc=sds@tycho.nsa.gov \
--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.