Displaying 14 results from an estimated 14 matches similar to: "centos7 tmpfiles.d deleted outdate files"
2016 May 25
4
centos7 tmpfiles.d deleted outdate files
Hi all,
I use centos7 and don't want to use tmpwatch as well as crond.
I have a question to use `systemd-tmpfiles-clean.service` with my custom
configured file in `tmpfiles.d` to delete outdated files periodically in
some log dir.
I have a `tmpfiles.d` configured file in `/etc/tmpfiles.d` named
`my_log.conf` in following contents.
```
#Type Path Mode UID GID Age Arg
r
2016 May 30
0
centos7 tmpfiles.d deleted outdate files
Hi Jonathan Billings,
the `age` can't apply to 'r', only would apply to 'd', 'D', 'x', 'X', etc
"The age field only applies to lines starting with |d|, |D|, |v|, |q|,
|Q|, |C|, |x| and |X|. If omitted or set to "|-|", no automatic clean-up
is done."
so, there have good idea if I only want to delete the specific files not
all
2016 May 26
0
centos7 tmpfiles.d deleted outdate files
Hi all,
I use centos7 and don't want to use tmpwatch as well as crond.
I have a question to use `systemd-tmpfiles-clean.service` with my custom
configured file in `tmpfiles.d` to delete outdated files periodically in
some log dir.
I have a `tmpfiles.d` configured file in `/etc/tmpfiles.d` named
`my_log.conf` in following contents.
```
#Type Path Mode UID GID Age Arg
r
2016 May 26
0
centos7 tmpfiles.d deleted outdate files
Would some one help me for this question? thanks very much.
On 2016?05?25? 14:18, Qiang Chen wrote:
> Hi all,
>
> I use centos7 and don't want to use tmpwatch as well as crond.
>
> I have a question to use `systemd-tmpfiles-clean.service` with my
> custom configured file in `tmpfiles.d` to delete outdated files
> periodically in some log dir.
>
> I have a
2007 Nov 06
1
User keywords limit to 26
Hi,
I'm planning to use dovecot 1.0.5 for a webmail using a lot of user-
defined tags.
Recently, I just saw the limit of 26 of them when messages are stored
in maildir format.
This is an important issue for me, since I didn't find how to remove a
flag from the dovecot-keywords database.
Is there any plan to get rid of the keywords limit ?
Or perhaps the new dbox storage format can
2014 Nov 20
2
[PATCH 0/2] appliance: When running systemd-tmpfiles, pass --boot
https://bugzilla.redhat.com/show_bug.cgi?id=1165785
Since the --boot option is relatively new (added 2013-12), I suspect
this will break older versions of systemd. However it should
be fine for all currently supported versions of Fedora.
Rich.
2016 Jul 26
0
[PATCH 5/5] appliance: run systemd-tmpfiles also for /run
Setup the volatile /run in the appliance also with the tmpfiles
configurations available. In particular, setting up correctly the lvm
bits allow lvmetad to run.
---
appliance/init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/appliance/init b/appliance/init
index d440007..e678e42 100755
--- a/appliance/init
+++ b/appliance/init
@@ -88,7 +88,7 @@ machine_id=$(dd
2016 Jul 26
0
[PATCH 4/4] appliance: run systemd-tmpfiles also for /run
Setup the volatile /run in the appliance also with the tmpfiles
configurations available. In particular, setting up correctly the lvm
bits allow lvmetad to run.
---
appliance/init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/appliance/init b/appliance/init
index d440007..e678e42 100755
--- a/appliance/init
+++ b/appliance/init
@@ -88,7 +88,7 @@ machine_id=$(dd
2017 Mar 10
1
[PATCH] appliance: run systemd-tmpfiles also for /var/run
Commit a6330e9d3af0f5286f1d53d909fd868387b67f69 enabled /run for
systemd-tmpfiles: while this works fine in most of the cases, there are
few tmpfiles configurations that still references /var/run instead of
/run. As result, include also /var/run in the systemd-tmpfiles
execution.
---
appliance/init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/appliance/init
2003 Oct 06
2
Patch to revive tmpfiles
This is a patch to fix one annoyance of having rsync processes race:
I usually keep our servers synced with the following script, run by cron.
#!/bin/sh
lockfile -r 2 -l 1000 /tmp/synchome.lock || exit 1
rsync -e ssh -avHP --delete zorro01:/home/\* /home >/dev/null
rm -f /tmp/synchome.lock
--
Sometimes my users (including myself) are in a hurry and syncronise files and directories in their
2010 Mar 08
1
[PATCH] ExecHelper: Use tmpfile() instead of File::Temp->new()
Building on EL-5 fails when the result of File::Temp->new() is passed to
open3(). tmpfile() works consistently.
---
lib/Sys/VirtV2V/ExecHelper.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/Sys/VirtV2V/ExecHelper.pm b/lib/Sys/VirtV2V/ExecHelper.pm
index 110ae9f..f577ff6 100644
--- a/lib/Sys/VirtV2V/ExecHelper.pm
+++ b/lib/Sys/VirtV2V/ExecHelper.pm
@@ -20,7
2002 Jul 03
0
Problem with tmpfile() on samba share
Hi,
we have problems executing the tmpfile() function in a program
on Windows when the cwd is within a samba share. The function
fails with errno set to "permission denied". By setting the
log level high enough in samba, I was able to see that the
temporary file was always being opened in the top level
directory of the share (which ordinary users don't have
permission to write to),
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello!
i got this forum powered by apache and mod_rails
lately when i create / edit posts, i get plain html text showing up
instead of the actual page.
here''s what i see:
--
Content-Type: text/html; charset=utf-8
Set-Cookie:
_mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL
%250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2014 May 13
0
Samba 4.1 id->user mapping slow (using winbind)
Hi,
I run a fresh debian 7 / samba 4.1 setup (using sernet's samba build). I
have a share /daten with acls.
When I do (locally)
getfacl /daten/ -R > /dev/null
the system hangs at 100% cpu wait with the samba process:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3451 root 20 0 518m 38m 6796 S 59,8 1,9 136:46.90 samba
When I do the same using the "-n"