Missing CONFIG_EXT{3,4}_FS_XATTR breaks overlayfs

Bug #1102970 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-armadaxp (Ubuntu)
Invalid
Undecided
Ike Panhc
Quantal
Fix Released
Undecided
Ike Panhc

Bug Description

overlayfs on armadaxp is broken. This appears to be a regression first introduced in quantal; it works in precise.

Steps to reproduce:

$ sudo -i
# echo test > test
# mkdir upper
# mount -t overlayfs -o rw,upperdir=/root/upper,lowerdir=/ overlayfs /mnt
# mv /mnt/root/test /mnt/root/test2

Expected behaviour:

Silent success
File should be renamed as on a normal filesystem

Actual behaviour:

mv: cannot move `/mnt/root/test' to `/mnt/root/test2': Operation not supported
The kernel logs: [ 351.198139] overlayfs: ERROR - failed to whiteout 'test'

Impact:

sbuild does not work. For example:

$ schroot -u root -c raring-armhf -- sh -c 'mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.bak'
mv: cannot move '/etc/apt/trusted.gpg' to '/etc/apt/trusted.gpg.bak': Operation not supported

This makes development work on armhf-specific issues considerably more time consuming.

Affects:

3.5.0-1606-armadaxp on raring (linux-image-3.5.0-1606-armadaxp 3.5.0-1606.8)
3.5.0-1607-armadaxp on quantal
3.5.0-1603-armadaxp on quantal

Does not affect:

3.2.0-1613-armadaxp on precise
3.2.0-36-highbank on precise
3.5.0-22-highbank on quantal

Suspected cause:

CONFIG_EXT{3,4}_FS_XATTR are not set (thanks apw!)

Please set CONFIG_EXT{3,4}_FS_XATTR on armadaxp in raring, and consider an SRU to quantal.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: linux-armadaxp 3.5.0.1606.9
ProcVersionSignature: Ubuntu 3.5.0-1606.8-armadaxp 3.5.7.1
Uname: Linux 3.5.0-1606-armadaxp armv7l
ApportVersion: 2.8-0ubuntu2
Architecture: armhf
Date: Tue Jan 22 07:09:29 2013
MarkForUpload: True
SourcePackage: linux-meta-armadaxp
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Robie Basak (racb) wrote :
Robie Basak (racb)
affects: linux-meta-armadaxp (Ubuntu) → linux-armadaxp (Ubuntu)
Ike Panhc (ikepanhc)
Changed in linux-armadaxp (Ubuntu):
assignee: nobody → Ike Panhc (ikepanhc)
status: New → In Progress
status: In Progress → Invalid
Changed in linux-armadaxp (Ubuntu Quantal):
status: New → In Progress
Revision history for this message
Ike Panhc (ikepanhc) wrote :

This issue only with quantal, not precise

With quantal-armadaxp kernel

$ git grep CONFIG_EXT debian.armadaxp/
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT2_FS=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT2_FS_POSIX_ACL=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT2_FS_SECURITY=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT2_FS_XATTR=y
debian.armadaxp/config/config.common.ubuntu:# CONFIG_EXT2_FS_XIP is not set
debian.armadaxp/config/config.common.ubuntu:# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT3_FS=y
debian.armadaxp/config/config.common.ubuntu:# CONFIG_EXT3_FS_XATTR is not set
debian.armadaxp/config/config.common.ubuntu:# CONFIG_EXT4_DEBUG is not set
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT4_FS=y
debian.armadaxp/config/config.common.ubuntu:# CONFIG_EXT4_FS_XATTR is not set
debian.armadaxp/config/config.common.ubuntu:# CONFIG_EXTCON is not set
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXTRA_FIRMWARE=""

With precise-armadaxp kernel

$ git grep CONFIG_EXT debian.armadaxp/
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT2_FS=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT2_FS_POSIX_ACL=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT2_FS_SECURITY=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT2_FS_XATTR=y
debian.armadaxp/config/config.common.ubuntu:# CONFIG_EXT2_FS_XIP is not set
debian.armadaxp/config/config.common.ubuntu:# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT3_FS=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT3_FS_POSIX_ACL=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT3_FS_SECURITY=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT3_FS_XATTR=y
debian.armadaxp/config/config.common.ubuntu:# CONFIG_EXT4_DEBUG is not set
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT4_FS=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT4_FS_POSIX_ACL=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT4_FS_SECURITY=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXT4_FS_XATTR=y
debian.armadaxp/config/config.common.ubuntu:CONFIG_EXTRA_FIRMWARE=""

Changed in linux-armadaxp (Ubuntu Quantal):
assignee: nobody → Ike Panhc (ikepanhc)
Revision history for this message
Ike Panhc (ikepanhc) wrote :
Changed in linux-armadaxp (Ubuntu Quantal):
status: In Progress → Fix Committed
Revision history for this message
Ike Panhc (ikepanhc) wrote :

