From owner-freebsd-current Wed Dec 4 10:12: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AD1537B406 for ; Wed, 4 Dec 2002 10:12:08 -0800 (PST) Received: from minime.wossname.net (12-222-103-140.client.insightBB.com [12.222.103.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADAF643EA9 for ; Wed, 4 Dec 2002 10:12:06 -0800 (PST) (envelope-from bhlewis@wossname.net) Received: from akira.wossname.net (akira.wossname.net [192.168.1.2]) by minime.wossname.net (Postfix) with ESMTP id A1157566 for ; Wed, 4 Dec 2002 13:13:18 -0500 (EST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by akira.wossname.net (Postfix) with ESMTP id 7E1A3557F for ; Tue, 3 Dec 2002 23:07:54 -0500 (EST) Subject: Re: cvs commit: src/sbin/dump dump.8 main.c From: Benjamin Lewis To: freebsd-current@FreeBSD.org In-Reply-To: <200212031821.gB3IL9qc066627@repoman.freebsd.org> References: <200212031821.gB3IL9qc066627@repoman.freebsd.org> Content-Type: text/plain Organization: Message-Id: <1038974874.44506.28.camel@akira.wossname.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 03 Dec 2002 23:07:54 -0500 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2002-12-03 at 13:21, Kirk McKusick wrote: > mckusick 2002/12/03 10:21:09 PST > > Modified files: > sbin/dump dump.8 main.c > Log: > Add the `L' option [...] Aha! I've been waiting for that ever since it was hinted at in the original snapshots readme. I do wonder, however, if there is any way to use the feature without running it as root? I normally run dump as operator (via amanda); when I hacked up amdump to use "L", the dumps failed, like so: ?/-- akira.woss /usr/local lev 1 STRANGE sendbackup: start [akira.wossname.net:/usr/local level 1] sendbackup: info BACKUP=/sbin/dump sendbackup: info RECOVER_CMD=/sbin/restore -f... - sendbackup: info end | dump: Cannot create /usr/local/.dump_snapshot: Operation not permitted | ??error [/sbin/dump returned 1]? dumper: strange [missing size line from sendbackup] ? dumper: strange [missing end line from sendbackup] \-------- I've played with sysctl vfs.usermount and various permissions for the mount points but just haven't gotten it to work for operator. Does anyone have any hints? Is it even possible to create a snapshot without being the super-user? I think I can work around this by configuring amanda to run as root but I did want to point out that this might be an unexpected problem if the "silent snapshot" semantics are ever adopted (as foreshadowed by the commit message). I can't be the only one running dump as operator, can I? -Ben -- Benjamin Lewis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message