Starting remounts root filesystem read-only

Bug #1511784 reported by Jouni K. Seppänen on 2015-10-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone (Ubuntu)
Kick In

Bug Description

I'm on Ubuntu 14.04.3 LTS, and recently upgraded to 1.6.2~dfsg1-1ubuntu4~14.04.1. This package provides the file /etc/init/docker.conf, which includes this:

pre-start script
        # Cleanup any stale mounts left from previous shutdown
        # see
       grep "mapper/docker" /proc/mounts | awk '{ print $2 }' | \
               xargs -r umount || true
end script

My host's root filesystem is on an LVM volume named "docker1-root", and so /proc/mounts includes the line

/dev/mapper/docker1-root / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0

Thus running the pre-start script causes the root filesystem to be remounted read-only.

Kick In (kick-d) on 2015-11-02
Changed in (Ubuntu):
assignee: nobody → Kick In (kick-d)
Michael Hudson-Doyle (mwhudson) wrote :

Looks like a real problem, no idea of priority though.

Changed in (Ubuntu):
status: New → Confirmed
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers