| Summary: | GRSEC blocking chmod during util-linux-2.19.1(-r1) emerge | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jérémie Horhant <jeremie.horhant> |
| Component: | Hardened | Assignee: | The Gentoo Linux Hardened Team <hardened> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Jérémie Horhant
2011-08-25 09:21:46 UTC
If this is being done in a chroot environment, then you need to turn off CONFIG_GRKERNSEC_CHROOT_CHMOD. If you have sysctl enabled, you can do that at run time, you don't need to recompile. The option is at /proc/sys/kernel/grsecurity/chroot_deny_chmod I'm going to close this bug. However, if this is not happening in a chroot, then please reopen it since there may be something else going on. I'm doing the operation in a lxc container, I think this count as a chroot. echo 0 > /proc/sys/kernel/grsecurity/chroot_deny_chmod works very well. Many thanks for your quick answer and sorry for the noise. |