[Freeipa-devel] [PATCH] create tmp directory for ipa-kpasswd

Masato Taruishi taruishi at redhat.com
Fri May 2 09:38:39 UTC 2008


SO how about this patch?

2008-05-01 (木) の 11:50 -0400 に Simo Sorce さんは書きました:
> On Thu, 2008-05-01 at 11:47 -0400, Simo Sorce wrote:
> > On Fri, 2008-05-02 at 00:25 +0900, Masato Taruishi wrote:
> > > This patch creates temporarl directory before mkstemp(2)
> > > in ipa-kpasswd.
> > > 
> > > Because mkstemp doesn't create directories, it may fail
> > > with ENOENT.
> > 
> > Nack,
> > the kpasswd directory must be created by make install/spec file and
> > properly SELinux labeled (where available).
> > 
> > Current F9 package is broken in this respect :-( but we already fixed
> > the spec file.
> 
> To be fair, we should probably change the code to retrieve the TMP_DIR
> from the environment so that it can be changed at runtime, I would love
> to get a patch that implements that and sets the correct default
> in /etc/sysconfig/ipa-kpasswd
> 
> Simo.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipa_kpasswd_cachedir.patch
Type: text/x-patch
Size: 3219 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080502/a93c8623/attachment.bin>


More information about the Freeipa-devel mailing list