Hi,
I've noticed that when I'm backing up files with the "schg" flag set, and
also files which are a hardlink to such a file with a "schg" flag the
restore does not work.
It looks like bacula first restores the file with the "schg" flag, and
then tries to recreate the hardlink which failes because of the "schg"
flag.
[EMAIL PROTECTED] bacula> ls -lo /mnt/files/.bacula/restores/gurke/usr/bin
[...]
-r-xr-xr-x 1 root wheel - 9516 May 12 2006 chkey*
-r-sr-xr-x 1 root wheel schg 18140 May 12 2006 chpass*
-r-xr-xr-x 1 root wheel - 72220 May 12 2006 ci*
[...]
-r-xr-xr-x 1 root wheel - 2006 May 12 2006 pagesize*
-r-sr-xr-x 1 root wheel schg 5920 May 12 2006 passwd*
-r-xr-xr-x 1 root wheel - 5792 May 12 2006 paste*
[...]
schg, schange, simmutable
set the system immutable flag (super-user only)
The error messages are:
10-Dec 20:31 nudel-fd: client-nudel-files-r.2006-12-10_20.28.58 Error:
create_file.c:308 Could not hard link
/mnt/files/.bacula/restores/gurke/usr/bin/yppasswd ->
/mnt/files/.bacula/restores/gurke/usr/bin/passwd: ERR=Operation not permitted
10-Dec 20:31 nudel-fd: client-nudel-files-r.2006-12-10_20.28.58 Error:
create_file.c:308 Could not hard link
/mnt/files/.bacula/restores/gurke/usr/bin/ypchsh ->
/mnt/files/.bacula/restores/gurke/usr/bin/chpass: ERR=Operation not permitted
10-Dec 20:31 nudel-fd: client-nudel-files-r.2006-12-10_20.28.58 Error:
create_file.c:308 Could not hard link
/mnt/files/.bacula/restores/gurke/usr/bin/ypchfn ->
/mnt/files/.bacula/restores/gurke/usr/bin/chpass: ERR=Operation not permitted
10-Dec 20:31 nudel-fd: client-nudel-files-r.2006-12-10_20.28.58 Error:
create_file.c:308 Could not hard link
/mnt/files/.bacula/restores/gurke/usr/bin/ypchpass ->
/mnt/files/.bacula/restores/gurke/usr/bin/chpass: ERR=Operation not permitted
10-Dec 20:31 nudel-fd: client-nudel-files-r.2006-12-10_20.28.58 Error:
create_file.c:308 Could not hard link
/mnt/files/.bacula/restores/gurke/usr/bin/chsh ->
/mnt/files/.bacula/restores/gurke/usr/bin/chpass: ERR=Operation not permitted
10-Dec 20:31 nudel-fd: client-nudel-files-r.2006-12-10_20.28.58 Error:
create_file.c:308 Could not hard link
/mnt/files/.bacula/restores/gurke/usr/bin/chfn ->
/mnt/files/.bacula/restores/gurke/usr/bin/chpass: ERR=Operation not permitted
I'm running bacula 1.38.11 on FreeBSD 6.1-STABLE.
Do you have any Idea how to fix this? If you need the configuration
please tell me, but I don't think so since it looks to me like an
config-independent, general, problem.
--
Oliver Lehmann
http://www.pofo.de/
http://wishlist.ans-netz.de/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users