Displaying 20 results from an estimated 10000 matches similar to: "Centos 7 tmpwatch"
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 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
2020 Aug 28
0
EL8: SElinux / dac_override / tmpwatch
On Aug 28, 2020, at 17:53, Leon Fauster via CentOS <centos at centos.org> wrote:
>
> Is cron running in EL8 with stripped CAPs of? Does some one have an
> idea to address this?
In general, we no longer use tmpwatch at all. In CentOS 7 and 8, use systemd-tmpfiles. Here is a blog post that describes it pretty well:
2015 Nov 10
0
CEBA-2015:2002 CentOS 6 tmpwatch BugFix Update
CentOS Errata and Bugfix Advisory 2015:2002
Upstream details at : https://rhn.redhat.com/errata/RHBA-2015-2002.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
de1b31632fe0e1bebe34d864babd654ba929adea7b3da7f0a4f2d7a183de5bd7 tmpwatch-2.9.16-5.el6_7.i686.rpm
x86_64:
2008 Dec 22
4
Missing CentOS 4.7 update?
Unless I'm mistaken, does it look like Centos 4.7
is missing an update released on December 3rd 2008?
Upstream details :- http://rhn.redhat.com/errata/RHBA-2008-0989.html
An updated tmpwatch package that fixes various bugs is now available.
The tmpwatch utility recursively searches through specified directories and
removes files which have not been accessed in a specified period of time.
2016 Feb 12
0
rpm containing gmessage???
On Thu, 11 Feb 2016 18:55:16 -0500
ken wrote:
> > gmessage has been more-or-less superseded by zenity.
> >
>
> That's nutz. From docs I've seen, gmessage is way more flexible and
> featured.
It doesn't appear that way to me, but what do I know. I just use zenity for my own bash scripts and whatnot.
Anyway, just for you I have just created a Centos 7 rpm of
2016 Feb 11
0
rpm containing gmessage???
On Thu, 11 Feb 2016 13:42:39 -0500
ken wrote:
> Maybe I haven't run the correct yum commands or looked in the right
> repo, but I haven't found a utility called 'gmessage'. Anyone know
> where to find it?
gmessage has been more-or-less superseded by zenity.
--
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
2017 Apr 25
3
Purge Trash Fileserver
Thanks for the answer.
The problem that this way is pretty much the same as my find.
I want you to be able to delete the file based on the date they were
sent to the bin. As I gave in the example:
The file has not been changed since 2015, when it is deleted now in
2017, it goes to the bin, dated 2015, when the find pass will erase, why
it does not validate when it has been deleted, but the
2015 May 01
0
rsync backup to fileserver - mystery
that diff has /misc/misc/ in the second compare argument. Not sure if thats the exact command you have been entering or if you retyped it. If that is a good path or is rsync creating new ?misc? folders inside your original misc folder?
--
Jeremy Thompson
Sports Warehouse Inc.
jeremy at warehousesports.com
> On May 1, 2015, at 10:10 AM, Frank Cox <theatre at melvilletheatre.com>
2017 Jun 01
2
OT: Want to capture all SIP messages
In article <alpine.DEB.2.20.1705311339370.15080 at ws.sedwards.com>,
Steve Edwards <asterisk.org at sedwards.com> wrote:
> On Wed, 31 May 2017, Steve Edwards wrote:
>
> > I want to capture all SIP messages.
> >
> > I have about 30 hosts in about 6 colos.
> >
> > My first thought was dumpcap, but the output file name format bugs me.
> >
>
2020 May 16
1
Create Virtualbox image from running system?
I see that Microsoft has a utility that (apparently) can read a running system and create an image that can then be imported and run on Virtualbox.
https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd
"You can even have Disk2vhd create the VHDs on local volumes, even ones being converted (though performance is better when the VHD is on a disk different than ones being
2017 May 02
2
Purge Trash Fileserver
On Tue, Apr 25, 2017 at 9:20 AM, Dario Lesca via samba
<samba at lists.samba.org> wrote:
> Il giorno mar, 25/04/2017 alle 09.25 -0300, Carlos A. P. Cunha via
> samba ha scritto:
>> Hello
>> My fileserver is a samba 4.5.4, in Ubuntu 14.04, is all ok.
>> My question is,
>>
>> Have the recycle bin enabled, and would like a way to rotate the
>> files,
2020 Mar 08
0
System Time
On Sun, 8 Mar 2020 17:59:16 +0000 (UTC)
Chris Olson via CentOS wrote:
> why computer motherboards were not just
> equipped with a chip like the ones in the RCC so that their
> system time would always be correct.
Digital cinema servers (the gadgets that feed the movie to the projector and sound systems) run on Linux. The movies are shipped to the theatre in an encrypted form and a key
2015 Sep 26
2
Is this a bug in CentOS-7 BackupPC?
Fabian Arrotin wrote:
>> This message occurs in the Perl script
>> /usr/share/BackupPC/bin/BackupPC :
>>
>> my $sockFile = "/var/run/BackupPC/BackupPC.sock";
>> unlink($sockFile); if ( !bind(SERVER_UNIX, sockaddr_un($sockFile))
>> ) { print(LOG $bpc->timeStamp, "unix bind() failed: $!\n");
>> exit(1); }
>>
>> As far as
2013 Feb 12
2
A --exclude-checksum option?
Hi,
I use rsync with hardlinks for backup, once a week doing checksums
to ensure there's no filesystem corruption in the
backed-up data.
I also use tmpwatch, or something similar, to clean up /tmp,
it removes files that have not been accessed recently.
(atime older than some configured limit).
I backup /tmp because I throw stuff in tmp that
I might possibly need again but don't want to
2020 Nov 14
3
yum update security updates only
Frank,
Interesting thank you I didn't realize that. It used to be supported I
believe, and there is a lot of out of date 3rd party documentation floating
around google that suggests it does.
Well it's just that many enterprises have policies which state that only
security updates should be installed, which I suspect is exactly why that
feature is no longer supported..
Eric
On Fri,
2012 Feb 27
0
CentOS Digest, Vol 85, Issue 27
On Mon, 2012-02-27 at 12:00 -0500, centos-request at centos.org wrote:
> Date: Sun, 26 Feb 2012 18:23:50 -0600
> From: Frank Cox <theatre at melvilletheatre.com>
> Subject: Re: [CentOS] LibreOffice rpm's
> To: centos at centos.org
> Message-ID: <20120226182350.d62d6288.theatre at melvilletheatre.com>
> Content-Type: text/plain; charset=US-ASCII
>
> On Sun,
2014 Mar 02
1
backing up pending at commands
I can easily get a copy of my pending cron jobs so I can keep a backup. "crontab -l > mycron.txt" is part of my backup script, and that does the job nicely.
Is there a way that I can get a copy of pending at jobs for this purpose? I can get a list of pending jobs with atq, and I can show each job with at -c jobname, but I don't see a way to get something that is suitable for use
2014 Jun 11
0
issue_discards in lvm.conf
I decided that the next time I reformatted my main desktop computer (this one) I would have a ssd installed in it to use for the boot drive. Now that Centos 7 is on the horizon, I'm thinking that the time is approaching when I'll want to do that.
The last time I set up a computer with a ssd in it, that was the only drive that it had. I changed issue_discards=0 to issue_discards=1 into
2014 Sep 18
1
saving at jobs
I can easily save cron jobs in a file by doing this:
crontab -l > file.txt
And I can restore it with
crontab file.txt
Is there any way to do the same thing with at jobs?
The closest thing that I've managed to find is this:
#!/bin/bash
atq
for each in $(atq | cut -f 1); do echo "JOB $each"; at -c $each; done
That works but the output is very wordy and there is no way to