From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-144478-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id D3ABF1384B3
	for <garchives@archives.gentoo.org>; Tue, 15 Jan 2013 15:03:44 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 01E1F21C0FB;
	Tue, 15 Jan 2013 15:03:35 +0000 (UTC)
Received: from mail-bk0-f47.google.com (mail-bk0-f47.google.com [209.85.214.47])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1C89121C0E0
	for <gentoo-user@lists.gentoo.org>; Tue, 15 Jan 2013 15:03:32 +0000 (UTC)
Received: by mail-bk0-f47.google.com with SMTP id j4so125045bkw.20
        for <gentoo-user@lists.gentoo.org>; Tue, 15 Jan 2013 07:03:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-received:date:from:to:subject:message-id:in-reply-to:references
         :organization:x-mailer:mime-version:content-type
         :content-transfer-encoding;
        bh=qBApqEX4QyqVngB7T7t+JZ2KQrk1KnTVb6iLgi7UiPU=;
        b=gV9e5EllztD+Y42mI3jyl09EQjzWnwjBB7G9VfufBe0LWn9ntWjhW/ZSG+WMdATeSV
         hXYebjIshoypt1VwH3L0/m1zDUseh6JvDzUMwE5ocbqKMcdGuxvQ8QjkdjvdD5Noj9he
         c8fs4DXgYX1wg/V96tHhSXrYZXCkeZEh/7JI0UOhEvV7gy3MfBbJLOj+9zFV7AA3GoeZ
         cbnbPWQ9/VNFYpIxQZI+AyQtKdp8/FF7fRxHacpe0RdpdVfHlq4ynRiZJXs/JJeKWe0u
         sj9PCd90wLMTYwbQox5EDPMJKx56RyQGX7FqhN/pBsj075tX4VI/Lxj527B5ZQOZ5/U1
         BE0w==
X-Received: by 10.204.154.202 with SMTP id p10mr40519730bkw.29.1358262211649;
        Tue, 15 Jan 2013 07:03:31 -0800 (PST)
Received: from khamul.example.com (dustpuppy.is.co.za. [196.14.169.11])
        by mx.google.com with ESMTPS id z5sm13034167bkv.11.2013.01.15.07.03.28
        (version=SSLv3 cipher=RC4-SHA bits=128/128);
        Tue, 15 Jan 2013 07:03:30 -0800 (PST)
Date: Tue, 15 Jan 2013 17:03:14 +0200
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /home doesn't umount on shutdown
Message-ID: <20130115170314.1a1bdea0@khamul.example.com>
In-Reply-To: <50F54F1B.2010606@gmail.com>
References: <20130115115721.16ea5ca0@khamul.example.com>
	<50F54F1B.2010606@gmail.com>
Organization: Internet Solutions
X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.14; x86_64-pc-linux-gnu)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 2aeddaad-80ff-4039-ae7d-fa389625eb7e
X-Archives-Hash: 69f342c89f15d2cfb5e1541c29eddd32

On Tue, 15 Jan 2013 06:44:11 -0600
Dale <rdalek1967@gmail.com> wrote:

> Alan McKinnon wrote:
> > On the rare occasion when I reboot or shut this laptop down, it
> > continually and consistently gets stuck on one of the final steps,
> > to umount /home
> >
> > The process never proceeds beyond that point (as /home is always
> > fsck'ed on next startup). I can't see any logs as syslog has already
> > been shut down at this point, and it happens whether I shutdown as
> > root from the console or by using the KDE widget.
> >
> > /home here is on LVM
> >
> > I could probably debug this easily enough if I could determine how
> > the shutdown sequence is ordered, or get a verbose output. But
> > sadly, my fu for such stuff has run out.
> >
> > Anyone got pointers on where to start poking around?
> >
> > [I'm not looking for solutions, I'm unlikely to get those right off
> > the bat, just looking for pointers atm]
> >
> >
> >
> 
> I would do a 'rc single' then use lsof for /home to see what if
> anything is still going on.  I think with openrc, when you go to
> single user it unmounts about everything, tho this could have changed
> since it has been a while since I went to single user.  Oh, I have
> had issues going from single user back to default mode.  It just
> doesn't work right.  So, be ready to reboot if needed. 
> 
> I ran into a weird issue one time a long time ago.  It turned out it
> was the order I had them in fstab.  I think I had /usr/portage
> above /usr so as it went down the file, it was trying to
> mount /usr/portage then trying to mount /usr.  I thought it rather
> odd, maybe a bug even, but changing the order made it work.  Do you
> maybe have something in a odd order in fstab?
> 
> Well, it's early and I am still half asleep.  Hope that helps.  Going
> back to bed.  To wet to go hunting this morning, sleeting too.
> Brrrrrr!


LABEL=BOOT              /boot           ext2    noatime         1 2                                 
LABEL=ROOT              /               ext4    noatime,discard 0 1                                 
LABEL=KHAMUL-500G-HOME  /home           ext4    noatime         1 2                                 
                                                                                                    
LABEL=SWAP              swap            swap    sw              0 0                                 
                                                                                                    
/dev/cdrom              /mnt/cdrom      auto    noauto,ro       0 0                                 
/dev/fd0                /mnt/floppy     auto    noauto          0 0                                 
shm                     /dev/shm        tmpfs   size=75%,rw,nosuid,nodev,exec,relatime  0 0         
                                                                                                    
//10.1.249.2/alanm              /mnt/quasar     cifs    noauto,user,credentials=/home/alanm/.credentials/quasar,defaults    0 0                                                                         
172.20.0.3:/mnt/data/media      /mnt/media      nfs     noauto,user,rw,defaults 0 0                 
mtpfs                   /mnt/galaxy     fuse    user,noauto,allow_other         0 0                 


quasar and media are two shares (one at work one at home) that I use all the time, one or both are almost always mounted.
But they don't seem to affect the shutdown at all - /home hangs whether I'm at work or at home and whether the NFS share is accessible or not


> 
> Dale
> 
> :-)  :-) 
> 



-- 
Alan McKinnon
alan.mckinnon@gmail.com