All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: 2.6.0-test3
@ 2003-08-22 20:17 Dale Amon
  2003-08-23  1:16 ` 2.6.0-test3 Russell Coker
  0 siblings, 1 reply; 25+ messages in thread
From: Dale Amon @ 2003-08-22 20:17 UTC (permalink / raw)
  To: SELinux; +Cc: Russell Coker


[-- Attachment #0: Type: message/rfc822, Size: 862 bytes --]


Ah, I see, it's not a kernel package. This is the first time I've
gone from packages instead of direct from the NSA tgz. But even so,
there is a conflict. I presume I can just --force-conflicts.

Unpacking selinux (from .../selinux_2003081307-3_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/selinux_2003081307-3_i386.deb (--unpack):
 trying to overwrite `/etc/pam.d/newrole', which is also in package policycoreutils
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/selinux_2003081307-3_i386.deb


 



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 25+ messages in thread
* 2.6.0-test3
@ 2003-08-21 12:29 Magosányi Árpád
  2003-08-21 13:37 ` 2.6.0-test3 Russell Coker
  0 siblings, 1 reply; 25+ messages in thread
From: Magosányi Árpád @ 2003-08-21 12:29 UTC (permalink / raw)
  To: SELinux, russel

Hi!

I have a 2.6.0-test3 kernel.
It seems that I have compiled in selinux, and it initializes at boot,
but I cannot use it. What did I done wrong?

The kernel configuration:
CONFIG_SECURITY=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_CAPABILITIES=y
# CONFIG_SECURITY_ROOTPLUG is not set
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_DEVELOP=y
# CONFIG_SECURITY_SELINUX_MLS is not set

Relevant messages in dmesg:
Security Scaffold v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
There is already a security framework initialized, register_security
failed.
Failure registering capabilities with the kernel
selinux_register_security:  Registering secondary module capability
Capability LSM initialized

The strace of running avc_toggle:
execve("/sbin/avc_toggle", ["avc_toggle"], [/* 20 vars */]) = 0
uname({sys="Linux", node="test42", ...}) = 0
brk(0)                                  = 0x804a000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=6096, ...}) = 0
old_mmap(NULL, 6096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40012000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\275Z\1\0004\0\0\0\20\320"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1104040, ...}) = 0
old_mmap(NULL, 1113796, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40014000
mprotect(0x4011c000, 32452, PROT_NONE)  = 0
old_mmap(0x4011c000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x107000) = 0x4011c000
old_mmap(0x40122000, 7876, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40122000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40124000
munmap(0x40012000, 6096)                = 0
security(0xf97cff8c, 0xb, 0, 0x400098bc, 0xbffffb54) = -1 ENOSYS
(Function not implemented)
dup(2)                                  = 3
fcntl64(3, F_GETFL)                     = 0x8002 (flags
O_RDWR|O_LARGEFILE)
brk(0)                                  = 0x804a000
brk(0x804b000)                          = 0x804b000
brk(0)                                  = 0x804b000
fstat64(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(4, 2), ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40012000
_llseek(3, 0, 0xbffff920, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(3, "avc_toggle: Function not implemented\n", 37) = 37
close(3)                                = 0
munmap(0x40012000, 4096)                = 0
exit_group(0)                           = ?

Package: selinux
Priority: optional
Section: admin
Installed-Size: 5390
Maintainer: Russell Coker <russell@coker.com.au>
Architecture: i386
Source: selinux-small
Version: 2003071106-1
Provides: flask
Depends: libc6 (>= 2.3.1-1), libpam0g (>= 0.76), expect (>= 5.38.0-3)
Recommends: selinux-policy
Conflicts: flask, devfsd (<< 1.3.25-6)
Filename: pool/main/s/selinux-small/selinux_2003071106-1_i386.deb
Size: 2155622
MD5sum: 4048f92a0f22b77cc06236d0e6f49235
Description: Management utilities for NSA Security Enhanced Linux
 SE Linux is a system for adding Mandatory Access Control to Linux.  It
uses
 Domain Type control as well as Role Based control.  This package
provides
 all the base utilities for controlling it.



-- 
GNU GPL: csak tiszta forrásból


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2003-08-25 17:59 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-22 20:17 2.6.0-test3 Dale Amon
2003-08-23  1:16 ` 2.6.0-test3 Russell Coker
2003-08-24 17:47   ` 2.6.0-test3 Colin Walters
2003-08-24 20:32     ` 2.6.0-test3 Dale Amon
  -- strict thread matches above, loose matches on Subject: below --
2003-08-21 12:29 2.6.0-test3 Magosányi Árpád
2003-08-21 13:37 ` 2.6.0-test3 Russell Coker
2003-08-21 17:25   ` 2.6.0-test3 Dale Amon
2003-08-21 18:49     ` 2.6.0-test3 Stephen Smalley
2003-08-22  2:04     ` 2.6.0-test3 Russell Coker
2003-08-22  4:53       ` 2.6.0-test3 Brian May
2003-08-22  5:04         ` 2.6.0-test3 Russell Coker
2003-08-22  5:44         ` 2.6.0-test3 Russell Coker
2003-08-22 13:06           ` 2.6.0-test3 Dale Amon
2003-08-22 13:02         ` 2.6.0-test3 Stephen Smalley
2003-08-22 13:21           ` 2.6.0-test3 Russell Coker
2003-08-22 14:17             ` 2.6.0-test3 Stephen Smalley
2003-08-22 14:24               ` 2.6.0-test3 Russell Coker
2003-08-21 17:40   ` 2.6.0-test3 Colin Walters
2003-08-21 22:32     ` 2.6.0-test3 Brian May
2003-08-22 12:44       ` 2.6.0-test3 Russell Coker
2003-08-22 17:42         ` 2.6.0-test3 Colin Walters
2003-08-24 17:30         ` 2.6.0-test3 Dale Amon
2003-08-24 17:50           ` 2.6.0-test3 Colin Walters
2003-08-25 17:52             ` 2.6.0-test3 Dale Amon
2003-08-22  2:36     ` 2.6.0-test3 Russell Coker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.