Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Backup server question: msg#00164

Subject: Re: Backup server question
mroselinux@xxxxxxxxxxxxxxxxxxxx wrote:

On Thu, 2005-04-21 at 10:54 -0400, mroselinux@xxxxxxxxxxxxxxxxxxxx
wrote:
We have a FC3 server running samba, dhcpd, and named (for internal names
only).  Each night, a backup server to the primary runs rsync to
download
changed/new files.

This is a vacation week at our high school and I tried our backup plan
for
the first time since upgrading to FC3.  When bringing up the backup
server
as primary, I ran into a security problem with dhcpd (dhcpd: Can't open
lease database /var/lib/dhcp/dhcpd.leases: Permission denied).  I issued
a
setforce 0 command and restarted dhcpd and all was ok.  I then again
stopped dhcpd, issued a setenforce 1 command, restarted dhcpd and again
all was ok.

So, should I be running fixfiles each night at the end of the rsync
script?  Or is there a better solution that someone with expertise can
suggest?
I think that the FC4/development tree includes a patch to rsync to allow
preservation of extended attributes (which would include the SELinux
attributes).  Hence, you might try building the development rsync SRPM
on FC3 and trying it there (using the -X option).  You need the updated
rsync on both the client and server.  Naturally, you'd want to test it
out somewhere other than your production machine first.

--
Stephen Smalley <sds@xxxxxxxxxxxxx>
National Security Agency

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list

Stephen - Thanks for the info, but I don't think that I have the
capability to build rsync.  I will look forward to it.  But in the
meantime, is running fixfiles at the end of the rsync script an ok
approach?

Mark



--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list
Yes.

--




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe