Date: Thu, 04 Dec 2008 06:30:13 -0600 From: Derek Ragona <derek@computinginnovations.com> To: "Tim Judd" <tajudd@gmail.com>, "Kris Kennaway" <kris@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: what script is whacking root's files Message-ID: <6.0.0.22.2.20081204062415.026b7c80@mail.computinginnovations.com> In-Reply-To: <ade45ae90812032311v47e92cf2g30bc3e2915d38276@mail.gmail.co m> References: <6.0.0.22.2.20081203192259.0241ef88@mail.computinginnovations.com> <49374418.6060709@FreeBSD.org> <ade45ae90812032311v47e92cf2g30bc3e2915d38276@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 01:11 AM 12/4/2008, Tim Judd wrote: >On Wed, Dec 3, 2008 at 7:44 PM, Kris Kennaway <kris@freebsd.org> wrote: > > > Derek Ragona wrote: > > > >> I have a freshly installed 7.0 release server. The configuration files > >> (all dot files including .ssh etc.) in /root keep getting deleted. I > >> assume this is from a script running from periodic and can be set NOT to > >> delete these files. Can someone point me where I need to make this > change. > >> I have already combed through the handbook and mailing list archives. > >> > > > > There is no such standard script in FreeBSD. > > > > Kris > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > >I'd make sure there's not something like a tmpfs/mfs filesystem that /root >is being used on. If / is on a ramdisk image of any kind, on each reboot, >it should disappear. > >Perhaps you should paste your fstab and current mounted filesystems as an >aid to debug. I didn't think it would be from the way the filesystems are mounted, so here's that information: cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1d /usr ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 mount /dev/da0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/da0s1d on /usr (ufs, local, soft-updates) /root is on /dev/da0s1a This particular server is running in a VM on a vmware esx 3.5 server. The server runs fine, but every so often the dot files disappear for root. I have not found the behavior to follow a reboot, but some period of time. Hence my suspicions it was a periodic script. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20081204062415.026b7c80>