From: Bruce A. <ba...@gr...> - 2007-08-27 08:21:01
|
Hi Joshua, I don't know if Bruno has read the Bugzilla thread, but I certainly have. As the person in charge of the smartmontools project, I'm still trying to understand if I need to do something (meaning: make a change to the smartmontools code and/or documentation). Please help me to sort this out. Is the following correct? (1) For current Redhat/Fedora users with FC6 or earlier, there are SELinux conflicts with smartd that must be resolved by individual users. In particular, both smartd and smartctl are forbidden from creating the /dev/twa? and /dev/twe? character devices that they need. (2) In Redhat/Fedora FC7 and later, the problem has been fixed, because the SELinux policy permits smartd/smartctl the access that they need. If both (1) and (2) are correct, then I have further questions. (A) In the case of (1), can the problem in FC6 and earlier be fixed with a modification of the smartd/smartctl code that creates the /dev/tw[ae]? device nodes? If so, could you point me to a code fragment that would do this? (B) What about other distributions (Debian, for example)? Does this same problem arise? Is there something that needs to be fixed or changed within the smartmontools package? Cheers, Bruce On Sun, 26 Aug 2007, Joshua Daniel Franklin wrote: > --- Bruno Wolff III wrote: >> I don't think the selinux policies should be changed. > > Did you read the bugzilla link I sent earlier? > http://bugzilla.redhat.com/show_bug.cgi?id=232218 > Dan Walsh, the Red Hat SELinux maintainer, added an > entry to the reference policy at modules/kernel/storage.fc > for "/dev/tw[a-z][^/]+" on 2007 March 26: > http://oss.tresys.com/projects/refpolicy/changeset/2246 > It's in Fedora 7 selinux-policy-2.6.4-25.fc7 > > It's fine if you want to contact the 3ware kernel driver > maintainer with a current sysfs/udev patch, but this is > not an issue with current Fedora anymore. > > > > ____________________________________________________________________________________ > Sick sense of humor? Visit Yahoo! TV's > Comedy with an Edge to see what's on, when. > http://tv.yahoo.com/collections/222 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support > |