From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-150525-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 351D61381F3
	for <garchives@archives.gentoo.org>; Mon,  9 Sep 2013 18:59:43 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EB0EAE0BE1;
	Mon,  9 Sep 2013 18:59:37 +0000 (UTC)
Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com [209.85.217.179])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id B80ACE0A7F
	for <gentoo-user@lists.gentoo.org>; Mon,  9 Sep 2013 18:59:36 +0000 (UTC)
Received: by mail-lb0-f179.google.com with SMTP id x18so5344696lbi.38
        for <gentoo-user@lists.gentoo.org>; Mon, 09 Sep 2013 11:59:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=SLHZEQa8qY2fxPdGs+t6DQhwVW3Zsb2VqgC8R9/UIpo=;
        b=ELmU72WJ3BUqSmLbnYcO2OySmMmQm90mhKk+upWQfzuVExKEoyoUBvO8XAuyXxGwJz
         C3YDyTmvNgpTVx2SSrvPgG37gGJMkkNAIRGLzILlIcpePRh72vYuwh9wWlQyJlxruTi8
         UcrDU2pV+CFEr0hvthIyZn7VUgaT3gjO0wPROdP+jVcxwOx3EjPli+u2YEO3oaUW7LYX
         YtzddfZgal3blru3CSLhsqlT6q5g3N/ukZr1rRJYeTD2OnQT8c9inlbznP9yik0HfKQC
         ClJMXfiP26cXwu1scrGEoUQ26IVLHhl5byYSQkf3GE+SC2TOBApOcIwEI+DxNVrY6ask
         Iq0g==
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
X-Received: by 10.112.155.39 with SMTP id vt7mr3061151lbb.29.1378753175008;
 Mon, 09 Sep 2013 11:59:35 -0700 (PDT)
Received: by 10.114.96.2 with HTTP; Mon, 9 Sep 2013 11:59:34 -0700 (PDT)
In-Reply-To: <87ob81hlq7.fsf@nyu.edu>
References: <87ob81hlq7.fsf@nyu.edu>
Date: Mon, 9 Sep 2013 13:59:34 -0500
Message-ID: <CADPrc80P8MbFqYjUkxfVPTF65ScuZSv33HapBZoaGGbBiRFJ=w@mail.gmail.com>
Subject: Re: [gentoo-user] why does revdep-rebuild object to mounting /var on
 /mnt/var ?
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 7a0d00f0-39ab-4c4c-9979-10aaad60eaa6
X-Archives-Hash: 8633afed55162d2f96c2b5a3ef16bebe

On Mon, Sep 9, 2013 at 1:51 PM,  <gottlieb@nyu.edu> wrote:
> I use lvm and use it for /var.
> In fstab I have
>   /dev/vg/var  /mnt/var  ext4  defaults  0 2
> I also have
>   lrwxrwxrwx 1 root root 7 Aug 31 16:13 /var -> mnt/var
>
> (Similar setup for /tmp and /opt)
>
> This has worked ok but revdep-rebuild is not happy
>
> root@E6510 cache # revdep-rebuild
>  * Configuring search environment for revdep-rebuild
>  * Working directory expected to be /var/cache/revdep-rebuild, but it is =
/mnt/var/cache/revdep-rebuild
> root@E6510 cache #
>
> I don't intend to fight revdep-rebuild so will change and mount directly
> onto /var, but I wonder what is the concern.

I think it's the symlink the thing that is making revdep-rebuild
unhappy. Have you tried to bind mount /mnt/var into /var?

mount -o bind /mnt/var /var

Perhaps that will appease revdep-rebuild.

> Should I also mount directly onto /tmp and /opt?

I don't think so, although /tmp is preferred to be a tmpfs now, I
believe (in both systemd and OpenRC, if I'm not mistaken).

Regards.
--=20
Canek Pel=C3=A1ez Vald=C3=A9s
Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n
Universidad Nacional Aut=C3=B3noma de M=C3=A9xico