|
Bugzilla – Full Text Bug Listing |
| Summary: | errno 13 in change_hat library | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Wojciech Chojnowski <wojtek> |
| Component: | AppArmor | Assignee: | Dominic W Reynolds <dreynolds> |
| Status: | RESOLVED FIXED | QA Contact: | Dominic W Reynolds <dreynolds> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | suse-beta |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | 32bit | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
http://forge.novell.com/modules/xfcontent/private.php/apparmor/Development%20-%20April%20Snapshot/libapparmor-2.0-6288.tar.gz Wojtech, thanks for the report; this was caused by a misunderstanding between us and the kernel about the meaning of /proc/self. Please try this tarball and let us know how it works out -- we've never tried any MPM except prefork. (I don't expect it to work.) All works ok :-) I checked this in 32bit and 64bit mode - 2 x opteron |
program: apache 2.0.54 with MPM apparmor: devel version. sys: fedora core 4. I added module apparmor to apache 2.0. When apache call change_hat module, this return error in line: ret = write(fd, buf, len); // return -1 errno = 13 This problem write log to syslog: Mar 16 11:47:25 micro kernel: SubDomain: subdomain_setprocattr: Attempt by foreign task httpd(27962) [user 400] to changehat of task httpd(27960) This problem occurs with 2 virtual domains; one -> ImmDefaultHatName some.domain other -> ImmDefaultHatName some.other.domain and without above lines in configs of virtual domain. hardware: 2 x opteror 244 (x86 - 32bit mode)