[pca] 119788-09

Martin Paul martin at par.univie.ac.at
Thu Dec 18 08:51:58 CET 2008


Jamen,

> I'm really confused. I cannot even get smpatch to work. It keeps looking
> for /var/sadm/pkg or /var/sadm/patch, and neither directory exists on
> this server. All of our patches are in the /apps directory -
> /apps/sadm/pkg and /apps/sadm/patch.

So that's your problem. I assume that the pkg/patch directory were moved 
out of /var/sadm at some time in the past, maybe due to space 
restrictions in /var or / ?

As you found out, a soft link won't help here. You need a 
loopback-mount, try:

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

See if this makes "patchadd -p" (and everything else) work again.

The mounts aren't permanent - you will need to add them to /etc/vfstab.

I can only guess, but maybe that's the cause of the problem. The 
directories were moved out of /var at some time, the above mount 
commands were used but no changes to /etc/vfstab were made. At the next 
reboot the mounts were gone and patching started to fail.

Martin.



More information about the pca mailing list