Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-09 Thread Marco van Wieringen
Geert Stappers vanadgroup.com> writes: > > Op 20120104 om 09:17 schreef Marco van Wieringen: > > On 01/ 4/12 12:03 AM, Wolfgang Denk wrote: > > > > > > > I understand the problem is located, and no further testing on my side > > > is needed? > > > > > > > > Correct I see what is causing

Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-09 Thread Geert Stappers
Op 20120104 om 09:17 schreef Marco van Wieringen: > On 01/ 4/12 12:03 AM, Wolfgang Denk wrote: > > > > I understand the problem is located, and no further testing on my side > > is needed? > > > > > Correct I see what is causing this problem. I only need to code a workaround > and test it s

Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-04 Thread Marco van Wieringen
On 01/ 4/12 12:03 AM, Wolfgang Denk wrote: > Dear Marco, > > In message<4f030530.7050...@planets.elm.net> you wrote: >> >> But I think I have found the problem. >> >> First of all we have a snarfu due to fixing bug #1610 see >> >> http://bugs.bacula.org/view.php?id=1806 > ... >> http://bugs.bacula

Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-03 Thread Wolfgang Denk
Dear Marco, In message <4f030530.7050...@planets.elm.net> you wrote: > > But I think I have found the problem. > > First of all we have a snarfu due to fixing bug #1610 see > > http://bugs.bacula.org/view.php?id=1806 ... > http://bugs.bacula.org/view.php?id=1807 > > I need to think how we are g

Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-03 Thread Marco van Wieringen
On 01/ 3/12 11:10 AM, Simone Caronni wrote: Hello, > > > So I would say give the xattr=yes a go on your install and see > > > if it works for these attributes. You could create a test fileset > > > with a known file with a posix file capability and run the bacula-fd > > >

Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-03 Thread Simone Caronni
Hello, > > > > So I would say give the xattr=yes a go on your install and see > > > > if it works for these attributes. You could create a test fileset > > > > with a known file with a posix file capability and run the bacula-fd > > > > with a debug level of 100 and watch for xattr save messages.

Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-02 Thread Marco van Wieringen
Wolfgang Denk denx.de> writes: > > Dear Marco, > > I wrote: > > > > So I would say give the xattr=yes a go on your install and see > > > if it works for these attributes. You could create a test fileset > > > with a known file with a posix file capability and run the bacula-fd > > > with a deb

Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-02 Thread Marco van Wieringen
Wolfgang Denk denx.de> writes: > > Dear Marco, > > In message post.gmane.org> you wrote: > > > > > It appears that bacula does not save, and thus cannot restore, such > > > file capabilities. > > > > > Thats not really true. I did some searching on google to find out > > how these so called P

Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-02 Thread Wolfgang Denk
Dear Marco, I wrote: > > So I would say give the xattr=yes a go on your install and see > > if it works for these attributes. You could create a test fileset > > with a known file with a posix file capability and run the bacula-fd > > with a debug level of 100 and watch for xattr save messages. >

Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-02 Thread Wolfgang Denk
Dear Marco, In message you wrote: > > > It appears that bacula does not save, and thus cannot restore, such > > file capabilities. > > > Thats not really true. I did some searching on google to find out > how these so called POSIX file capabilities are implemented. > Its also quite new code it w

Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-02 Thread Marco van Wieringen
Wolfgang Denk denx.de> writes: > > A number of tools in recent Linux distributions (say, Fedora 16) rely > on file capabilities for correct operation. For example, "rlogin" > will only work for regular uses when the "cap_net_bind_service" > capability is set: > > -> getcap -v /usr/bin/rl