[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] RE: SELinux support?

From: edgar . soldin
Subject: Re: [Duplicity-talk] RE: SELinux support?
Date: Fri, 11 Jun 2010 14:58:38 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100317 Thunderbird/3.0.4

Thanks for taking initiative here. Ken, the maintainer, is quite busy these days so I just want to confirm that we took notice ;) In case there is no answer in the next say, two weeks, you might probably should ping the list again. Else you could of course file a bug report on launchpad and attach the patch. This way it can't be forgotten.

ede/duply.net/duplicity team

On 11.06.2010 13:27, Moray Henderson wrote:
Last week I wrote:
I am just evaluating duplicity for our organisation's CentOS 5 servers.
It looks very nice, except for one thing: on my test scp backup and
restore, the SELinux attributes were not restored.

Are the security contexts supported?  If not, are there plans to add
soon?  Lack of SELinux support would be a show-stopper as far as we are

Alright, since there has been no reply, I'll do it the other way.

Attached is a patch which adds SELinux support to
duplicity-0.6.08b-1.el5 from EPEL.  It does nothing to the tar archive
itself, but if the libselinux-python library is installed and it detects
that SELinux is active, files restored by duplicity will be given the
contexts specified by the running policy.  If libselinux-python is not
available, everything works as before.

It also moves the helper functions in  tarfile.py to the top so that
tarfile.py works when called directly from command line.

Please let me know whether this is useful.

"To err is human.  To purr, feline"

Duplicity-talk mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]