search for: tmpfiles

Displaying 20 results from an estimated 657 matches for "tmpfiles".

Did you mean: tmpfile
2016 Dec 11
3
[PATCH 0/2] generic function for temporary path generation
Cosmetic change as suggested in this previous patch: https://www.redhat.com/archives/libguestfs/2016-November/msg00111.html Matteo Cafasso (2): lib: generic function for temporary path generation lib: use guestfs_int_make_temp_path to generate temporary files src/drives.c | 5 ++--- src/file.c | 22 +++++++++------------- src/guestfs-internal.h | 1 + src/journal.c
2016 Dec 11
0
[PATCH 2/2] lib: use guestfs_int_make_temp_path to generate temporary files
Signed-off-by: Matteo Cafasso <noxdafox@gmail.com> --- src/drives.c | 5 ++--- src/file.c | 22 +++++++++------------- src/journal.c | 4 ++-- src/tsk.c | 17 ++--------------- 4 files changed, 15 insertions(+), 33 deletions(-) diff --git a/src/drives.c b/src/drives.c index 1e3b0af..1e04f81 100644 --- a/src/drives.c +++ b/src/drives.c @@ -421,7 +421,8 @@ create_drive_dev_null
2020 Apr 03
4
The finalizer of the externalPtr does not work when closing R?
Hi all, I found that the finalizer of the externalPtr is not called when R is quitting. However, manually calling GC() works fine. This behavior is observed on devel R 2020-04-02 r78142 on Win and R 3.6.3 on Ubuntu. I make a reproducible package here: https://github.com/Jiefei-Wang/example Here is the detail of how to reproduce the problem, I create a temporary file in the package root path and
2016 Sep 17
0
[PATCH 4/4] TSK: small refactoring
Removed duplicated code. Signed-off-by: Matteo Cafasso <noxdafox@gmail.com> --- src/tsk.c | 69 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 28 insertions(+), 41 deletions(-) diff --git a/src/tsk.c b/src/tsk.c index 6b1b29c..8e6d266 100644 --- a/src/tsk.c +++ b/src/tsk.c @@ -34,96 +34,71 @@ #include "guestfs-internal-all.h" #include
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 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 /chenqiang 0775 root root...
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/i...
2020 Aug 28
2
EL8: SElinux / dac_override / tmpwatch
Hi, I'm moving some old stuff from EL6 to EL8 and one setup has a cron job which uses "tmpwatch -umc $dir" to clean some directories (/etc/cron.daily/tmpwatch). It seems that this triggers this AVC (SElinux mode is enforcing): type=AVC msg=audit(1598576896.772:4267): avc: denied { dac_override } for pid=11013 comm="tmpwatch" capability=1
2016 Sep 17
7
[PATCH 0/4] New API - find_block
This series is ready for review but requires the previous one to be merged first: https://www.redhat.com/archives/libguestfs/2016-September/msg00101.html The find_block API allows the User to search all the filesystem entries referring to a given data block and returns a tsk_dirent structure for each of them. Use case examples: - Check whether a block containing a deleted file has been re-used
2016 Mar 29
4
[PATCH] appliance: Copy /etc/machine-id from host system into the appliance.
Currently when the appliance is booted we see warning messages like these ones: [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m [/usr/lib/tmpfiles.d/systemd.conf:28] Failed to replace specifiers: /run/log/journal/%m [/usr/lib/tmpfiles.d/systemd.conf:29] Failed to replace specifiers: /run/log/journal/%m They are apparently harmless, but are caused because...
2017 Jun 26
2
Install locks up my server
...e is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.' + help=' Try `config.guess --help'\'' for more information.' + test 0 -gt 0 + test 0 '!=' 0 + trap 'exit 1' 1 2 15 + set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && t...
2017 Oct 09
1
how to prevent files and directories from being deleted?
...ar/run is persistent, then it?s not intended for CentOS7. Or it is intended for Centos and not done how it needs to be because Centos differs from the FHS ... > If the EPEL package did too, then there could be serious problems with > that package. However, I see that it has a > /usr/lib/tmpfiles.d/lighttpd.conf, so it is ok. Hm, then how come it?s so troublesome? I have /usr/lib/tmpfiles.d/httpd.conf. It seems to have remained because I had httpd (which is apache) installed and then switched to lighttpd and removed httpd. httpd is no longer installed. The only installed package referr...
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 /chenqiang 0775 root root...
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 `tmpfiles.d` configured file in `/etc/tmpfiles.d` named > `my_log.conf` in following contents. > > ``` > #Type Path Mode UID GID...
2020 Apr 03
0
The finalizer of the externalPtr does not work when closing R?
See R_RegisterCFinalizerEx() and set onexit to nonzero. Here: https://github.com/wch/r-source/blob/9353ddfa8d30069ad8975e0364307d710f2488d5/src/include/Rinternals.h#L1279-L1280 Gabor On Fri, Apr 3, 2020 at 1:56 PM Wang Jiefei <szwjf08 at gmail.com> wrote: > > Hi all, > > I found that the finalizer of the externalPtr is not called when R is > quitting. However, manually
2008 May 01
3
[LLVMdev] building cross llvm-gcc for new target
everyone-- I'm trying to build LLVM-GCC as a cross-compiler for a new target. I've successfully patched binutils, the FSF GCC, LLVM and Clang to build for this new target-- they work fine, but the LLVM-gcc build is failing for me. All my llvm.org sources are tracking the Subversion trunk, but my problem is probably not related to any ongoing churn there. I'm doing something
1998 Nov 25
3
Unix/NT file conversion problems
Hi We are having some problems - the majority of our files require ascii transfers between our unix servers and PCs. They are however being transferred as binary for some reason even though they are just plain text files. This means (when going from unix to pc) the files come down without a carriage return at the end of lines. And when going from pc to unix they end up with ^M on the end of each
2020 Apr 03
0
[External] The finalizer of the externalPtr does not work when closing R?
Use R_RegisterFinalizerEx in your C code. See https://cran.r-project.org/doc/manuals/r-release/R-exts.html#External-pointers-and-weak-references This still gives you only "best effort"; for anything stronger you would need a different approach. In general, finalizers should only be used as a backstop, not as a primary resource management tool (in R or any other garbage-collected
2015 Nov 30
1
restarting samba using a cron job on Debian
The same happens to me on Debian 7 with the included Samba 4.1.17. Although relates to Ubuntu, this is the same issue: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1357471 I can tell you that what triggers this are network connectivity issues between the DCs, even if they last a couple of seconds. Once the connectivity is restored, the replication stays broken unless Samba is restarted.
1998 Jun 02
0
SAMBA digest 1706
> > ------------------------------ > > Date: Tue, 02 Jun 1998 17:28:41 +0000 > From: Jeff Wiegley <jeff@la.usweb.com> > To: samba@samba.anu.edu.au > Subject: ARGH!! why does my samba server lose domain master elections?? > Message-ID: <35743649.5CF3502F@la.usweb.com> > > Subject pretty much says it all. > > (And *please* don't point me