Displaying 20 results from an estimated 1100 matches similar to: "Link for Logical Volume has incorrect SE Linux context"
2013 Dec 19
1
quota and selinux on centos 6.5
??? Hi,
I'm facing a challenge with selinux and because I don't got an explanation elsewhere, I'm trying to explain here.
I have decided to mount /var/spool/cron on a separate partition? and apply quota for regular users. But quotacheck replyes with a "permission denied" .
quotacheck: Cannot create new quotafile /var/spool/cron/aquota.user.new: Permission denied
2010 Oct 25
2
interesting kvm lvm collision issue
I've been running into a reproducible problem when using default LVM volume
group names to present block devices for virtual machines in KVM, and I'm
wondering why it is happening.
On dom0 I make a default VolGroup00 for the operating system. I make a
second VolGroup01 for logical volumes that will be block devices for virtual
systems.
In VolGroup01, I make two lv's for one system:
2008 Jul 13
1
Can an ISO be specified allow mount "setsebool -P allow_mount_iso=1" insted of "setsebool -P allow_mount_anyfile=1" SE context samba share
Summary:
SELinux prevented mount from mounting on the file or directory
"./Fedora-9-Everything-i386-DVD1.iso" (type "samba_share_t").
Detailed Description:
SELinux prevented mount from mounting a filesystem on the file or
directory
"./Fedora-9-Everything-i386-DVD1.iso" of type "samba_share_t". By
default
SELinux limits the mounting of filesystems to only
2015 Oct 09
2
CentOS-6 SSHD chroot SELinux problem
I run a sshd host solely to allow employees to tunnel secure
connections to our internal hosts. Some of which do not support
encrypted protocols. These connections are chroot'ed via the
following in /etc/ssh/sshd_config
Match Group !wheel,!xxxxxx,yyyyy
AllowTcpForwarding yes
ChrootDirectory /home/yyyyy
X11Forwarding yes
Where external users belong to group yyyyy (primary).
We
2008 Jul 24
1
Help recovering from an LVM issue
Hi People
I just updated a CentOS 5.2 Server that is a Guest inside VMware ESX
3.50 Server using "yum update". As far as I can tell the only three
packages were updated
Jul 24 16:37:49 Updated: php-common - 5.1.6-20.el5_2.1.i386
Jul 24 16:37:50 Updated: php-cli - 5.1.6-20.el5_2.1.i386
Jul 24 16:37:50 Updated: php - 5.1.6-20.el5_2.1.i386
But when I rebooted the Server one of my
2009 May 11
1
using virt-install program
Hello,
I have successfully used the following command line, but I would like
to have some modifications. I would like the virtual disks to show up
as disk paritions, rather than entire disks. 1) is there a way to do
this via the command line, and 2) are there any real performance
differences?
virt-install -n daffy -r256 -f /dev/VolGroup01/root_daff -f /dev/
VolGroup01/swap_daff -f
2008 Oct 05
1
Help -- LVM snapshot full -- how do I recover?
Hi --
I forgot to remove an LVM snapshot after making a backup. Now neither
the snapshot nor the original volume are available.
How do I recover and get the original volume back online?
Currently, the output of lvs looks like
LV VG Attr LSize Origin Snap% Move Log Copy%
......
dom5_data VolGroup01 -wi-ao 10.00G
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
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
2011 Dec 20
1
SELinux is preventing /usr/bin/chcon "mac_admin" access
CentOS-6.1 KVM guest on CentOS-6.1 host.
I am seeing this SEAlert in the /var/log/audit/audit.log
file a new guest immediately after startup. Can someone
tell me what it means and what I should do about it? A
Google search reveals a number of Fedora issues with
similar errors dating back a few years; most of which seem
to have something to do with package ownership.
This guest starts without
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:
> > > >
> > > >
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 =>
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
2010 Jul 27
2
Virt-install Error on Centos 5.4 64bit and kvm
Hi guys, I hope you can help me on this issue with kvm/libvirt:
using this command to install a kvm virtual machine:
virt-install --connect qemu:///system \
--name p3k0401 \
--ram 2048 \
--file //dev/VolGroup01/p3k0401logvol \
--accelerate \
-s 10 \
--nographics \
--hvm \
--location='http://10.1.4.80'
I get:
Starting install...
Retrieving file vmlinuz... | 1.8 MB 00:00
2009 Aug 17
2
Building and Installing Xen 4.3 in Fedora11
HI there,
I am using a Dell PowerEdge 2970 with following specs:2 x AMD Dual Core Opteron processors, 2GHz, 2 MB L2 Cache.8 GB RAM (4 x 2 GB)4 x 146 GB Hard DisksDual Port Gigabit Ethernet NIC10 Gbps PCI EthernetFedora 11 operating system installed.What I want here is Building and Installing Xen 4.3 in Fedora 11. for this I followed the following steps
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
2010 Jun 29
2
fresh install of centos looking for non-existant /dev/hda : /dev/hda: open failed: No medium found
# lvm pvs
/dev/hda: open failed: No medium found
Couldn't find device with uuid r5HNPO-l18V-XfJ7-9RXY-AaWC-a4YY-3oL5h7.
PV VG Fmt Attr PSize PFree
/dev/sda2 VolGroup01 lvm2 a- 232.72G 0
/dev/sdb1 VolGroup00 lvm2 a- 232.81G 32.00M
unknown device VolGroup00 lvm2 a- 232.72G 32.00M
I just installed the OS, did some tweaks, but did nothing to
2012 Jun 08
1
guestmount -i and xattrs
I tried to run chcon to set SELinux labels on a guestmounted dir and got:
chcon: failed to change context of `authorized_keys' to
`system_u:object_r:ssh_home_t:s0': Operation not supported
I'm guessing that you need to pass 'seclabel' or 'user_xattr'
or some such mount option to guestmount to support this.
I notice you can pass such options through the -m option
to
2011 Jun 28
1
[nut-commits] svn commit r3060 - branches/nut-scanner/tools/nut-scanner
2011/6/27 Frederic BOHE <fbohe-guest at alioth.debian.org>
> Author: fbohe-guest
> Date: Mon Jun 27 13:56:51 2011
> New Revision: 3060
> URL: http://trac.networkupstools.org/projects/nut/changeset/3060
>
> Log:
> Add NUT server scan.
>
> (...)
> device_t * scan_snmp(char * start_ip, char * stop_ip,long usec_timeout,
> snmp_security_t * sec);
>
>