Mike Gerdts wrote: > On 8/7/07, Enda O'Connor ( Sun Micro Systems Ireland) > <Enda.Oconnor at sun.com> wrote: > >> Unfortunately a reinstall is all that will recreate me thinks. >> Sorry for the bad news, best to limit root access in future though. >> > > FWIW, I was recently trying to customize a wanboot miniroot and in the > process of "pkgrm -R /mnt ..." of some non-SUNW packages (FJSV*, I > think). During this time /var/sadm (possibly all of /var, I forget > for sure) was lost. I haven't had a chance to dig into the cause or > repeatability of it. I just thought I would mention it in case there > have been other instances of /var/sadm getting lost.
So are we talking about /var/sadm on the running system getting lost or the /var/sadm in your wanboot miniroot image mounted at /mnt ? If the latter, then there might be an explanation (or at least a known issue that explains it). In the miniroot image, ./var is symlinked to ./tmp/root/var and there is a known issue in the pkg tools where if the pkg delivers something into ./var, it breaks that symlink. > This was when > working with a wanboot image created by setup_install_server on S10 > 11/06. > > On the other hand, limiting root is also good advice. I can somewhat > easily see this as being a target for someone trying to free up space. > > Mike > >