ubuntu@n1:~$ grep XATTR /boot/config-3.5.0-1609-armadaxp
CONFIG_CIFS_XATTR=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT4_FS_XATTR=y
# CONFIG_JFFS2_FS_XATTR is not set
CONFIG_REISERFS_FS_XATTR=y
CONFIG_SQUASHFS_XATTR=y
CONFIG_TMPFS_XATTR=y
ubuntu@n1:~$ uname -a
Linux n1 3.5.0-1609-armadaxp #11-Ubuntu SMP Sun Feb 10 02:27:16 UTC 2013 armv7l armv7l armv7l GNU/Linux

tags: added: verification-done
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (28.9 KiB)

This bug was fixed in the package linux-armadaxp - 3.5.0-1609.11

---------------
linux-armadaxp (3.5.0-1609.11) quantal-proposed; urgency=low

  [ Ike Panhc ]

  * Release Tracking Bug
    - LP: #1118281
  * [Config] Enable CONFIG_EXT{3,4}_FS_XATTR
    - LP: #1102970
  * Rebase onto Ubuntu-3.5.0-24.37

  [ Upstream Kernel Changes ]

  * Revert "kernel/sys.c: call disable_nonboot_cpus() in kernel_restart()"
    - LP: #1090591

  [ Ubuntu: 3.5.0-24.37 ]

  * Release Tracking Bug
    - LP: #1117492
  * [Config] CONFIG_ALX=m for x86 only
    - LP: #927782

  [ Ubuntu: 3.5.0-24.36 ]

  * Release Tracking Bug
    - LP: #1116501
  * [Config] Enable RTSX_PCI modules
    - LP: #1057089
  * [Config] enable various HVC consoles
    - LP: #1102206
  * Revert "SAUCE: samsung-laptop: disable in UEFI mode"
    - LP: #1111689
  * [Config] updateconfigs for 3.5.7.3 stable update
  * d-i: Add mellanox ethernet drivers to nic-modules
    - LP: #1015339
  * SAUCE: alx driver import script
    - LP: #927782
  * SAUCE: alx: Update to heads/master
    - LP: #927782
  * SAUCE: samsung-laptop: Add quirk for broken acpi_video backlight on
    N250P
    - LP: #1086921
  * (config) Move 9p modules into generic package
    - LP: #1107658
  * [debian] Remove dangling symlink from headers package
    - LP: #1112442
  * [config] CONFIG_ALX=m
    - LP: #927782
  * [Config] Add alx to d-i nic-modules
    - LP: #927782
  * Revert "8139cp: revert "set ring address before enabling receiver""
    - LP: #1102417
  * Revert "ath9k_hw: Update AR9003 high_power tx gain table"
    - LP: #1102417
  * Revert "drm/i915: no lvds quirk for Zotac ZDBOX SD ID12/ID13"
    - LP: #1102417
  * Revert "ALSA: hda - Shut up pins at power-saving mode with Conexnat
    codecs"
    - LP: #1106966, #886975
  * be2net: don't call vid_config() when there's no vlan config
    - LP: #1083088
  * be2net: cleanup be_vid_config()
    - LP: #1083088
  * be2net: do not modify PCI MaxReadReq size
    - LP: #1083088
  * be2net: fix reporting number of actual rx queues
    - LP: #1083088
  * be2net: do not use SCRATCHPAD register
    - LP: #1083088
  * be2net: Fix driver load for VFs for Lancer
    - LP: #1083088
  * be2net: Explicitly clear the reserved field in the Tx Descriptor
    - LP: #1083088
  * be2net: Regression bug wherein VFs creation broken for multiple cards.
    - LP: #1083088
  * be2net: Fix to trim skb for padded vlan packets to workaround an ASIC
    Bug
    - LP: #1083088
  * be2net: Fix Endian
    - LP: #1083088
  * be2net: Fix error while toggling autoneg of pause parameters
    - LP: #1083088
  * be2net : Fix die temperature stat for Lancer
    - LP: #1083088
  * be2net: Fix initialization sequence for Lancer
    - LP: #1083088
  * be2net: Activate new FW after FW download for Lancer
    - LP: #1083088
  * be2net: Fix cleanup path when EQ creation fails
    - LP: #1083088
  * be2net: Enable RSS UDP hashing for Lancer and Skyhawk
    - LP: #1083088
  * be2net: dont pull too much data in skb linear part
    - LP: #1083088
  * be2net: Fix VF driver load for Lancer
    - LP: #1083088
  * be2net: Ignore physical link async event for Lancer
    - LP: #1083088
  * be2net: Fix to parse RSS hash from...

Changed in linux-armadaxp (Ubuntu Quantal):
status: Fix Committed → Fix Released
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.