All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Justin P. Mattock" <justinmattock@gmail.com>
To: SE-Linux <selinux@tycho.nsa.gov>, tresys <refpolicy@oss1.tresys.com>
Subject: Re: opensuse and SELinux = some dbus roblem with xdm/gdm
Date: Tue, 08 Sep 2009 22:33:25 -0700	[thread overview]
Message-ID: <4AA73E25.7080609@gmail.com> (raw)
In-Reply-To: <dd18b0c30909081604i2c0231a8q7abf7156eb8938@mail.gmail.com>

Justin Mattock wrote:
> Not sure if this is SELinux/refpolicy
>
> Out of curiosity I wanted to setup the latest
> policy with the latest opensuse.
> Seems everything has gone o.k. for the moment.
>
> The proble Im running into is xdm/gdm seems to crap out
> with some dbus error message:
>
> ** (gdm:1566): WARNING **: Couldn't connect to system bus: An SELinux
> policy prevents this sender from sending this message to this recipient
> (rejected message had sender "(unset)" interface "freedesktop.DBus"
> member "Hello"
> error name "(unset)" destination "org.freedesktop.DBus")
>
> The funny thing with this is with the initial policy load
> I hadn't relabeled yet, and the system had loaded the policy
> just fine and xdm worked then once I relabeled this appeared and xdm/gdm
> just craps out.(the policy is all in permissive mode, giving selinux=0
> makes the system operate as should).
>
> Also not sure if this matters but in
> /etc/pam.d{gdm,login,xdm) I added
> pam_selinux.so open/close but had no idea
> where they should be placed.
>
> Any ideas?
>
>    
Shoot I didn't look, but when I do a
ldd /usr/sbin/gdm I see nothing with libselinux nor
libaudit.

loading an ubuntu livecd results in showing
libselinux.

my guess since this is a development version they haven't
enabled SELinux support yet with gdm.

ohh well, I guess Ill leave it at that.

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.

WARNING: multiple messages have this Message-ID (diff)
From: justinmattock@gmail.com (Justin P. Mattock)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] opensuse and SELinux = some dbus roblem with xdm/gdm
Date: Tue, 08 Sep 2009 22:33:25 -0700	[thread overview]
Message-ID: <4AA73E25.7080609@gmail.com> (raw)
In-Reply-To: <dd18b0c30909081604i2c0231a8q7abf7156eb8938@mail.gmail.com>

Justin Mattock wrote:
> Not sure if this is SELinux/refpolicy
>
> Out of curiosity I wanted to setup the latest
> policy with the latest opensuse.
> Seems everything has gone o.k. for the moment.
>
> The proble Im running into is xdm/gdm seems to crap out
> with some dbus error message:
>
> ** (gdm:1566): WARNING **: Couldn't connect to system bus: An SELinux
> policy prevents this sender from sending this message to this recipient
> (rejected message had sender "(unset)" interface "freedesktop.DBus"
> member "Hello"
> error name "(unset)" destination "org.freedesktop.DBus")
>
> The funny thing with this is with the initial policy load
> I hadn't relabeled yet, and the system had loaded the policy
> just fine and xdm worked then once I relabeled this appeared and xdm/gdm
> just craps out.(the policy is all in permissive mode, giving selinux=0
> makes the system operate as should).
>
> Also not sure if this matters but in
> /etc/pam.d{gdm,login,xdm) I added
> pam_selinux.so open/close but had no idea
> where they should be placed.
>
> Any ideas?
>
>    
Shoot I didn't look, but when I do a
ldd /usr/sbin/gdm I see nothing with libselinux nor
libaudit.

loading an ubuntu livecd results in showing
libselinux.

my guess since this is a development version they haven't
enabled SELinux support yet with gdm.

ohh well, I guess Ill leave it at that.

Justin P. Mattock

  reply	other threads:[~2009-09-09  5:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-08 23:04 opensuse and SELinux = some dbus roblem with xdm/gdm Justin Mattock
2009-09-08 23:04 ` [refpolicy] " Justin Mattock
2009-09-09  5:33 ` Justin P. Mattock [this message]
2009-09-09  5:33   ` Justin P. Mattock
2009-09-09 12:55   ` Stephen Smalley
2009-09-09 12:55     ` [refpolicy] " Stephen Smalley
2009-09-09 14:51     ` Justin P. Mattock
2009-09-09 14:51       ` [refpolicy] " Justin P. Mattock
2009-09-09 15:03       ` Stephen Smalley
2009-09-09 15:03         ` [refpolicy] " Stephen Smalley
2009-09-09 15:38         ` Justin P. Mattock
2009-09-09 15:38           ` [refpolicy] " Justin P. Mattock
2009-09-10  9:24           ` Justin Mattock
2009-09-10  9:24             ` [refpolicy] " Justin 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=4AA73E25.7080609@gmail.com \
    --to=justinmattock@gmail.com \
    --cc=refpolicy@oss1.tresys.com \
    --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.