Bug#813599: systemd - systemd-random-seed.service fails to start in clean install
Bastian Blank
waldi at debian.org
Thu Feb 4 20:07:22 GMT 2016
On Thu, Feb 04, 2016 at 03:04:39AM +0100, Michael Biebl wrote:
> For some reasons, this fails on your system. Any idea why? When exactly
> did you get this error?
Actually I found it in the meantime. /, including /var, was read-only.
The resppnsible code reads:
| seed_fd = open(RANDOM_SEED, O_RDWR|O_CLOEXEC|O_NOCTTY|O_CREAT, 0600);
| if (seed_fd < 0) {
| seed_fd = open(RANDOM_SEED, O_RDONLY|O_CLOEXEC|O_NOCTTY);
So it ignores the error given by the first call (EROFS), which would be
a clear indication, and only provides the useless second one.
Bastian
--
We fight only when there is no other choice. We prefer the ways of
peaceful contact.
-- Kirk, "Spectre of the Gun", stardate 4385.3
More information about the Pkg-systemd-maintainers
mailing list