From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 Message-ID: <4C7B6B6E.2090206@altlinux.ru> Date: Mon, 30 Aug 2010 12:27:26 +0400 From: Alexey Gladkov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9pre) Gecko/20100815 Lightning/1.0b2pre Thunderbird/3.1.3pre MIME-Version: 1.0 To: devel@lists.altlinux.org References: <20100829215746.GA21696@ssh.git.altlinux.org> <20100829221137.GB7732@altlinux.org> <1283149714.3294.12.camel@shrek.croc.ru> <1283149894.3294.14.camel@shrek.croc.ru> <20100830080754.GB6048@altlinux.org> <20100830081837.GD6048@altlinux.org> In-Reply-To: <20100830081837.GD6048@altlinux.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [devel] Q: Xvfb: SELinux support breaks software X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 08:27:58 -0000 Archived-At: List-Archive: List-Post: 30.08.2010 12:18, Dmitry V. Levin wrote: > Неправильную проверку > if (!is_selinux_enabled()) > нужно исправить на > if (is_selinux_enabled() <= 0) Ну вообще-то из этого не следует, что selinux выключен. При отмонтированном /proc selinux может быть включён и политики могут быть загружены. -- Rgrds, legion