[systemd-devel] How do I find out why a service was started? (systemd-tmpfiles-setup failed in container)

Johannes Ernst johannes.ernst at gmail.com
Tue Jul 14 10:50:17 PDT 2015


> On Jul 3, 2015, at 4:01, Lennart Poettering <lennart at poettering.net> wrote:
> 
> On Wed, 01.07.15 13:50, Johannes Ernst (johannes.ernst at gmail.com <mailto:johannes.ernst at gmail.com>) wrote:
> 
>>>> My container is degraded because systemd-tmpfiles-setup.service
>>>> failed. My understanding is that it should not run in the container
>>>> anyway. (Right?)
>>> 
>>> It should run in a container; its purpose is both necessary, and I
>>> don't see why a container would have any difficulty with it. It runs
>>> just fine in both system and even unprivileged user containers here.
>> 
>> Here is what fails:
>> 
>> # /usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
>> Failed to create file /sys/devices/system/cpu/microcode/reload: Read-only file system
> 
> We should probably handle this case in a nicer way, and downgrade
> EROFS error for cases like this.

Should I file this as an issue, so it won’t get lost, or do you keep track of this kind of thing somewhere else? 

Cheers,


Johannes.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150714/b5125899/attachment.html>


More information about the systemd-devel mailing list