[pacman-dev] RootDir using symlinks -> problem

Aaron Griffin aaronmgriffin at gmail.com
Tue Oct 16 16:57:30 EDT 2007


On 10/16/07, Kevin Piche <kevin.piche at cgi.com> wrote:
>
>
> On Tue, 2007-10-09 at 12:56 -0500, Aaron Griffin wrote:
> > On 10/9/07, Xavier <shiningxc at gmail.com> wrote:
> > > Dan and Aaron apparently discussed that on IRC.
> > > I am still a bit confused though..
> > >
> > > Apparently, Dan is for flexibility, so having the possibility to have the
> > > dbpath outside rootdir. And so, in this case, my patch should probably be
> > > applied. Unless there are many other hidden dependencies, where the code
> > > assumes that dbpath (or others) are under rootdir?
> > >
> > > On the other hand, Aaron said having the possibility to have DBPath outside
> > > RootDir is useless, and that it doesn't make sense.
> > > The final proposal is apparently just issuing a warning when the DB dir is
> > > outside the rootdir.
> >
> > Well. See, what I'm saying has nothing to do with code, using realpath() or not.
> >
> > I'm saying that the following doesn't make sense:
> > * install the gnome group to /home/me/chroot/gnome/ (as the root dir)
> > * save the gnome DB entries in /var/lib/pacman/local
>
> I can see how the DBPath outside of root is helpful to create a live cd
> with multiple squashfs's that get overlayed depending on how capable you
> want the system to be at boot.  Then you don't have to work out what
> packages need to go into each overlay and ensure the deps are somewhere
> which is what I've been doing.
>
> And the DB could go into another squashfs and then the user can decide
> if they want it at runtime.

See, but here's my qualm. You can easily do this later with 'mv' or
'rm'. That's why I find it silly in pacman, but hell, we already
compromised on this - I'm just clarifying my opinion. 8)




More information about the pacman-dev mailing list