[pca] no patches for several weeks

McGranahan, Jamen jamen.mcgranahan at Vanderbilt.Edu
Fri Jun 19 15:28:42 CEST 2009


After doing a loopback mount, I'm getting lots of data with pkginfo -x & showrev -p. I'm now downloading patches using PCA (pca -d) and it's working as it should. Thanks for the tip! Shew!

Jamen McGranahan
Systems Services Librarian
Vanderbilt University


-----Original Message-----
From: pca-bounces at lists.univie.ac.at [mailto:pca-bounces at lists.univie.ac.at] On Behalf Of Martin Paul
Sent: Friday, June 19, 2009 8:09 AM
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] no patches for several weeks

[Jamen contacted me directly, I'm sending the reply to the list]

McGranahan, Jamen wrote:
 > Well, I think I found them. Someone moved the files from
 > /var/sadm/pkg to /apps/sadm/pkg.

That was my first suspicion ..

 > Can I force pkginfo to look in this directory? You stated that a
 > softlink would not work, so other than moving the files back to
 > /var/sadm/pkg, do I have any other options?

A soft link doesn't work because either pkgadd or patchadd seem to 
replace it with a "real" directory when they run, for whatever reason. 
You have two options:

Move the contents of /apps/sadm/pkg/ back to /var/sadm/pkg/.

Use a "loopback mount" to mount /apps/sadm/pkg/ under /var/sadm/pkg/. 
This is the supported way to move directories under /var/sadm/ to some 
other location. A command like:

   mount -F lofs /apps/sadm/pkg /var/sadm/pkg

should work. Attention - the loopback mount will be missing again when 
rebooting the machine, so you have to add it to /etc/vfstab as well. A 
line like this should do it:

   /apps/sadm/pkg - /var/sadm/pkg lofs - yes -

When the loopback mount is in place, check whether "pkginfo -x" and 
"showrev -p" give reasonable results again.

hth,

Martin.




More information about the pca mailing list