| Summary: | net-misc/ntp - ntpd fails with caps USE flag set | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andrew John Hughes <gnu_andrew> |
| Component: | [OLD] Server | Assignee: | SpanKY <vapier> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Does it fail because it runs as the wrong user or because Linux Capabilities is disabled in your kernel? Does it work when you run it as root? emerge --info too, please. Oh, and I assume this is about net-misc/ntp. *** Bug 219654 has been marked as a duplicate of this bug. *** |
ntpd is run as user ntp in group ntp. But this fails if capabilities are turned on and ntpd silently crashes: capset(0x19980330, 0, {CAP_NET_BIND_SERVICE|CAP_SYS_TIME, CAP_NET_BIND_SERVICE|CAP_SYS_TIME, CAP_NET_BIND_SERVICE|CAP_SYS_TIME}) = -1 EPERM (Operation not permitted) Reproducible: Always