systemd-tmpfiles-setup service failed to create files/folders

Bug #1625445 reported by You-Sheng Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
In Progress
Critical
Unassigned
lxc-android-config
New
Undecided
Unassigned

Bug Description

1. /usr/lib/tmpfiles.d/debian.conf tries to re-create symlink /etc/mtab, but that's on readonly root fs.
2. /usr/lib/tmpfiles.d/systemd.conf tries to create /var/lib/systemd/coredump, but that's on readonly root fs.

Tags: systemd

Related branches

Jason Yen (jasonyen)
Changed in canonical-devices-system-image:
milestone: none → x1
Changed in canonical-devices-system-image:
importance: Undecided → Critical
Revision history for this message
You-Sheng Yang (vicamo) wrote :

For the first one, replace L+ with L for the /etc/mtab entry.

For the second one, add "/var/lib/systemd auto synced none none" to etc/system-image/writable-paths.

Revision history for this message
You-Sheng Yang (vicamo) wrote :

Merge proposal https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable-paths/+merge/306184 is for /var/lib/systemd. The mtab problem should take a better solution than my current simple hack.

Changed in canonical-devices-system-image:
status: New → In Progress
tags: added: systemd
Revision history for this message
You-Sheng Yang (vicamo) wrote :

The first /etc/mtab part is not critial. Maybe we file it as another bug for it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.