Skip site navigation (1)Skip section navigation (2)
Date:      03 Dec 2002 23:07:54 -0500
From:      Benjamin Lewis <bhlewis@wossname.net>
To:        freebsd-current@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/dump dump.8 main.c
Message-ID:  <1038974874.44506.28.camel@akira.wossname.net>
In-Reply-To: <200212031821.gB3IL9qc066627@repoman.freebsd.org>
References:  <200212031821.gB3IL9qc066627@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bhlewis@wossname.net>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1038974874.44506.28.camel>