Bug 137851
Summary: | No stderr output from /usr/sbin/dhcpd -d | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Olaf Manczak <olavi> |
Component: | dhcp | Assignee: | Jason Vas Dias <jvdias> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-11-04 01:51:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Olaf Manczak
2004-11-02 06:50:37 UTC
dhcp-3.0.1-11 kernel-2.6.9-1.649 glibc-2.3.3-74 # uname -a Linux tullamore.home.olavi.org 2.6.9-1.649 #1 Fri Oct 29 00:36:01 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux # ifconfig eth1 Link encap:Ethernet HWaddr 00:10:18:03:20:7D inet addr:10.198.185.65 Bcast:10.198.185.255 Mask:255.255.255.0 inet6 addr: fe80::210:18ff:fe03:207d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8830 errors:0 dropped:0 overruns:0 frame:0 TX packets:9637 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5370152 (5.1 MiB) TX bytes:4819392 (4.5 MiB) Interrupt:12 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:661 errors:0 dropped:0 overruns:0 frame:0 TX packets:661 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:56497 (55.1 KiB) TX bytes:56497 (55.1 KiB) I would guess that you have SELinux enabled ? With SELinux targetted policy, dhcpd does not have permission to write to character devices. Doing: # dhcpd -d | cat or # dhcpd -d | tee /tmp/dhcpd.log USED to work; now, with selinux-policy-targeted-1.17.36-1, even this does not. The only way I can get dhcpd to log to stderr is to do: # setenforce 0; dhcpd -d This works fine. I'm taking this up with the SELinux developers. Doing: # dhcpd -d 2>&1 | tee /tmp/dhcpd.log or # dhcpd -d 2>&1 | cat also works fine with SELinux in enforcing mode. You are right. However, this is very confusing since there is no error message whatsoever. Can anything be done about it? |