Displaying 20 results from an estimated 10000 matches similar to: "how to prevent files and directories from being deleted?"
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 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 04
8
how to prevent files and directories from being deleted?
On Tuesday 03 October 2017 18:24:01 Mark Haney wrote:
> What issue? That the PID is dropped on reboot?? What else are you
> putting in there?? I'm beginning to question whether you know what
> you're doing or not.? Lighttpd doesn't store any persistent info in
> /var/run/ because, like everything else, /var/run isn't for persistent
> data.
Mark, Many Non-Centos
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 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 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
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 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 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
4
how to prevent files and directories from being deleted?
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 nose of dispite youre
face. Before Packages were introduced,
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 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 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 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 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 04
3
how to prevent files and directories from being deleted?
On Wednesday 04 October 2017 13:39:30 Mark Haney wrote:
> I'll end this by saying, I hope the production servers you have don't
> provide critical services that could jeopardize the lives of people.?
> I'd ask who you work for, to make sure I avoid them at all costs, but
> I'm not sure I'd be told.
The company I work for, and the livelihood of the hundreds of
2017 Oct 04
2
how to prevent files and directories from being deleted?
On Wednesday 04 October 2017 09:42:13 Anand Buddhdev wrote:
> There's no need to do that (and it's also messy). Instead, if a package
> needs a directory to exist in /var/run, then create your own config for
> systemd-tmpfiles, and drop it into /etc/systemd/tmpfiles.d. Work with
> CentOS 7, instead of fighting with it.
>
> Anand
I saw reference to system-tmpfs in
2017 Nov 04
4
mariadb server memory usage
Hi,
is this ok for a database server, or do I need to turn the memory allowance
down? The machine has 48GB and mariadb is allowed about 40. The
machine is a dedicated database server.
Mysql seems to go up to what top says is virtually allocated under some
circumstances; I don?t know what mariadb does. I don?t want anything
get killed because memory runs out. Swap should prevent that anyway,
2017 Oct 09
0
how to prevent files and directories from being deleted?
On Mon, Oct 09, 2017 at 12:38:41PM +0200, hw wrote:
> I?m not whining, and it?s not my fault that someone came up with the
> extremely stupid idea to use a ramdisk for /var/run. It?s also not my
> fault that lighttpd appears not to be packaged the way it would need to
> be, and the same goes for the mariadb packages provided for Centos by
> the mariadb people.
>
> Perhaps
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