Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542386 - sys-apps/baselayout: create /var/empty (so net-misc/openssh can drop keepdir)
Summary: sys-apps/baselayout: create /var/empty (so net-misc/openssh can drop keepdir)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-06 22:50 UTC by Mira Ressel
Modified: 2016-08-27 22:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mira Ressel 2015-03-06 22:50:00 UTC
The "keepdir /var/empty" in openssh's src_install which was added for fixing #37977 has actually become unneccessary in the meantime, at least with recent versions of Portage and OpenSSH -- OpenSSH's "install" make target already creates an empty /var/empty directory and Portage actually creates the directory even if it doesn't contain any files.

This would mean /var/empty would actually be empty (at least, for non-HPN users), which might be useful for other applications. So please remove the "keepdir /var/empty" from the openssh ebuild.
Comment 1 SpanKY gentoo-dev 2015-03-07 00:56:48 UTC
i don't think we can (or should) rely on such semantics.  instead, the init script should create the dir on demand at runtime.

we probably should also move /var/empty creation to baselayout.
Comment 2 William Hubbs gentoo-dev 2016-08-27 22:56:00 UTC
Baselayout has been creating /var/empty since 2.1.
The commit id is fee181d9.