Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
--------------------------------------------------------------------
Linux version 2.4.21-4.EL (bhcompile@daffy.perf.redhat.com) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)) #1 Fri Oct 3 18:13:58 EDT 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000f6e0000 (usable)
BIOS-e820: 000000000f6e0000 - 000000000f6e3000 (ACPI NVS)
BIOS-e820: 000000000f6e3000 - 000000000f6f0000 (ACPI data)
BIOS-e820: 000000000f6f0000 - 000000000f700000 (reserved)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
246MB LOWMEM available.
On node 0 totalpages: 63200
zone(0): 4096 pages.
zone(1): 59104 pages.
zone(2): 0 pages.
Kernel command line: ro root=LABEL=/
Initializing CPU#0
Detected 2666.869 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 5321.52 BogoMIPS
Memory: 243480k/252800k available (1524k kernel code, 6960k reserved, 1086k data, 164k init, 0k highmem)
zapping low mappings.
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Trace cache: 12K uops<6>CPU: L2 cache: 1024K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 20100000 00000000 00000000
CPU: Common caps: bfebfbff 20100000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
Process timing init...done.
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 3.00 entry at 0xfba10, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Ignoring BAR0-3 of IDE controller 00:1f.2
Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
PCI: Discovered primary peer bus ff [IRQ]
PCI: Using IRQ router default [8086/2640] at 00:1f.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Total HugeTLB memory allocated, 0
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
aio_setup: num_physpages = 15800
aio_setup: sizeof(struct page) = 56
Hugetlbfs mounted.
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
--------------------------------------------------------------------
In boot file i found :
------------------------------------------------------------------
May 11 10:35:44 localhost network: Shutting down interface eth0: failed
May 11 10:35:45 localhost ifdown: Users cannot control this device.
May 11 10:35:45 localhost network: Shutting down loopback interface: failed
May 11 10:35:45 localhost sysctl: error: permission denied on key 'net.ipv4.ip_forward'
May 11 10:35:45 localhost sysctl: error: permission denied on key 'net.ipv4.conf.default.rp_filter'
May 11 10:35:45 localhost sysctl: error: permission denied on key 'kernel.sysrq'
May 11 10:35:45 localhost sysctl: error: permission denied on key 'kernel.core_uses_pid'
May 11 10:35:45 localhost network: Setting network parameters: succeeded
May 11 10:35:45 localhost ifup: Users cannot control this device.
May 11 10:35:45 localhost network: Bringing up loopback interface: failed
---------------------------------------------------------------
T
In boot file i found :
------------------------------------------------------------------
May 11 10:35:44 localhost network: Shutting down interface eth0: failed
May 11 10:35:45 localhost ifdown: Users cannot control this device.
May 11 10:35:45 localhost network: Shutting down loopback interface: failed
May 11 10:35:45 localhost sysctl: error: permission denied on key 'net.ipv4.ip_forward'
May 11 10:35:45 localhost sysctl: error: permission denied on key 'net.ipv4.conf.default.rp_filter'
May 11 10:35:45 localhost sysctl: error: permission denied on key 'kernel.sysrq'
May 11 10:35:45 localhost sysctl: error: permission denied on key 'kernel.core_uses_pid'
May 11 10:35:45 localhost network: Setting network parameters: succeeded
May 11 10:35:45 localhost ifup: Users cannot control this device.
May 11 10:35:45 localhost network: Bringing up loopback interface: failed
---------------------------------------------------------------
[/COLOR]
Ok that's definitely screwy.... the question is how did it get like that.....
Seems like either the boot process is suddently deciding not to operate as root (unlikely) or somebody / something has changed the permissions so root cannot perform that operation.
Let's explore that one...
See if ...
ls -l `locate ifup`
shows any non-root read/writable files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.