Bug#813599: systemd - systemd-random-seed.service fails to start in clean install
Michael Biebl
biebl at debian.org
Thu Feb 4 21:38:35 GMT 2016
Control: tags -1 - moreinfo
Am 04.02.2016 um 21:07 schrieb Bastian Blank:
> 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.
True, it should probably log the error message. Will forward this issue
upstream.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160204/716964ea/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list