[Bug 1094019] Re: Linux's getdents gets /.. inode number from host system under LXC
Ahmed Kamal
1094019 at bugs.launchpad.net
Wed Jan 2 16:43:45 UTC 2013
Hi Serge,
You need to compile the C code on
http://www.kernel.org/doc/man-pages/online/pages/man2/getdents.2.html
and run it to see this issue. It's "getdent" sys-call that sees different
numbers. Please confirm
On Wed, Jan 2, 2013 at 6:10 PM, Serge Hallyn <1094019 at bugs.launchpad.net>wrote:
> Nor can I reproduce it on a precise instance running 3.2.0-35-virtual
> #55-Ubuntu:
>
> ubuntu at p1:~$ ls -lid / /..
> 139754 drwxr-xr-x 22 root root 4096 Jan 2 16:09 /
> 139754 drwxr-xr-x 22 root root 4096 Jan 2 16:09 /..
>
>
> ** Changed in: lxc (Ubuntu)
> Importance: Undecided => Critical
>
> ** Changed in: lxc (Ubuntu)
> Importance: Critical => Medium
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1094019
>
> Title:
> Linux's getdents gets /.. inode number from host system under LXC
>
> Status in “lxc” package in Ubuntu:
> New
>
> Bug description:
> Calling getdents on "/" gets the host system's inode number for /..,
> which is different from /. unlike real (non lxc) systems.
> This causes flexlm to fail
>
> More info at http://foss-boss.blogspot.com/2012/12/LXC-lies-about
> -..-inode-number-making-flexlm-unhappy.html
>
> ProblemType: Bug
> DistroRelease: Ubuntu 12.04
> Package: lxc 0.7.5-3ubuntu65
> ProcVersionSignature: User Name 3.2.0-34.53-virtual 3.2.33
> Uname: Linux 3.2.0-34-virtual x86_64
> ApportVersion: 2.0.1-0ubuntu15
> Architecture: amd64
> Date: Thu Dec 27 13:13:46 2012
> Ec2AMI: ami-2737b74e
> Ec2AMIManifest: (unknown)
> Ec2AvailabilityZone: us-east-1d
> Ec2InstanceType: t1.micro
> Ec2Kernel: aki-825ea7eb
> Ec2Ramdisk: unavailable
> KernLog:
>
> MarkForUpload: True
> ProcEnviron:
> TERM=xterm
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: lxc
> UpgradeStatus: No upgrade log present (probably fresh install)
> lxcsyslog:
>
> modified.conffile..etc.lxc.lxc.conf: [modified]
> mtime.conffile..etc.lxc.lxc.conf: 2012-12-04T17:17:14.072195
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1094019/+subscriptions
>
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1094019
Title:
Linux's getdents gets /.. inode number from host system under LXC
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1094019/+subscriptions
More information about the Ubuntu-server-bugs
mailing list