Search found 70 matches

by dcrdev
2020/12/09 09:41:10
Forum: 8 /8-Stream / 9-Stream - General Support
Topic: CentOS 8 will die and be replaced by Stream
Replies: 105
Views: 20815

Re: CentOS 8 will die and be replaced by Stream

I am glad I held off migrating off of CentOS 7 on my servers - I think I'll wait and see how this plays out, worst case scenario I'll move to debian although I've always preferred the rhel approach. I can understand why the project might want to position themselves this way and they are free to do s...
by dcrdev
2018/02/21 09:41:00
Forum: CentOS 7 - General Support
Topic: query about shell
Replies: 2
Views: 468

Re: query about shell

Because single quotes are interpreted literally i.e. variables aren't expanded....

Code: Select all

dt="$(date +%F)"
present="/tmp/home_$dt"

if [ ! -d "$present" ]; then
    cp -pr "/home/dtail/testing/global/script/home" "/tmp/home_$dt"
    sleep 8
else
    echo 'The /home folder is already present!'
fi
by dcrdev
2018/01/26 16:16:34
Forum: CentOS 7 - Software Support
Topic: Logrotate Removing Logs
Replies: 6
Views: 3226

Re: Logrotate Removing Logs

This is the most infuriating thing ever - no way for me to debug this...

- The script + parameters called by cron, run fine manually.
- They don't work when called from cron.
- Cron log shows no errors.
- Logrotate status file shows no errors.

This is just nuts!
by dcrdev
2018/01/26 16:14:24
Forum: CentOS 7 - Software Support
Topic: Need some help setting up NFS
Replies: 2
Views: 804

Re: Need some help setting up NFS

Couple of ideas: - /var/nfs seems like an odd place to export, are you sure that it has an selinux context that permits nfs? - You have firewalld disabled but that doesn't necessarily mean it can't be reactivated, have you tried masking it? Or alternatively "firewall-cmd --add-service=nfs && firewal...
by dcrdev
2018/01/25 09:29:00
Forum: CentOS 7 - Software Support
Topic: Logrotate Removing Logs
Replies: 6
Views: 3226

Re: Logrotate Removing Logs

So I can't get this to work - I thought I had it before because I was able to run it manually, but it would appear this isn't working as part of the daily cron. I've tried running the exact line from /etc/cron.daily/logrotate and it works if I do it manually. Furthermore all other logs are being rot...
by dcrdev
2018/01/16 11:47:14
Forum: CentOS 7 - Software Support
Topic: Cockpit.service can't be enabled
Replies: 3
Views: 2028

Re: Cockpit.service can't be enabled

Yes it will!

Note that you need to enable cockpit.socket - not .service.
by dcrdev
2018/01/16 09:51:15
Forum: CentOS 7 - Software Support
Topic: Cockpit.service can't be enabled
Replies: 3
Views: 2028

Re: Cockpit.service can't be enabled

Cockpit uses socket activation...

Code: Select all

sudo systemctl enable --now cockpit.socket
by dcrdev
2018/01/13 19:36:57
Forum: CentOS Social
Topic: PCID Speculation
Replies: 1
Views: 2779

PCID Speculation

With the performance hit hitting KPTI patched systems and the apparent mitigation of this performance decrease with systems that have PCID support. Would anyone care to speculate whether or not Redhat will backport PCID support to the kernel in the current 7.x series of releases? I'm thinking they'v...
by dcrdev
2018/01/13 00:04:13
Forum: CentOS 7 - Software Support
Topic: Logrotate Removing Logs
Replies: 6
Views: 3226

Re: Logrotate Removing Logs

Thanks that pointed me in the right direction - So when logrotate is called via cron it passes /etc/logrotate.conf as the config, that file has an include on /etc/logrotate.d/* . The main config file /etc/logrotate.conf has the logrotate directive set to 4, when passing the configs from /etc/logrota...