[quantal] overlayfs over r/o NFS mount fails to overwrite existing files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
In Progress
|
Medium
|
Andy Whitcroft |
Bug Description
This is a followup to bug #1038075
Testcase: (Kernel taken from http://
$ uname -a
Linux faui49i 3.5.0-11-generic #11lp1038075v20
$ modprobe overlayfs
$ mkdir /live/tmpfs /tmp/root
$ mount -t nfs -o ro 192.168.
$ stat /mnt/etc/
File: `/mnt/etc/
Size: 206 Blocks: 8 IO Block: 1048576 regular file
Device: 1ch/28d Inode: 36044830 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-08-20 10:53:27.177775447 +0200
Modify: 2012-08-08 12:50:21.000000000 +0200
Change: 2012-08-16 04:06:12.317826670 +0200
Birth: -
$ mount -t overlayfs -o noatime,
$ stat /live/root/
File: `/live/
Size: 206 Blocks: 8 IO Block: 1048576 regular file
Device: 1ch/28d Inode: 36044830 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-08-20 10:53:27.177775447 +0200
Modify: 2012-08-08 12:50:21.000000000 +0200
Change: 2012-08-16 04:06:12.317826670 +0200
Birth: -
$ echo foo > /live/root/
bash: /live/root/
This permission error does not happen with a local filesystem but only with NFS.
However this seems to work:
$ rm /live/root/
$ echo foo > /live/root/
$ cat /live/root/
foo
---
ApportVersion: 2.4-0ubuntu8
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
CurrentDmesg:
Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
dmesg: write failed: Broken pipe
DistroRelease: Ubuntu 12.10
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
MachineType: FUJITSU ESPRIMO P7935
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: root=UUID=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RfKill:
Tags: quantal
Uname: Linux 3.5.0-11-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: netgrp netgrp sbuild
WifiSyslog:
dmi.bios.date: 01/12/2010
dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd.
dmi.bios.version: 6.00 R1.20.2812.A2
dmi.board.name: D2812-A2
dmi.board.vendor: FUJITSU
dmi.board.version: S26361-D2812-A2
dmi.chassis.type: 6
dmi.chassis.vendor: FUJITSU
dmi.modalias: dmi:bvnFUJITSU/
dmi.product.name: ESPRIMO P7935
dmi.sys.vendor: FUJITSU
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: bot-stop-nagging |
apport information