[LIP] audit(1106732436.123:0): avc: denied { read write }

A C E <absolutely.confused.engineer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
hi,
i compiled a 2.6.9 kernel. its working fine except that its giving me
some errors while booting and not logging kernel printk messages onto
/var/log/messages. The kernel was compiled with debugging support and
frame pointers. Many of the configurations options were changed ( i
can send you the /usr/src/linux-2.6.9/.config file if required ).

I am using FC3 on a P4 and the default 2.6.9-1.677 kernel is working
without any logging errors. The printk messages get logged on to
/var/log/messages for the default kernel.

here is a diff of the dmesg from the default FC3 kernel (2.6.9-1.677)
and my self-compiled kernel (2.6.9-debug). The diff is very long  so i
am putting only the relevant lines.

$ diff -c  dmesg-2.6.9-1.677  dmesg-2.6.9-debug
*** dmesg-2.6.9-1.677  2005-01-26 09:53:22.541687512 +0530
--- dmesg-2.6.9-debug 2005-01-26 09:46:49.000000000 +0530
***************
*** 1,4 ****
! Linux version 2.6.9-1.667 ([email protected]) (gcc
version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Tue Nov 2 14:41:25
EST 2004
  BIOS-provided physical RAM map:
   BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
   BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
--- 1,4 ----
! Linux version 2.6.9-debug (root@virion) (gcc version 3.4.2 20041017
(Red Hat 3.4.2-6.fc3)) #1 Sun Jan 23 13:48:03 IST 2005
  BIOS-provided physical RAM map:
   BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
   BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
***************
*** 77,118 ****
- Linux Plug and Play Support v0.97 (c) Adam Belay
  usbcore: registered new driver usbfs
  usbcore: registered new driver hub
  PCI: Using ACPI for IRQ routing
! apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
! apm: overridden by ACPI.

  audit: initializing netlink socket (disabled)
! audit(1106732988.175:0): initialized

  Total HugeTLB memory allocated, 0
  VFS: Disk quotas dquot_6.5.1
  Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  SELinux:  Registering netfilter hooks
  Initializing Cryptographic API
- ksign: Installing public key data
- Loading keyring
- - Added public key 6ECDA687281A73E5
- - User ID: Red Hat, Inc. (Kernel Module GPG key)
  pci_hotplug: PCI Hot Plug PCI Core version: 0.5
  vesafb: probe of vesafb0 failed with error -6
  ACPI: Processor [CPU0] (supports C1)
- isapnp: Scanning for PnP cards...
- isapnp: No Plug & Play device found
  Real Time Clock Driver v1.12
  Linux agpgart interface v0.100 (c) Dave Jones
  agpgart: Detected an Intel 845G Chipset.
--- 94,121 ----
  usbcore: registered new driver usbfs
  usbcore: registered new driver hub
  PCI: Using ACPI for IRQ routing

  audit: initializing netlink socket (disabled)
! audit(1106732400.4294965545:0): initialized

  Total HugeTLB memory allocated, 0
  VFS: Disk quotas dquot_6.5.1
  Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  SELinux:  Registering netfilter hooks
  Initializing Cryptographic API
  pci_hotplug: PCI Hot Plug PCI Core version: 0.5
  vesafb: probe of vesafb0 failed with error -6
  ACPI: Processor [CPU0] (supports C1)
  Real Time Clock Driver v1.12
  Linux agpgart interface v0.100 (c) Dave Jones
  agpgart: Detected an Intel 845G Chipset.
***************
*** 126,142 ****
  ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
  RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
  divert: not allocating divert_blk for non-ethernet device lo
  Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
  ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
  ICH4: IDE controller at PCI slot 0000:00:1f.1
! ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 11 (level, low) -> IRQ 11
  ICH4: chipset revision 2
  ICH4: not 100% native mode: will probe irqs later
      ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
      ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
  Probing IDE interface ide0...
  hda: ST340015A, ATA DISK drive
! Using cfq io scheduler
  ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
  Probing IDE interface ide1...
  hdc: DVD-ROM DDU1621, ATAPI CD/DVD-ROM drive
--- 129,146 ----
  ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
  RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
  divert: not allocating divert_blk for non-ethernet device lo
+ Linux video capture interface: v1.00
  Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
  ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
  ICH4: IDE controller at PCI slot 0000:00:1f.1
! ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 185
  ICH4: chipset revision 2
  ICH4: not 100% native mode: will probe irqs later
      ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
      ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
  Probing IDE interface ide0...
  hda: ST340015A, ATA DISK drive
! Using anticipatory io scheduler
  ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
  Probing IDE interface ide1...
  hdc: DVD-ROM DDU1621, ATAPI CD/DVD-ROM drive
***************
*** 164,182 ****
- md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
! ACPI: (supports S0 S1 S4 S5)
! ACPI wakeup devices:
! SLPB PCI0 HUB0 UAR1 UAR2 USB0 USB1 USB2 USBE MODM
! Freeing unused kernel memory: 144k freed
! kjournald starting.  Commit interval 5 seconds
  EXT3-fs: mounted filesystem with ordered data mode.
  security:  3 users, 4 roles, 280 types, 16 bools
  security:  53 classes, 5494 rules
  SELinux:  Completing initialization.
--- 168,182 ----
! Freeing unused kernel memory: 168k freed
  EXT3-fs: mounted filesystem with ordered data mode.
+ kjournald starting.  Commit interval 5 seconds
  security:  3 users, 4 roles, 280 types, 16 bools
  security:  53 classes, 5494 rules
  SELinux:  Completing initialization.
***************
*** 197,218 ****
  SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
  SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
  SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
! inserting floppy driver for 2.6.9-1.667
  Floppy drive(s): fd0 is 1.44M
  FDC 0 is a post-1991 82077
  dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
! ACPI: PCI interrupt 0000:01:02.0[A] -> GSI 11 (level, low) -> IRQ 11
  divert: allocating divert_blk for eth0
! eth0: Davicom DM9102 at pci0000:01:02.0, 00:80:ad:83:ec:f0, irq 11.
! ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 9 (level, low) -> IRQ 9
  PCI: Setting latency timer of device 0000:00:1f.5 to 64
! intel8x0_measure_ac97_clock: measured 49299 usecs
  intel8x0: clocking to 48000
  hw_random: RNG not detected
! ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 11 (level, low) -> IRQ 11
! ehci_hcd 0000:00:1d.7: EHCI Host Controller
  PCI: Setting latency timer of device 0000:00:1d.7 to 64
! ehci_hcd 0000:00:1d.7: irq 11, pci mem 2205e000
  SELinux: initialized (dev usbdevfs, type usbdevfs), uses genfs_contexts
  ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
  PCI: cache line size of 128 is not supported by device 0000:00:1d.7
--- 197,226 ----
  SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
  SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
  SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
! audit(1106732407.851:0): avc:  denied  { read write } for  pid=632
exe=/sbin/minilogd name=console dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
! audit(1106732407.851:0): avc:  denied  { read write } for  pid=632
exe=/sbin/minilogd path=/dev/null dev=tmpfs ino=857
scontext=user_u:system_r:syslogd_ttcontext=user_u:object_r:tmpfs_t
tclass=chr_file
! audit(1106732407.851:0): avc:  denied  { read write } for  pid=632
exe=/sbin/minilogd path=/dev/null dev=tmpfs ino=857
scontext=user_u:system_r:syslogd_ttcontext=user_u:object_r:tmpfs_t
tclass=chr_file
! audit(1106732407.851:0): avc:  denied  { read write } for  pid=632
exe=/sbin/minilogd path=/dev/null dev=tmpfs ino=857
scontext=user_u:system_r:syslogd_ttcontext=user_u:object_r:tmpfs_t
tclass=chr_file
! audit(1106732407.853:0): avc:  denied  { read write } for  pid=632
exe=/sbin/minilogd name=null dev=tmpfs ino=857
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
! audit(1106732407.854:0): avc:  denied  { write } for  pid=632
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
! audit(1106732411.148:0): avc:  denied  { read write } for  pid=1120
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
! audit(1106732411.148:0): avc:  denied  { write } for  pid=1120
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
! inserting floppy driver for 2.6.9-debug
  Floppy drive(s): fd0 is 1.44M
  FDC 0 is a post-1991 82077
  dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
! ACPI: PCI interrupt 0000:01:02.0[A] -> GSI 18 (level, low) -> IRQ 185
  divert: allocating divert_blk for eth0
! eth0: Davicom DM9102 at pci0000:01:02.0, 00:80:ad:83:ec:f0, irq 185.
! ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 201
  PCI: Setting latency timer of device 0000:00:1f.5 to 64
! intel8x0_measure_ac97_clock: measured 49530 usecs
  intel8x0: clocking to 48000
  hw_random: RNG not detected
! ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 193
! ehci_hcd 0000:00:1d.7: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0
EHCI Controller
  PCI: Setting latency timer of device 0000:00:1d.7 to 64
! ehci_hcd 0000:00:1d.7: irq 193, pci mem e01d8000
  SELinux: initialized (dev usbdevfs, type usbdevfs), uses genfs_contexts
  ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
  PCI: cache line size of 128 is not supported by device 0000:00:1d.7
***************
*** 220,261 ****
  hub 1-0:1.0: USB hub found
  hub 1-0:1.0: 6 ports detected
  USB Universal Host Controller Interface driver v2.2
! ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 5 (level, low) -> IRQ 5
! uhci_hcd 0000:00:1d.0: UHCI Host Controller
  PCI: Setting latency timer of device 0000:00:1d.0 to 64
! uhci_hcd 0000:00:1d.0: irq 5, io base 0000d800
  uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
  hub 2-0:1.0: USB hub found
  hub 2-0:1.0: 2 ports detected
! ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 5 (level, low) -> IRQ 5
! uhci_hcd 0000:00:1d.1: UHCI Host Controller
  PCI: Setting latency timer of device 0000:00:1d.1 to 64
! uhci_hcd 0000:00:1d.1: irq 5, io base 0000d000
  uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
  hub 3-0:1.0: USB hub found
  hub 3-0:1.0: 2 ports detected
! ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11
! uhci_hcd 0000:00:1d.2: UHCI Host Controller
  PCI: Setting latency timer of device 0000:00:1d.2 to 64
! uhci_hcd 0000:00:1d.2: irq 11, io base 0000d400
  uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
  hub 4-0:1.0: USB hub found
  hub 4-0:1.0: 2 ports detected
! md: Autodetecting RAID arrays.
! md: autorun ...
! md: ... autorun DONE.
  SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts
  NET: Registered protocol family 10
! Disabled Privacy Extensions on device 02369a00(lo)
  IPv6 over IPv4 tunneling driver
  divert: not allocating divert_blk for non-ethernet device sit0
  ACPI: Power Button (FF) [PWRF]
  ACPI: Sleep Button (CM) [SLPB]
  EXT3 FS on hda7, internal journal
! device-mapper: 4.1.0-ioctl (2003-12-10) initialised: [email protected]
! cdrom: open failed.
  SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
  SELinux: initialized (dev hda6, type vfat), uses genfs_contexts
  SELinux: initialized (dev hda5, type vfat), uses genfs_contexts
  Adding 787144k swap on /dev/hda8.  Priority:-1 extents:1
  SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
--- 228,298 ----
  hub 1-0:1.0: USB hub found
  hub 1-0:1.0: 6 ports detected
  USB Universal Host Controller Interface driver v2.2
! ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 169
! uhci_hcd 0000:00:1d.0: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1
  PCI: Setting latency timer of device 0000:00:1d.0 to 64
! uhci_hcd 0000:00:1d.0: irq 169, io base 0000d800
  uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
  hub 2-0:1.0: USB hub found
  hub 2-0:1.0: 2 ports detected
! ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 177
! uhci_hcd 0000:00:1d.1: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2
  PCI: Setting latency timer of device 0000:00:1d.1 to 64
! uhci_hcd 0000:00:1d.1: irq 177, io base 0000d000
  uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
  hub 3-0:1.0: USB hub found
  hub 3-0:1.0: 2 ports detected
! ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 185
! uhci_hcd 0000:00:1d.2: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3
  PCI: Setting latency timer of device 0000:00:1d.2 to 64
! uhci_hcd 0000:00:1d.2: irq 185, io base 0000d400
  uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
  hub 4-0:1.0: USB hub found
  hub 4-0:1.0: 2 ports detected
! audit(1106732425.662:0): avc:  denied  { read write } for  pid=1485
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
! audit(1106732425.664:0): avc:  denied  { write } for  pid=1485
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
  SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts
  NET: Registered protocol family 10
! Disabled Privacy Extensions on device c04469e0(lo)
  IPv6 over IPv4 tunneling driver
  divert: not allocating divert_blk for non-ethernet device sit0
+ audit(1106732436.123:0): avc:  denied  { read write } for  pid=1686
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106732436.125:0): avc:  denied  { write } for  pid=1686
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
+ audit(1106732436.127:0): avc:  denied  { read write } for  pid=1687
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106732436.128:0): avc:  denied  { write } for  pid=1687
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
+ audit(1106732436.131:0): avc:  denied  { read write } for  pid=1688
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106732436.132:0): avc:  denied  { write } for  pid=1688
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
+ audit(1106732436.134:0): avc:  denied  { read write } for  pid=1689
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106732436.135:0): avc:  denied  { write } for  pid=1689
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
+ audit(1106732436.138:0): avc:  denied  { read write } for  pid=1690
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106732436.139:0): avc:  denied  { write } for  pid=1690
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
+ audit(1106732436.254:0): avc:  denied  { read write } for  pid=1693
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106732436.255:0): avc:  denied  { write } for  pid=1693
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
+ audit(1106712639.034:0): avc:  denied  { read write } for  pid=1697
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106712639.035:0): avc:  denied  { write } for  pid=1697
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
+ audit(1106712639.041:0): avc:  denied  { read write } for  pid=1698
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106712639.043:0): avc:  denied  { write } for  pid=1698
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
+ audit(1106712639.244:0): avc:  denied  { read write } for  pid=1705
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106712639.245:0): avc:  denied  { write } for  pid=1705
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
+ audit(1106712639.250:0): avc:  denied  { read write } for  pid=1706
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106712639.251:0): avc:  denied  { write } for  pid=1706
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
  ACPI: Power Button (FF) [PWRF]
  ACPI: Sleep Button (CM) [SLPB]
