Subject: Re: [vserver] autofs failing to umount in guest
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Mon, 28 Dec 2009 16:39:21 +0100

On Mon, Dec 28, 2009 at 10:07:34AM -0500, Joe Gooch wrote:
> Not sure why it's busy.. However, to get automount to work in my VS, I didn't give
SYS_ADMIN.

> cat ccapabilities
> SECURE_MOUNT
> SECURE_REMOUNT
> BINARY_MOUNT
> ADMIN_CLOOP


> ( I did CLOOP because I'm mounting isos)

> My bcapabilities is empty.

> I haven't run into a busy error so far, it's been working like a charm.

might help to compare kernel/automount versions?

TIA,
Herbert

> Joe
> 
> > -----Original Message-----
> > From: Fog_Watch [mailto:db5@exemail.com.au] 
> > Sent: Monday, December 28, 2009 5:46 AM
> > To: vserver@list.linux-vserver.org
> > Subject: [vserver] autofs failing to umount in guest
> > 
> > Seasons greetings,
> > 
> > In my host, automount mounts and umounts successfully.  But I am not
> > interested in that.  I want to automount in my guest.  
> > 
> > In my guest only mounting is successful. umount is only
> > possible manually or by /etc/init.d/autofs restart.
> > 
> > /var/log/syslog records:
> > automount[27362]: umount_autofs_indirect: ask umount returned
> > busy /mnt/removables 
> > 
> > Busy!  I don't know what with.  Do you good people have any ideas or
> > experience with this?
> > 
> > Regards
> > 
> > Fog_Watch.
> > 
> > 
> > # automount -V | grep version
> > Linux automount version 5.0.3
> > 
> > # uname -r
> > 2.6.31.6-grsec2.1.14-vs2.3.0.36.24
> > 
> > # cat /etc/vservers/(vserver name)/bcapabilities | grep SYS_ADMIN
> > SYS_ADMIN
> > -- 
> > Lose wait.  Get Gentoo.
> >