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

Bug #1625445 reported by Vicamo Yang on 2016-09-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
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.

Related branches

Jason Yen (jasonyen) on 2016-09-20
Changed in canonical-devices-system-image:
milestone: none → x1
Changed in canonical-devices-system-image:
importance: Undecided → Critical
Vicamo 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.

Vicamo 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
Vicamo 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  Edit
Everyone can see this information.

Other bug subscribers