Re: "Too many levels of symbolic links"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2014-03-02 at 19:30 +0800, Ian Kent wrote:
> On Sun, 2014-03-02 at 12:15 +0100, Donald Buczek wrote:
> > I've follow the mysterious "root" up:
> > 
> > > (gdb) print ((struct dentry *)0xffff88007ca407d0)->d_name->name
> > > $10 = (const unsigned char *) 0xffff88007ca40808 "old-root-D0k5jB"
> > > (gdb) print ((struct dentry *)0xffff88007ca407d0)->d_parent->d_name->name
> > > $11 = (const unsigned char *) 0xffff88007ca6c748 "private"
> > > (gdb) print ((struct dentry 
> > > *)0xffff88007ca407d0)->d_parent->d_parent->d_name->name
> > > $12 = (const unsigned char *) 0xffff88007ca58b48 
> > > "systemd-namespace-os99ZC"
> > > (gdb) print ((struct dentry 
> > > *)0xffff88007ca407d0)->d_parent->d_parent->d_parent->d_name->name
> > > $13 = (const unsigned char *) 0xffff8800c890ce48 "tmp"
> > > (gdb) print ((struct dentry 
> > > *)0xffff88007ca407d0)->d_parent->d_parent->d_parent->d_parent->d_name->name
> > > $14 = (const unsigned char *) 0xffff88012900f2c8 "/"
> > > root:kasslerbraten:/home/buczek/autofs/# ls -lR 
> > > /tmp/systemd-namespace-os99ZC/
> > > /tmp/systemd-namespace-os99ZC/:
> > > total 0
> > > drwxrwxr-t 2 root system 48 Feb 28 12:33 private
> > > drwxrwxr-x 2 root system 48 Feb 28 12:33 root
> > >
> > > /tmp/systemd-namespace-os99ZC/private:
> > > total 0
> > >
> > > /tmp/systemd-namespace-os99ZC/root:
> > > total 0
> > 
> > 
> > So its systemd which is doing some strange namespace stuff in /tmp.
> > This probably collides in some way with the autofs model of autofs 
> > having global pathnames.
> > 
> > Still not clear and not solved, but we're really coming closer...
> 
> LOL, forgive me for thinking that systemd just sets "/" shared in a
> simple way.
> 
> That little pain in the a*** might be what it's doing there.
> 

Mind you making "/" shared should be done way before autofs is started.
Container implementations do similar things with like pivot mount on a
new root and may change the propagation type as well.

Ian
 

--
To unsubscribe from this list: send the line "unsubscribe autofs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux