Public bug reported: This is a followup to bug #1038075
Testcase: (Kernel taken from http://people.canonical.com/~apw/lp1038075-quantal/) $ uname -a Linux faui49i 3.5.0-11-generic #11lp1038075v201208181342 SMP Sat Aug 18 12:56:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux $ modprobe overlayfs $ mkdir /live/tmpfs /tmp/root $ mount -t nfs -o ro 192.168.42.40:/srv/fai/nfsroot.quantal64 /mnt $ stat /mnt/etc/resolv.conf File: `/mnt/etc/resolv.conf' 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,lowerdir=/mnt,upperdir=/live/overlayfs overlayfs /live/root $ stat /live/root/etc/resolv.conf File: `/live/root/etc/resolv.conf' 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/etc/resolv.conf bash: /live/root/etc/resolv.conf: Permission denied This permission error does not happen with a local filesystem but only with NFS. However this seems to work: $ rm /live/root/etc/resolv.conf $ echo foo > /live/root/etc/resolv.conf $ cat /live/root/etc/resolv.conf foo --- ApportVersion: 2.4-0ubuntu8 Architecture: amd64 AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/hwC0D3', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D2c', '/dev/snd/pcmC0D7p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: 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=871b8166-1de3-42f9-845b-d3353e32beec ro quiet splash ProcVersionSignature: Ubuntu 3.5.0-11.11lp1038075v201208181342-generic 3.5.2 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//PhoenixTechnologiesLtd.:bvr6.00R1.20.2812.A2:bd01/12/2010:svnFUJITSU:pnESPRIMOP7935:pvr:rvnFUJITSU:rnD2812-A2:rvrS26361-D2812-A2:cvnFUJITSU:ct6:cvr: dmi.product.name: ESPRIMO P7935 dmi.sys.vendor: FUJITSU ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: apport-collected quantal ** Tags added: apport-collected quantal ** Description changed: This is a followup to bug #1038075 Testcase: $ modprobe overlayfs $ mkdir /live/tmpfs /tmp/root $ mount -t nfs -o ro 192.168.42.40:/srv/fai/nfsroot.quantal64 /mnt $ stat /mnt/etc/resolv.conf File: `/mnt/etc/resolv.conf' 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,lowerdir=/mnt,upperdir=/live/overlayfs overlayfs /live/root $ stat /live/root/etc/resolv.conf File: `/live/root/etc/resolv.conf' 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/etc/resolv.conf bash: /live/root/etc/resolv.conf: Permission denied This permission error does not happen with a local filesystem but only with NFS. However this seems to work: $ rm /live/root/etc/resolv.conf $ echo foo > /live/root/etc/resolv.conf $ cat /live/root/etc/resolv.conf foo + --- + ApportVersion: 2.4-0ubuntu8 + Architecture: amd64 + AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/hwC0D3', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D2c', '/dev/snd/pcmC0D7p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: + 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=871b8166-1de3-42f9-845b-d3353e32beec ro quiet splash + ProcVersionSignature: Ubuntu 3.5.0-11.11lp1038075v201208181342-generic 3.5.2 + 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//PhoenixTechnologiesLtd.:bvr6.00R1.20.2812.A2:bd01/12/2010:svnFUJITSU:pnESPRIMOP7935:pvr:rvnFUJITSU:rnD2812-A2:rvrS26361-D2812-A2:cvnFUJITSU:ct6:cvr: + dmi.product.name: ESPRIMO P7935 + dmi.sys.vendor: FUJITSU -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1039402 Title: [quantal] overlayfs over r/o NFS mount fails to overwrite existing files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1039402/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs