From: "Justin P. Mattock" <justinmattock@gmail.com>
To: imsand@puzzle.ch
Cc: Daniel J Walsh <dwalsh@redhat.com>,
Chad Sellers <csellers@tresys.com>,
selinux@tycho.nsa.gov
Subject: Re: Context settings after ssh login
Date: Tue, 26 Oct 2010 07:26:57 -0700 [thread overview]
Message-ID: <4CC6E531.5030008@gmail.com> (raw)
In-Reply-To: <24565.193.5.216.100.1288081632.squirrel@mail.puzzle.ch>
On 10/26/2010 01:27 AM, imsand@puzzle.ch wrote:
>> On 10/25/2010 12:57 AM, Justin P. Mattock wrote:
>>> On 10/25/2010 12:09 AM, imsand@puzzle.ch wrote:
>>>> Hi Justin.
>>>>
>>>> First of all, thanks a lot for your efforts.
>>> youre welcome!!
>>>> Unfortunately I'm a little bit confused about what you've done exactly
>>>> to
>>>> make it run.
>>>> Can you please summarize it and make a little step by step guide for
>>>> me?
>>> I can try, but maybe later on another post(a bit late over here.)
>>>> Did selinux worked out of the box (on sles11.1)? Didn't had you have to
>>>> fix the bug in /lib/mkinitrd/scripts/boot-boot.sh and rebuild initrd?
>>> long story short, installed sles11.1, changed the repos to download
>>> git-core
>>> then changed repos to download the rest of the packages to build the
>>> latest Mainline kernel
>>> (make, make modules_install)
> On my installation I took the original kernel, shipped with sles11.1. I
> don't want to compile a new one unless it's strongly recommended. Why
> don't you use the original kernel and packages of sles11.1?
The only way I have access through internet is through the wireless..and
most distros
dont have my wireless driver...(and of course nvidia module as well for
a proper looking screen)
so I use a copy of a good revision kernel to get online, pull, then build...
>>> then after that, installed all the SELinux packages, rebooted realized
>>> even though this system is
>>> using sysvinit the policy still wont load without an initrd(must be
>>> because my other systems have
>>> _nothing_ of the sort with initrd in them(*.h)or something, so ended
>>> up using mkinitrd_setup to make the image
>>> so the policy can load..
>>>
> Okey. I also had to rebuild initrd with the adjustments I already described.
cool... yeah you need the image, or else the policy will not load
>>> Then once loaded made sure the home directory was labelled correctly,
>>> as well as other
>>> areas that I've seen issues with, then just started the sshd..with the
>>> other machine with SELinux,
>>> and the iphone(touchterm ssh(free))..
>>>
>>>> which package have you build with --with-selinux and the --with-pam?
> I did't rebuild any packages. Do I have to recomple some packages with
> these options? I just took the original versions, shipped with sles 11.1.
I think the sshd package is good, but I did notice I couldnt find
getsebool/setsebool to change a boolean
(either it's in /usr/share/man or somewhere else)
>>> this was on my cblfs system.. I just built this(all gnome etc..)and
>>> didnt realize that I had
>>> built this wrong until I looked at config.log of the package and
>>> noticed I messd up..
>>>
>>> after that things went good..(from over here sles11.1 sshd looks built
>>> fine, maybe this is config issues..,
>>> only issue I noticed is getsebool/setsebool are missing, so just do:
>>> mv /etc/initscript{,-old}
>>> to avoid problems during boot, or define the init_upstart boolean in
>>> boolean.conf.)
> I set the init_upstart boolean.
yeah but without setsebool you cant change that...(just rename
/etc/initscript and/or
modify booleans.conf)
>>>> which policy did you used?http://oss.tresys.com/git/refpolicy.git?
>>>>
>>> yep... I follow track
> I can't compile the latest refpolicy version from git. make conf results
> in: doc/policy.xml:604: element module: validity error : Element module
> content does not follow the DTD, expecting (summary , desc? , required? ,
> (interface | template)* , (bool | tunable)*), got ()
> d
>
thats a first I've seen.. I get errors as well something about
/tmp/seusers etc..
I just delete and pull git until it works..(biggest pain in the a** are
these compile errors
that dont need to happen)
> but the latest release from
> (http://oss.tresys.com/files/refpolicy/refpolicy-2.20100524.tar.bz2) is
> working..
>>>> kind regards
>>>> Matthias
>>>>
>>>>
>>>
cheers,
Justin P. Mattock
--
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.
next prev parent reply other threads:[~2010-10-26 14:26 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-04 8:03 Context settings after ssh login imsand
2010-10-04 17:13 ` Justin P. Mattock
2010-10-05 6:30 ` imsand
2010-10-05 13:29 ` Justin P. Mattock
2010-10-05 13:38 ` imsand
2010-10-05 14:29 ` Justin P. Mattock
2010-10-06 6:43 ` imsand
2010-10-06 7:06 ` Justin P. Mattock
2010-10-06 7:29 ` imsand
2010-10-06 13:50 ` Justin P. Mattock
2010-10-06 13:50 ` [refpolicy] " Justin P. Mattock
2010-10-07 14:40 ` Chad Sellers
2010-10-07 16:11 ` Daniel J Walsh
2010-10-07 17:24 ` Justin P. Mattock
2010-10-19 14:42 ` imsand
2010-10-19 14:55 ` Justin P. Mattock
2010-10-19 15:47 ` imsand
2010-10-19 16:38 ` Justin P. Mattock
2010-10-20 8:42 ` imsand
2010-10-20 12:27 ` Daniel J Walsh
2010-10-20 13:46 ` Justin P. Mattock
2010-10-20 14:25 ` imsand
2010-10-20 14:52 ` Justin P. Mattock
2010-10-21 12:09 ` imsand
2010-10-21 13:33 ` Justin P. Mattock
2010-10-24 23:43 ` Russell Coker
2010-10-23 6:28 ` Justin P. Mattock
2010-10-23 20:05 ` Justin P. Mattock
2010-10-25 7:09 ` imsand
2010-10-25 7:57 ` Justin P. Mattock
2010-10-25 8:22 ` Justin P. Mattock
2010-10-26 8:27 ` imsand
2010-10-26 14:26 ` Justin P. Mattock [this message]
2010-10-28 13:23 ` Justin P. Mattock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CC6E531.5030008@gmail.com \
--to=justinmattock@gmail.com \
--cc=csellers@tresys.com \
--cc=dwalsh@redhat.com \
--cc=imsand@puzzle.ch \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.