[rhel7/master] Make sure post script directory exists (#1080396)

Colin Walters walters at verbum.org
Wed Dec 3 16:20:35 UTC 2014


On Wed, Dec 3, 2014, at 10:53 AM, Brian C. Lane wrote:
> On Tue, Dec 02, 2014 at 09:57:04PM -0500, Colin Walters wrote:
> > On Tue, Dec 2, 2014, at 07:06 PM, Brian C. Lane wrote:
> > > In some cases the full path for the post script may not exist (eg.
> > > liveimg without a /tmp) so make sure it is there before writing the
> > > script to it.
> > 
> > I don't quite understand...the're making a tarball that doesn't have a /tmp directory?  If so, that seems like a fix-the-content thing.
> 
> Right, but in that case you don't figure that out until you've created
> your root and run your install. I agree that's the right way to fix
> things. But we should also make sure the path exists.

Are they not using rpms to make their tarball?  

Note of course that if you create /tmp that way (instead of taking the content from the "filesystem" RPM), it won't have the sticky bit, or even be writable by anything other than non-root, which will definitely break things.


More information about the anaconda-patches mailing list