Displaying 20 results from an estimated 10000 matches similar to: "How to move /var to another partition"
2016 Sep 25
7
How to move /var to another partition
On 25/09/16 18:03, Robert Nichols wrote:
> On 09/25/2016 11:47 AM, TE Dukes wrote:
>> Hello,
>>
>> I am getting low on space in my /(root) partition. I have 23GB free.
>>
>> I have 350GB in my /home partition. I am the only user.
>>
>> I was experimenting with virtualization and it causes the root
>> partition to
>> get very low. I would
2016 Sep 25
2
How to move /var to another partition
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Alice Wonder
> Sent: Sunday, September 25, 2016 1:40 PM
> To: centos at centos.org
> Subject: Re: [CentOS] How to move /var to another partition
>
>
>
> On 09/25/2016 10:23 AM, J Martin Rushton wrote:
> >
> >
> > On 25/09/16
2016 Sep 25
2
How to move /var to another partition
On 09/25/2016 12:23 PM, J Martin Rushton wrote:
>
>
> On 25/09/16 18:03, Robert Nichols wrote:
>> On 09/25/2016 11:47 AM, TE Dukes wrote:
>>> Hello,
>>>
>>> I am getting low on space in my /(root) partition. I have 23GB free.
>>>
>>> I have 350GB in my /home partition. I am the only user.
>>>
>>> I was experimenting with
2016 Sep 25
0
How to move /var to another partition
On 25/09/16 20:56, Robert Nichols wrote:
> On 09/25/2016 12:23 PM, J Martin Rushton wrote:
>>
>>
>> On 25/09/16 18:03, Robert Nichols wrote:
>>> On 09/25/2016 11:47 AM, TE Dukes wrote:
>>>> Hello,
>>>>
>>>> I am getting low on space in my /(root) partition. I have 23GB free.
>>>>
>>>> I have 350GB in my /home
2016 Sep 25
0
How to move /var to another partition
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of J Martin Rushton
> Sent: Sunday, September 25, 2016 1:23 PM
> To: centos at centos.org
> Subject: Re: [CentOS] How to move /var to another partition
>
>
>
> On 25/09/16 18:03, Robert Nichols wrote:
> > On 09/25/2016 11:47 AM, TE Dukes wrote:
2016 Sep 25
0
How to move /var to another partition
On 09/25/2016 11:47 AM, TE Dukes wrote:
> Hello,
>
> I am getting low on space in my /(root) partition. I have 23GB free.
>
> I have 350GB in my /home partition. I am the only user.
>
> I was experimenting with virtualization and it causes the root partition to
> get very low. I would like to move /var from the root partition, to the same
> partition as /home, if
2016 Sep 25
0
How to move /var to another partition
On 09/25/2016 10:23 AM, J Martin Rushton wrote:
>
>
> On 25/09/16 18:03, Robert Nichols wrote:
>> On 09/25/2016 11:47 AM, TE Dukes wrote:
>>> Hello,
>>>
>>> I am getting low on space in my /(root) partition. I have 23GB free.
>>>
>>> I have 350GB in my /home partition. I am the only user.
>>>
>>> I was experimenting with
2017 Oct 23
2
Unable to apply mysqld_db_t to mysql directory
Interesting to see the Equivalence. As a first thing, I tried:
semanage fcontext -a -e /var/lib/mysql.old /var/lib/mysql
then
restorecon -R /var/lib/mysql
# semanage fcontext -lC
SELinux fcontext type
Context
/home/users(/.*)? all files
system_u:object_r:user_home_dir_t:s0
/var/lib/mysql all
2017 Oct 23
2
Unable to apply mysqld_db_t to mysql directory
Thanks, I managed to fix /var/lib/mysql
# ls -ldZ /var/lib/mysql
drwxr-xr-x. mysql mysql system_u:object_r:mysqld_db_t:s0 /var/lib/mysql
To fix it, I tried:
semanage fcontext -d -e /var/lib/mysql
this command returned:
KeyError: /var/lib/mysql
I tried restorecon anyway:
restorecon -Rv /var/lib/mysql
But not better:
ls -ldZ /var/lib/mysql
drwxr-xr-x. mysql mysql system_u:object_r:var_lib_t:s0
2017 Oct 23
2
Unable to apply mysqld_db_t to mysql directory
Hello,
A server was configured in /var/lib/myslq in the root fs. I added a LV
specifically for mysql. I stopped myql and renamed /var/lib/mysql to
/var/lib/mysql.old. I created a new dir /var/lib/mysql and mounted the LV
on /var/lib/mysql. I then copied with "cp -prZ" all mysql files in
/var/lib/mysql.old to /var/lib/mysql.
But then I got a selinux problem:
# ls -ldZ mysql.old/
2016 Sep 25
1
How to move /var to another partition
On 9/25/2016 12:56 PM, Robert Nichols wrote:
>
> What I do is have a separate logical volume for /var/lib/libvirt,
> with /var/lib/libvirt/etc bind-mounted to /etc/libvirt. It keeps
> all the libvirt stuff together, since the backup requirements
> there are quite different from the rest of the system.
this!
when I create a centos system, I let anaconda setup LVM, but I hugely
2019 Apr 16
4
Time Synchronisation - SELinux Labeling and Policy
hi, i want set selinux to usw with ntpd
but when i run (as described in wiki)
semanage -a -t ntpd_t "/usr/local/samba/var/lib/ntp_signd"
i have that error
"
usage: semanage [-h]
{import,export,login,user,port,ibpkey,ibendport,interface,module,node,fcontext,boolean,permissive,dontaudit}
...
semanage: error: argument subcommand: invalid choice:
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
2019 May 08
2
Issues trying to change the selinux context
We're forced to use Siteminder, by CA, who have no clue what they're doing
in *nix. No packages, tarballs...
Anyway, I'm trying clean up some stuff, and in /*/smwa/webagent/bin (all
their binaries, including .so's, are in there, duh... I'm trying to set
the .so's to lib_t.
semanage -fcontext -a -t lib_t "/<elided>/smwa/webagent/bin(/.*).so"
gives me the
2016 Oct 17
3
SELinux context not applied
Hi,
I tried to apply a security context on a directory with the following
commands:
[root@ local]# semanage fcontext -a -t httpd_sys_rw_content_t "netdot(/.*)?"
[root@ local]# restorecon -R netdot/
When I list the contexts, it is part of the list....
[root@ local]# semanage fcontext -l | grep netdot
./netdot(/.*)? all files
2019 May 08
3
Issues trying to change the selinux context
Warren Young wrote:
> On May 8, 2019, at 9:31 AM, mark <m.roth at 5-cent.us> wrote:
>
>> semanage -fcontext -a -t lib_t "/<elided>/smwa/webagent/bin(/.*).so?
>
> [snip]
>
>> What am I doing wrong?
>>
<snip>
> Also, I?m confused by the parens in your file path. Whether your shell
> is or not is a different question.
I'm following
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:
> > > >
> > > >
2014 Aug 14
2
SELinux vs. logwatch and virsh
Hello everyone -
I am stumped ... Does anyone have suggestions on how to proceed? Is there a way
to get what I want?
The environment: CentOS 7.0 with latest patches.
The goal: I want logwatch to include a report on the status of kvm virtual computers.
The problem: When run from anacron, SELinux denies permission for the virsh utility.
Here is a portion of the logwatch output:
2017 Apr 30
3
selinux problem policies
Hello,
My problem is to add selinux policies
can any help to say what is wrong with my policies
I write this!
semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html(/.*)?/
typo3conf(/.*)?"
I have more instances from typo3
I found this construct in the selinux policies
"/var/www/html(/.*)?/uploads(/.*)?"
but my is not working ?
and I have only errors?
neverallow
2017 Dec 12
4
Spamassassin vs. SELinux trouble
Hi,
Spamassassin has been working nicely on my main server running CentOS 7
and Postfix. SELinux is activated (Enforcing).
Since the most recent update (don't know if it's related to it though)
I'm getting the following SELinux error.
--8<-----------------------------------------------------------------
SELinux is preventing /usr/bin/perl from 'read, write' accesses on