[CentOS] Upgrading CentOS from 7 to 8

2021-09-29 Thread Gestió Servidors
Hi, I'm doing some tests of upgrading CentOS from 7 to 8 reading this step-by-step guide: https://netshopisp.medium.com/how-to-upgrade-linux-servecentos-7-to-centos-8-ec2db96a189b I'm trying this upgrade in a VM, so I can save "snapshots" and restart in a past saved point. However, all my

[CentOS] Using Cgroups in CentOS-7

2021-05-18 Thread Gestió Servidors
Hi, I want to limit CPUQuota and Memory using "Cgroups". After reading some documents, it seems I need to modify "user.slice" systemd file adding "CPUQuota=25%" (for example) but, after it, if I run a "stress" with other user (not "root"), stress process takes 100% CPU. I have noticed that

Re: [CentOS] Booting from an ISO file in a XFS /boot

2021-04-08 Thread Gestió Servidors
> Just guessing - loading the grub module for xfs is missing? Also, I have test adding "insmod xfs" in the "menuentry" section of my "iPXE" boot option, but result is the same... ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Automatic clean /tmp folder

2021-04-08 Thread Gestió Servidors
>>> With these files I supposed that a file with more than 10 days in /tmp >>> would be automatically deleted, but today I have found some files/folders >>> with more than 10 days. >>> >>> What I have done wrong? >> >> The test is on access time, not modification. Have they been read in the

[CentOS] Booting from an ISO file in a XFS /boot partition

2021-04-08 Thread Gestió Servidors
Hi, I want to boot with a customized iPXE iso boot file from my GRUB2 menu. My system is running CentOS-7, with /boot formated as XFS filesystem. After copying my iPXE.iso into /boot, I have created a custom GRUB2 file in /etc/grub.d/40_custom like this: menuentry "iPXE" { set

[CentOS] Automatic clean /tmp folder

2021-04-07 Thread Gestió Servidors
Hello, I have found some files/folders in /tmp that I thought they had to be deleted because of age. My /usr/lib/tmpfiles.d/tmp.conf is: # Clear tmp directories separately, to make them easier to override v /tmp 1777 root root 10d v /var/tmp 1777 root root 30d # Exclude namespace mountpoints

[CentOS] Recover removed data in XFS

2021-01-05 Thread Gestió Servidors
Hi, I manage an HPC Cluster that runs CentOS-7 and shares some mount points. All shares are formated in XFS. Is there anyway to recover removed data? ...An user has deleted her $HOME entirely... Thanks. ___ CentOS mailing list CentOS@centos.org

[CentOS] YUM problem

2020-12-18 Thread Gestió Servidors
Hi, I'm trying to find a YUM package. My system runs a CentOS-7.2.1511 (yes, it's a old version, but some software is "stable" with this CentOS version). Now, I'm looking for a package with YUM. When a run "yum provides */system-config-lvm", I get this error: [root@mysystem ~]# yum provides

[CentOS] XFS problem

2020-05-11 Thread Gestió Servidors
Hello, My server is running kernel 3.10.0-1062.12.1 in a CentOS Linux release 7.7.1908. Since some weeks ago, server is restarting after XFS errors. Logs in /var/crash reported this information: [...] [443804.295916] sd 0:0:0:0: [sda] FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK

Re: [CentOS] Issue with "ExecStartPost" attribute in systemd daemon fail

2019-11-22 Thread Gestió Servidors
Hi, it seems there is no difference in "systemctl status crond" :( El 22/11/2019 a las 13:00, centos-requ...@centos.org escribió: Message: 3 Date: Thu, 21 Nov 2019 14:41:25 +0100 From: Leon Fauster To:

Re: [CentOS] Issue with "ExecStartPost" attribute in systemd daemon faile

2019-11-22 Thread Gestió Servidors
Nov 22 11:04:41 mysystem systemd: Started Command Scheduler. Nov 22 11:04:41 mysystem systemd: Starting crond failure email notification... Nov 22 11:04:41 mysystem systemd: Started crond failure email notification. ... but I don't receive any email... Why? El 21/11/2019 a las 18:34, James Pear

[CentOS] Issue with "ExecStartPost" attribute in systemd daemon faile

2019-11-21 Thread Gestió Servidors
Hello, I'm trying to configure a daemon (I'm doing tests with "crond" daemon) to send me an email after daemon restart. My "crond.service" file is: # /etc/systemd/system/crond.service [Unit] Description=Command Scheduler After=auditd.service systemd-user-sessions.service time-sync.target

Re: [CentOS] Limit user password by time

2019-11-04 Thread Gestió Servidors
Is it possible with "chage" to configure a password caducity for, at most, 2 hours? I think "chage" only allows caducity for, at least, one day. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

[CentOS] Limit user password by time

2019-10-31 Thread Gestió Servidors
Hello, I would like to know if it is possible to configure a password that expires, once user has logged, after 2 hours, for example. Thanks. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

[CentOS] Automatic updates applying after reboot

2019-04-08 Thread Gestió Servidors
Hello, I have noticed something I consider "a bug". Running a CentOS-7-x86_64 with kernel 3.10.0-327.13.1 and Gnome 3.14.x, my systems detects some available updates, notifies me at top bar and, if I close session, Gnome ask me if I want to apply these "pending" updates and, then, execute