Re: How to HTTP Serve Fedora Distribution

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

 



David Highley wrote:
How can we set up HTTP serving of Fedora distribution since we can not
label the files in the ISO? What we have tried:
- copy ISO file into web tree
- loopback mount the ISO to /mnt
- symlink /mnt into the web tree
or
- create directory in web tree
- loopback mount the ISO to directory in web tree

Selinux blocks access to the distribution. The only solution we are
aware of is to drop the pants on selinux by going to permissive mode.

I put the ISO file in my web tree and loopback mount it with a context option, e.g. in fstab:

/srv/nb/distros/fc10/os/x86_64/iso/Fedora-10-x86_64-DVD.iso /srv/nb/distros/fc10/os/x86_64/dvd iso9660 _netdev,ro,loop,fscontext=system_u:object_r:public_content_t:s0 0 0 /srv/nb/distros/fc10/os/i386/iso/Fedora-10-i386-DVD.iso /srv/nb/distros/fc10/os/i386/dvd iso9660 _netdev,ro,loop,fscontext=system_u:object_r:public_content_t:s0 0 0

The resulting hierarchy can be exported using ftp, http, rsync, samba, etc.

Paul.

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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux