kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #72961
[Bug 1349020] [NEW] inline_data option on ext4 truncates symlinks
Public bug reported:
To replicate the bug, create two filesystems, one with `mkfs.ext4 -I
256`, one with `mkfs.ext4 -I 256 -O inline_data`. An inode size of 256
bytes is the default, but included here for clarity. To do this, you are
going to need an `e2fsprogs` from trunk, or version 1.43 if it has been
released.
Mount the two filesystems, in each of them do:
$ ln -s $(for i in {1..64}; do echo -n .; done) 64
$ ln -s $(for i in {1..128}; do echo -n .; done) 128
$ ln -s $(for i in {1..192}; do echo -n .; done) 192
$ ls -l 64 128 192
Both directory listings will show symlinks named `64`, `128` and `256`,
each pointing to a filename with the corresponding amount of dots. This
is the expected behavior.
Unmount both filesystems, mount them again. Do the `ls -l` again.
The default filesystem will show the same output as previously, the one
with inline_data activated will show the `128` symlink pointing to a
filename of only 64 dots.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-32-generic 3.13.0-32.57
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: clacke 3532 F.... pulseaudio
CurrentDesktop: GNOME
Date: Sun Jul 27 00:47:06 2014
EcryptfsInUse: Yes
MachineType: LENOVO IdeaPad Z370
ProcFB:
0 inteldrmfb
1 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-32-generic root=/dev/mapper/hostname-trusty_root ro quiet splash vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-3.13.0-32-generic N/A
linux-backports-modules-3.13.0-32-generic N/A
linux-firmware 1.127.5
SourcePackage: linux
StagingDrivers: rts5139
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/29/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 4ACN35WW
dmi.board.name: KL5
dmi.board.vendor: LENOVO
dmi.board.version: Rev 1.0
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Rev 1.0
dmi.modalias: dmi:bvnLENOVO:bvr4ACN35WW:bd08/29/2011:svnLENOVO:pnIdeaPadZ370:pvrRev1.0:rvnLENOVO:rnKL5:rvrRev1.0:cvnLENOVO:ct10:cvrRev1.0:
dmi.product.name: IdeaPad Z370
dmi.product.version: Rev 1.0
dmi.sys.vendor: LENOVO
** Affects: linux (Ubuntu)
Importance: Undecided
Status: Confirmed
** Tags: amd64 apport-bug staging third-party-packages trusty
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1349020
Title:
inline_data option on ext4 truncates symlinks
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
To replicate the bug, create two filesystems, one with `mkfs.ext4 -I
256`, one with `mkfs.ext4 -I 256 -O inline_data`. An inode size of 256
bytes is the default, but included here for clarity. To do this, you
are going to need an `e2fsprogs` from trunk, or version 1.43 if it has
been released.
Mount the two filesystems, in each of them do:
$ ln -s $(for i in {1..64}; do echo -n .; done) 64
$ ln -s $(for i in {1..128}; do echo -n .; done) 128
$ ln -s $(for i in {1..192}; do echo -n .; done) 192
$ ls -l 64 128 192
Both directory listings will show symlinks named `64`, `128` and
`256`, each pointing to a filename with the corresponding amount of
dots. This is the expected behavior.
Unmount both filesystems, mount them again. Do the `ls -l` again.
The default filesystem will show the same output as previously, the
one with inline_data activated will show the `128` symlink pointing to
a filename of only 64 dots.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-32-generic 3.13.0-32.57
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: clacke 3532 F.... pulseaudio
CurrentDesktop: GNOME
Date: Sun Jul 27 00:47:06 2014
EcryptfsInUse: Yes
MachineType: LENOVO IdeaPad Z370
ProcFB:
0 inteldrmfb
1 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-32-generic root=/dev/mapper/hostname-trusty_root ro quiet splash vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-3.13.0-32-generic N/A
linux-backports-modules-3.13.0-32-generic N/A
linux-firmware 1.127.5
SourcePackage: linux
StagingDrivers: rts5139
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/29/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 4ACN35WW
dmi.board.name: KL5
dmi.board.vendor: LENOVO
dmi.board.version: Rev 1.0
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Rev 1.0
dmi.modalias: dmi:bvnLENOVO:bvr4ACN35WW:bd08/29/2011:svnLENOVO:pnIdeaPadZ370:pvrRev1.0:rvnLENOVO:rnKL5:rvrRev1.0:cvnLENOVO:ct10:cvrRev1.0:
dmi.product.name: IdeaPad Z370
dmi.product.version: Rev 1.0
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1349020/+subscriptions
Follow ups
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Launchpad Bug Tracker, 2014-08-28
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Claes Wallin, 2014-08-20
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Claes Wallin, 2014-08-20
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Launchpad Bug Tracker, 2014-08-19
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Brad Figg, 2014-08-19
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Launchpad Bug Tracker, 2014-08-19
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Tim Gardner, 2014-08-08
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Luis Henriques, 2014-08-08
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Luis Henriques, 2014-08-07
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Claes Wallin, 2014-08-05
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Joseph Salisbury, 2014-07-29
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Luis Henriques, 2014-07-29
-
[Bug 1349020] Re: inline_data option on ext4 truncates symlinks
From: Claes Wallin, 2014-07-26
-
[Bug 1349020] Status changed to Confirmed
From: Brad Figg, 2014-07-26
-
[Bug 1349020] [NEW] inline_data option on ext4 truncates symlinks
From: Claes Wallin, 2014-07-26
References