2008/8/18 Tim Lauridsen <[EMAIL PROTECTED]>: > Simon Goodall wrote: >> >> I've written a yum plugin to use Avahi to find proxy server's on a >> local network (see the attachment). The idea is that I do not have to >> configure a proxy server in the yum config, especially due to; >> >> a) My laptop is used across many networks and I do not want to mess >> with the proxy config all the time. >> b) I do not always want to turn on the machine with the proxy server >> whenever I check for updates >> >> In particular I wrote this plugin when upgrading my various Fedora 8 >> machines to Fedora 9. I used http-replicator to cache all the rpm >> downloads and setup avahi to broadcast the proxy server address. >> Later, when large updates are available I can fire up my proxy and all >> the machines will use it, rather than eat into my download limit. >> >> Is this something you are interested in adding to the yum-utils package? >> >> Have I correctly used the yum api? >> >> Simon Goodall >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Yum-devel mailing list >> [email protected] >> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel > > Look fine to me, the only issue i can see is, that it don't work with > selinux. > > Tim
The problem is the current Fedora 9 (at least) SELinux polices block access to avahi from yum. It should just be a case of allowing this in the policy. I've not done much with SELinux so I am not sure what needs to change. Simon > _______________________________________________ > Yum-devel mailing list > [email protected] > https://lists.dulug.duke.edu/mailman/listinfo/yum-devel > _______________________________________________ Yum-devel mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
