Displaying 20 results from an estimated 90000 matches similar to: "SELinux - Re: how to prevent files and directories from being deleted?"
2017 Oct 05
0
how to prevent files and directories from being deleted?
On 05/10/2017 11:32, hw wrote:
>> That directory isn't temporary. The files almost always are, but not
>> the directories. As I said, whatever it is you're doing, it's wrong.
>> I wouldn't continue to keep a setup like that as it's not standard
>> practice to keep data in /var/run that isn't temporary.
>
> Well, what am I supposed to do?
2017 Oct 05
0
how to prevent files and directories from being deleted?
It's quite obvious you aren't using Centos packages. If you refuse to do
as best practices insist (and have for nearly HALF A CENTURY) then no one
here can help you. It seems to me that 1) you'd be better off compiling
from source for your environment, or 2) that you need to follow practices
established (probably) before you were born or 3) that you stop asking the
list for thing no
2017 Oct 05
5
how to prevent files and directories from being deleted?
Mark Haney <mark.haney at neonova.net> writes:
> On 10/03/2017 01:12 PM, hw wrote:
>>
>>> See
>>>
>>> https://developers.redhat.com/blog/2016/09/20/managing-temporary-files-with-systemd-tmpfiles-on-rhel7/
>>>
>>> how to manage tmpfiles.
>> Thanks, I?ll look into that. I wouldn?t consider a directory like
>> /var/run/mariadb
2017 Oct 09
3
how to prevent files and directories from being deleted?
Anand Buddhdev <anandb at ripe.net> writes:
> On 05/10/2017 11:32, hw wrote:
>
>>> That directory isn't temporary. The files almost always are, but not
>>> the directories. As I said, whatever it is you're doing, it's wrong.
>>> I wouldn't continue to keep a setup like that as it's not standard
>>> practice to keep data in
2017 Oct 03
6
how to prevent files and directories from being deleted?
Alexander Dalloz <ad+lists at uni-x.org> writes:
> Am 01.10.2017 um 17:21 schrieb hw:
>> Hi,
>>
>> how can I prevent files/directories like /var/run/mariadb from being
>> deleted on reboot? Lighttpd has the same problem.
>>
>> This breaks services and makes servers non-restartable by anyone else
>> but the administrator who needs to re-create
2017 Oct 01
7
how to prevent files and directories from being deleted?
Hi,
how can I prevent files/directories like /var/run/mariadb from being
deleted on reboot? Lighttpd has the same problem.
This breaks services and makes servers non-restartable by anyone else
but the administrator who needs to re-create the needed files and
directories every time and has to figure out what selinux labels they
need. This causes unnecessary downtimes.
This is entirely
2017 Oct 01
0
how to prevent files and directories from being deleted?
Am 01.10.2017 um 17:21 schrieb hw:
> Hi,
>
> how can I prevent files/directories like /var/run/mariadb from being
> deleted on reboot? Lighttpd has the same problem.
>
> This breaks services and makes servers non-restartable by anyone else
> but the administrator who needs to re-create the needed files and
> directories every time and has to figure out what selinux
2017 Oct 04
0
how to prevent files and directories from being deleted?
On Tue, October 3, 2017 13:12, hw wrote:
> Alexander Dalloz <ad+lists at uni-x.org> writes:
>
>> Am 01.10.2017 um 17:21 schrieb hw:
>>> Hi,
>>>
>>> how can I prevent files/directories like /var/run/mariadb from
>>> being deleted on reboot? Lighttpd has the same problem.
>>>
>>> This breaks services and makes servers
2017 Oct 04
0
how to prevent files and directories from being deleted?
On 01/10/17 16:21, hw wrote:
> Hi,
>
> how can I prevent files/directories like /var/run/mariadb from being
> deleted on reboot? Lighttpd has the same problem.
>
> This breaks services and makes servers non-restartable by anyone else
> but the administrator who needs to re-create the needed files and
> directories every time and has to figure out what selinux labels they
2017 Oct 09
1
how to prevent files and directories from being deleted?
Mark Haney <mark.haney at neonova.net> writes:
> It's quite obvious you aren't using Centos packages.
Again: lighttpd is from epel.
See [1]: "EPEL packages are usually based on their Fedora counterparts
and will never conflict with or replace packages in the base Enterprise
Linux distributions."
If there wasn?t some sort of conflict, then there wouldn?t be an issue
2017 Oct 02
4
how to prevent files and directories from being deleted?
You can try chattr?
https://en.wikipedia.org/wiki/Chattr
2017-10-01 12:26 GMT-03:00 Alexander Dalloz <ad+lists at uni-x.org>:
> Am 01.10.2017 um 17:21 schrieb hw:
>
>> Hi,
>>
>> how can I prevent files/directories like /var/run/mariadb from being
>> deleted on reboot? Lighttpd has the same problem.
>>
>> This breaks services and makes servers
2017 Oct 03
0
how to prevent files and directories from being deleted?
On 10/03/2017 01:12 PM, hw wrote:
>
>> See
>>
>> https://developers.redhat.com/blog/2016/09/20/managing-temporary-files-with-systemd-tmpfiles-on-rhel7/
>>
>> how to manage tmpfiles.
> Thanks, I?ll look into that. I wouldn?t consider a directory like
> /var/run/mariadb in any way as only temporary --- and wouldn?t consider
> directories that are required
2017 Oct 04
0
how to prevent files and directories from being deleted?
On 10/04/2017 04:23 AM, Gary Stainburn wrote:
>
> Mark, Many Non-Centos originated packages create directories in /var/run as
> part of the install, and expect them to still exist after a reboot.
>
> They then fail when starting the service because they're trying to create a
> PID / Lock file in a directory that no longer exists. This problem has been
> around ever since
2017 Oct 04
0
how to prevent files and directories from being deleted?
On 10/04/2017 08:22 AM, Gary Stainburn wrote:
> On Wednesday 04 October 2017 12:54:44 Mark Haney wrote:
>> Sorry, but if you have to use packages that don't originate from CentOS
>> and they do that, then I wouldn't use them. Period.? I'd compile from
>> source before I used something configured that way.
> This perspective to some extent employs cutting your
2017 Oct 04
0
how to prevent files and directories from being deleted?
On Oct 3, 2017, at 13:12, hw <hw at adminart.net> wrote:
>
> I?m using the packages from mariadb.org. The old version that comes in
> Centos isn?t recommended, and I need features only the newer versions
> provide.
>
>
> Lighttpd is from epel, and it has basically the same issue.
If the mariadb.org package thinks /var/run is persistent, then it?s not intended for
2017 Oct 09
0
how to prevent files and directories from being deleted?
On Mon, Oct 09, 2017 at 08:32:32PM +0200, Alexander Dalloz wrote:
> Am 09.10.2017 um 17:54 schrieb Jonathan Billings:
> > I think that the important learning points today are:
> >
> > 1.) CentOS7 (and any other distro that uses systemd) will have /run as
> > a tmpfs filesystem, and /var/run points to /run on CentOS7, so even if
> > you think this disagrees with
2015 May 26
3
"selinux --disabled" in kickstart file does NOT disable SELINUX
Which manual?
This could actually be the root of the issue.
https://bugs.centos.org/view.php?id=7910
On 26 May 2015 at 07:56, Jeremy Hoel <jthoel at gmail.com> wrote:
> If the decision was made around the 4.8 time period to not fix the problem,
> why in v6 is it still listed in the manual as being a valid option?
>
> On Mon, May 25, 2015 at 11:49 PM, Andrew Holway
2017 Oct 04
2
how to prevent files and directories from being deleted?
On 10/04/2017 04:54 AM, Mark Haney wrote:
> Why is it so hard for people to understand that var/run IS NOT
> PERSISTENT and was never meant to be?? Do they not teach basic Unix
> concepts anymore?
http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA
While FHS notes that *files* should be cleared during the boot process,
it does not indicate that directories should
2017 Oct 09
1
how to prevent files and directories from being deleted?
Jonathan Billings <billings at negate.org> writes:
> On Oct 3, 2017, at 13:12, hw <hw at adminart.net> wrote:
>>
>> I?m using the packages from mariadb.org. The old version that comes in
>> Centos isn?t recommended, and I need features only the newer versions
>> provide.
>>
>>
>> Lighttpd is from epel, and it has basically the same
2015 May 26
0
"selinux --disabled" in kickstart file does NOT disable SELINUX
On 05/26/2015 01:36 AM, Andrew Holway wrote:
> Which manual?
>
> This could actually be the root of the issue.
>
> https://bugs.centos.org/view.php?id=7910
>
>
>
This is indeed the issue, and it is an upstream (Red Hat) bug .. but I
am not sure they are going to fix it, or when:
https://bugzilla.redhat.com/show_bug.cgi?id=1161682
If you add these packages to your