From owner-freebsd-questions@FreeBSD.ORG Thu Dec 4 12:30:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94CD21065675 for ; Thu, 4 Dec 2008 12:30:29 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 402A58FC1D for ; Thu, 4 Dec 2008 12:30:28 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id mB4CUJGv083757; Thu, 4 Dec 2008 06:30:20 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20081204062415.026b7c80@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 04 Dec 2008 06:30:13 -0600 To: "Tim Judd" , "Kris Kennaway" From: Derek Ragona In-Reply-To: References: <6.0.0.22.2.20081203192259.0241ef88@mail.computinginnovations.com> <49374418.6060709@FreeBSD.org> Mime-Version: 1.0 X-Antivirus: avast! (VPS 081203-0, 12/03/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.94.2-exp/8720/Wed Dec 3 21:09:56 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: mB4CUJGv083757 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: what script is whacking root's files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 12:30:29 -0000 At 01:11 AM 12/4/2008, Tim Judd wrote: >On Wed, Dec 3, 2008 at 7:44 PM, Kris Kennaway 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.