Not every package manager pretends with root access. Therefore checking for writability of /run fails with lowered priviliges when permission is set to: % ls /run -ld drwxr-xr-x 19 root root 560 Jul 4 10:07 /run % cave -v paludis 0.64.1
I'd say it should not check even existence of this directory! keepdir /run should be enough
random packages should not be touching /run handling should be done at runtime, not build time
Fixed with 0.1.2. OK, I'm doing just a check in postinst message if /run is not a directory. At runtime plugin creates subdirectory "plymouth" under /run if one doesn't exist, but if /run is not present, it quits with error.