+ audit(1106712639.777:0): avc:  denied  { read write } for  pid=1717
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106712639.779:0): avc:  denied  { write } for  pid=1717
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
  EXT3 FS on hda7, internal journal
! audit(1106712640.622:0): avc:  denied  { read write } for  pid=1726
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
! audit(1106712640.623:0): avc:  denied  { write } for  pid=1726
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
! audit(1106712641.295:0): avc:  denied  { read write } for  pid=1744
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
! audit(1106712641.296:0): avc:  denied  { write } for  pid=1744
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
  SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
  SELinux: initialized (dev hda6, type vfat), uses genfs_contexts
  SELinux: initialized (dev hda5, type vfat), uses genfs_contexts
+ audit(1106712641.626:0): avc:  denied  { read write } for  pid=1750
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106712641.627:0): avc:  denied  { write } for  pid=1750
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
+ audit(1106712641.751:0): avc:  denied  { read write } for  pid=1755
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106712641.752:0): avc:  denied  { write } for  pid=1755
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
  Adding 787144k swap on /dev/hda8.  Priority:-1 extents:1
+ audit(1106712643.303:0): avc:  denied  { read write } for  pid=1794
exe=/sbin/minilogd dev=tmpfs ino=856
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=chr_file
+ audit(1106712643.304:0): avc:  denied  { write } for  pid=1794
exe=/sbin/minilogd dev=tmpfs ino=855
scontext=user_u:system_r:syslogd_t tcontext=user_u:object_r:tmpfs_t
tclass=dir
  SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts

Even after the kernel boots i donot get printk messages  in
/var/log/messages or even on the virtual terminal. I have tried
$ echo '7' > /proc/sys/kernel/printk but no use.

What is the reason for the problem ? Is it because of some
configurations options ( i think that is most likely ). If yes then
what options are needed for correct logging. As far as i remember i
havent fiddled with the logging options while doing $ make menuconfig.

--
Another Computer Engineer ( A C E )


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.