Displaying 20 results from an estimated 1000 matches similar to: "SELinux is preventing /usr/bin/chcon "mac_admin" access"
2012 Aug 01
1
SELinux : please explain ...
Hello,
This is somehow off-topic, since the problem appears on a modified
CentOS-6.2 (turned into a xen-4.1 host) : I get SELinux errors, and
I'm not able to understand them.
From audit2why :
type=AVC msg=audit(1343724164.898:298772): avc: denied { mac_admin } for pid=12399 comm="restore" capability=33 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
2018 May 04
3
Samba HOWTO wiki bug: chcon samba_share_t
On Fri, 2018-05-04 at 14:55 -0700, Akemi Yagi wrote:
> On Fri, May 4, 2018 at 2:26 PM, Warren Young <warren at etr-usa.com>
> wrote:
> > On May 4, 2018, at 3:03 PM, Akemi Yagi <amyagi at gmail.com> wrote:
> > >
> > > On Fri, May 4, 2018 at 12:03 PM, Warren Young <warren at etr-usa.com
> > > > wrote:
> > > >
> > > >
2018 May 04
2
Samba HOWTO wiki bug: chcon samba_share_t
On May 4, 2018, at 3:03 PM, Akemi Yagi <amyagi at gmail.com> wrote:
>
> On Fri, May 4, 2018 at 12:03 PM, Warren Young <warren at etr-usa.com> wrote:
>>
>> $ sudo chcon -R -t samba_share_t /path/to/share
>
> Updated the page as suggested. Thanks.
Thanks!
I now see another instance of this in section 3. Instead of copying the text verbatim, it should
2017 Feb 10
2
chcon failed to change context Permission denied
Hi,
I'm confused, why can root not change context of a directory ?
I've moved a mysql dir from /var/lib to another drive.
But running sudo chcon -R -t mysqld_t ./mysql
Yields a screen full of messages such as
chcon: failed to change context of ?schema_table_lock_waits.frm? to
?system_u:object_r:mysqld_t:s0?: Permission denied
(and yes, mysql was shut down before the move and is till
2018 May 04
4
Samba HOWTO wiki bug: chcon samba_share_t
In this wiki article:
https://wiki.centos.org/HowTos/SetUpSamba
?there is a command down in section 2 that gives an error here on CentOS 7:
$ sudo semanage fcontext ?at samba_share_t /path/to/share
?noise noise noise?
semanage: error: unrecognized arguments: samba_share_t /path/to/share
That and the following restorecon command can be replaced by a single shorter command, which
2018 May 05
2
Samba HOWTO wiki bug: chcon samba_share_t
On 05/04/2018 04:05 PM, Warren Young wrote:
> On May 4, 2018, at 4:11 PM, Louis Lagendijk <louis at fazant.net> wrote:
>> The comment is correct: chcon will not survive a relabel. You need to
>> update the database first (semanage fcontext) and then let a relabel
>> apply the new context.
> Alright, then why do I get that error when I give the command from this
2005 Dec 15
1
RE: ssh in rc.local stalls xenU [SOLVED]
Karsten M. Self wrote:
> on Thu, Dec 15, 2005 at 01:38:29PM -0500, Steve Brueckner
> (steve@atc-nycorp.com) wrote:
>> I''m using Fedora Core 4. I need to create an ssh port forwarding
>> tunnel to my xen0 domain when my xenU domain starts up, so I added
>> this to the xenU''s /etc/rc.d/rc.local:
>>
>> ssh -v -f -L 5500:localhost:5501 xen0_ip
2013 Mar 27
1
silencing Passenger "ps" SELinux errors
Hello,
how do people cope with constant SELinux errors like this from Fusion
Passenger:
36886. 03/27/2013 14:20:05 ps unconfined_u:system_r:passenger_t:s0 2
file open system_u:system_r:udev_t:s0-s0:c0.c1023 denied 1922
36887. 03/27/2013 14:20:05 ps unconfined_u:system_r:passenger_t:s0 4 dir
getattr unconfined_u:system_r:initrc_t:s0 denied 1927
36888. 03/27/2013 14:20:05 ps
2009 Feb 06
1
Darned thing is suddenly failing. We had a reboot last night, and I
changed a couple of files today too, so either one could somehow be
responsible. But I can''t figure out how from this crash. First I noticed
that my changes weren''t updating. Then I noticed that puppet wasn''t
running. Then I found that it won''t, in fact, run.
/selinux contains only a
2018 May 04
0
Samba HOWTO wiki bug: chcon samba_share_t
On Fri, May 4, 2018 at 2:26 PM, Warren Young <warren at etr-usa.com> wrote:
> On May 4, 2018, at 3:03 PM, Akemi Yagi <amyagi at gmail.com> wrote:
>>
>> On Fri, May 4, 2018 at 12:03 PM, Warren Young <warren at etr-usa.com> wrote:
>>>
>>> $ sudo chcon -R -t samba_share_t /path/to/share
>>
>> Updated the page as suggested. Thanks.
>
2005 Oct 13
1
OCFS2 Installation woes
I've got a fresh RHEL AS 4-U2 installation on a Dell PE2850 server.
I downloaded and installed the latest RPMs:
ocfs2-2.6.9-22.ELsmp-1.0.7-1.i686.rpm
ocfs2-tools-1.0.2-1.i386.rpm
ocfs2console-1.0.2-1.i386.rpm
I was able to start the console, but when I try to run
cluster->configure_nodes, I get the following error message:
Could not start cluster stack. This must be resolved before any
2017 Feb 10
0
chcon failed to change context Permission denied
Am 10.02.2017 um 16:59 schrieb Tim Smith:
> Hi,
>
> I'm confused, why can root not change context of a directory ?
>
> I've moved a mysql dir from /var/lib to another drive.
>
> But running sudo chcon -R -t mysqld_t ./mysql
>
> Yields a screen full of messages such as
>
> chcon: failed to change context of ?schema_table_lock_waits.frm? to
>
2018 May 05
0
Samba HOWTO wiki bug: chcon samba_share_t
On May 5, 2018, at 12:04 AM, Gordon Messmer <gordon.messmer at gmail.com> wrote:
>
> On 05/04/2018 04:05 PM, Warren Young wrote:
>> On May 4, 2018, at 4:11 PM, Louis Lagendijk <louis at fazant.net> wrote:
>>> The comment is correct: chcon will not survive a relabel. You need to
>>> update the database first (semanage fcontext) and then let a relabel
2008 Aug 01
2
BackupPC 3.1.0 on CentOS 5.2 triggers SE Linux denial
Hi. I've installed BackupPC 3.1.0 from Testing repository, to Cent
OS 5.2 x86_64, and I am hitting an SE Linux denial - the httpd cannot
talk to the BackupPC socket:
type=AVC msg=audit(07/31/2008 17:18:53.623:410) : avc: denied {
connectto } for pid=11767 comm=httpd
path=/var/log/BackupPC/BackupPC.sock
scontext=user_u:system_r:httpd_t:s0
tcontext=user_u:system_r:initrc_t:s0
2012 Jan 04
2
installing Nagios client with selinux enabled
Hi, I''m new to Puppet so may be going about this completely the wrong
way, or perhaps it is an selinux problem rather than a Puppet problem.
I have a problem copying a file and changing the seltype. I don''t
think it is Nagios specific. Code is something like:
file {
''/usr/sbin/nrpe'':
source =>
2018 May 04
2
Samba HOWTO wiki bug: chcon samba_share_t
On May 4, 2018, at 5:13 PM, Gordon Messmer <gordon.messmer at gmail.com> wrote:
>
> On 05/04/2018 12:03 PM, Warren Young wrote:
>> ?there is a command down in section 2 that gives an error here on CentOS 7:
>>
>> $ sudo semanage fcontext ?at samba_share_t /path/to/share
>> ?noise noise noise?
>> semanage: error: unrecognized arguments:
2018 May 04
0
Samba HOWTO wiki bug: chcon samba_share_t
On Fri, May 4, 2018 at 12:03 PM, Warren Young <warren at etr-usa.com> wrote:
> In this wiki article:
>
> https://wiki.centos.org/HowTos/SetUpSamba
>
> ?there is a command down in section 2 that gives an error here on CentOS 7:
>
> $ sudo semanage fcontext ?at samba_share_t /path/to/share
> ?noise noise noise?
> semanage: error: unrecognized
2018 May 04
0
Samba HOWTO wiki bug: chcon samba_share_t
On 05/04/2018 12:03 PM, Warren Young wrote:
> ?there is a command down in section 2 that gives an error here on CentOS 7:
>
> $ sudo semanage fcontext ?at samba_share_t /path/to/share
> ?noise noise noise?
> semanage: error: unrecognized arguments: samba_share_t /path/to/share
What is "noise" exactly?? I don't get errors from that command:
# semanage
2018 May 04
0
Samba HOWTO wiki bug: chcon samba_share_t
On May 4, 2018, at 4:11 PM, Louis Lagendijk <louis at fazant.net> wrote:
>
> The comment is correct: chcon will not survive a relabel. You need to
> update the database first (semanage fcontext) and then let a relabel
> apply the new context.
Alright, then why do I get that error when I give the command from this morning?s wiki text, and how do I avoid it?
2006 May 05
2
SElinux and Samba
Ok, so there is not a problem with SElinux and Samba. But it is a
pain to set up so it will work right. I finally figured out how to
set up SE and Samba so you can be able to write and delete files.
I found in one of that man pages "man samba_selinux", you can just
disable SE for samba. I am sure there are other ways also but this
is what I have found so far. I tried to just