logo       

Re: Fixed some bugs in the postinst and postrm scripts of vSecurity package: msg#00019

Subject: Re: Fixed some bugs in the postinst and postrm scripts of vSecurity packages, merged amd64 changes
On dom, 2005-10-16 at 20:06 +0200, Herman Bos wrote:
> I'm not totally into it but if I may ask what are the consequences of
> disabling the capabilities module? It sounds pretty bad.

We are just disabling it of using a slot within the LSM framework, not
removing capabilities support at all. We just end up using the hook
(capable()) within vSecurity instead of the one inside 'capability' LKM,
getting a free slot for our module and hence being able to load it.

> Its there but after boot:
> [4294687.225000] VSEC: Failure registering vSecurity module with the kernel
> [4294687.225000] VSEC: Failure registering vSecurity module with primary
> security module.

Looks like it's ignoring it. modprobe.conf needs to be updated in the
Debian-way, but I forgot how's done that right now. Andrew, Martin?
The problem is that vsecurity.modprobe content isn't dumped
to /etc/modprobe.conf.

> [4294984.068000] Capabilities disabled at initialization
> [4294985.575000] VSEC: Registering vsecfs subsystem (sysfs).
> [4294985.575000] VSEC: Access Control List of allsocket, type uid created.
> [4294985.575000] VSEC: Access Control List of allsocket, type gid created.
> [4294985.575000] VSEC: Access Control List of server_socket, type uid
> created.
> [4294985.575000] VSEC: Access Control List of server_socket, type gid
> created.
> [4294985.575000] VSEC: Access Control List of client_socket, type uid
> created.
> [4294985.575000] VSEC: Access Control List of client_socket, type gid
> created.
> [4294985.575000] VSEC: Access Control List of tpe, type uid created.
> [4294985.575000] VSEC: Access Control List of tpe, type gid created.
> [4294985.575000] VSEC: vSecurity engine initialized.
> 
> This works it seems.

Right :)

> Whats next? Whats in effect now? Is TPE working? Is there a group on
> which it applies or one on which it does not? (that is how it works in
> grsecurity).

It should be OK that way. Check module parameters with 'modinfo' and
you'll see what can be configured. I apologize of the lack of
documentation. That needs love.

> For extra information, i installed your k7 ubuntu package (I have an k7
> kernel running).
> 
> I don't mind helping a bit with the documentation on the wiki, but there
> is not much to start with. :)

You're right. I'll be adding a skeleton to this page:
http://wiki.tuxedo-es.org/VSecurityDocumentation

For preventing spam, I've set restrictions, so, you must register an
account for editing pages. It seems that many people is interested in
contributing with the documentation, so, I hope this will get solved
soon ;).

Cheers,
-- 
Lorenzo Hernández García-Hierro <lorenzo@xxxxxxx> 
[1024D/6F2B2DEC] & [2048g/9AE91A22][http://tuxedo-es.org]

Attachment: signature.asc
Description: This is a digitally signed message part


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe