Bug 1121563
Summary: | [RFE] sendsyslog system call which simply passes a message up into syslogd's /dev/log interface | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jiri Belka <jbelka> |
Component: | kernel | Assignee: | Seth Jennings <sjenning> |
kernel sub component: | Kernel-Core | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
Status: | CLOSED WONTFIX | Docs Contact: | |
Severity: | unspecified | ||
Priority: | unspecified | CC: | jbelka |
Version: | 7.2 | Keywords: | FutureFeature |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-12 15:39:16 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jiri Belka
2014-07-21 08:47:19 UTC
I don't think that having a syscall is the right approach here. Bind mounting directories or sockets into chrooted or container environments has really become the defacto solution here. The advantage is that it put the host in control over the logging. If the host doesn't want the container to log, it just doesn't set up the container-to-host logging bridge. Many projects are building in systemd journal support like "systemd-nspawn --link-journal" and "docker --log-driver=journald" This would face an additional challenge of acceptance upstream. I believe the majority belief on this topic is that the container manager (docker, systemd-npsawn) should be responsible for setting up the logging. If you agree, we can close. If not, please elaborate on the situation in which you think that this is the best solution. Benefit of OpenBSD solution is logging would work even one would be out of FDs. Do whatever you want with this BZ. (In reply to Jiri Belka from comment #5) > Benefit of OpenBSD solution is logging would work even one would be out of > FDs. True, but I see that being a rare case. Probably means your system is either misbehaving or compromised :) Either way, I don't see that being enough justification upstream. |