Re: [CentOS] Latest firefox upgrade crashes

2024-01-24 Thread Kenneth Porter
On 1/18/2024 10:06 AM, Simon Matter wrote: Attached is the console output of when running Firefox. BTW, for big logs and similar data, I recommend using a pastebin. ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] ssh keys hostname VS fqdn - offends?

2024-01-01 Thread Kenneth Porter
--On Monday, January 01, 2024 1:01 PM +0100 lejeczek via CentOS wrote: -> $ ssh box5.proxmox.mine hostname -i 10.3.1.78 -> $ ssh box5 hostname -i Warning: the RSA host key for 'box5' differs from the key for the IP address '10.3.1.78' Offending key for IP in /root/.ssh/known_hosts:2 Matching

[CentOS] selinux blocks rsync client in systemd service

2023-11-03 Thread Kenneth Porter
I'm trying to slurp a CentOS 7's filesystem to another CentOS 7 system using rsyncd on the supplying side and rsync running as a client in a timer unit on the client side. My backup script on the backup system runs fine from the command line. When run from a systemd timer unit, rsync sends

Re: [CentOS] old website keep reappering in /var/www/html

2023-09-07 Thread Kenneth Porter
On 9/7/2023 11:19 AM, Marco Fioretti wrote: It's as if there were some hidden cron job somewhere that runs hugo on the OLD source files, but I can't find it. All the standard methods one can find by googling "how to list all cron jobs" don't show anything that may be the reason. Also check

[CentOS] kernel: net_ratelimit: 18 callbacks suppressed

2023-08-06 Thread Kenneth Porter
CentOS 7.9 system. My 2 servers at home have been spewing this error message every few minutes to /var/log/messages. But there's no preceding message to tell me what's being suppressed. From googling for this, I understand that the failure to log the real message is a bug in the v3 series

Re: [CentOS] Current RHEL fragmentation landscape

2023-07-21 Thread Kenneth Porter
On 7/21/2023 1:57 AM, Ian B wrote: We just have 5 servers, and don't want any personal support. We'd be fine to pay what we'd consider a reasonable fee I think. I contacted Redhat to ask about their licensing and if we could fit somehow into it (i.e the personal support & 16 machine type

Re: [CentOS] Compare directories and files including files content from both node1 and node2

2023-02-10 Thread Kenneth Porter
On 2/9/2023 8:43 AM, Harshal Lakare wrote: 2) Use rsync to compare files between two node , if there is any difference between source and destination then rsync will sync differential file. Use --dry-run to do this non-destructively, with the verbose flag to list the differences.

Re: [CentOS] Looking for a RAID1 box

2023-01-04 Thread Kenneth Porter
--On Wednesday, January 04, 2023 7:47 PM +0100 Michael Schumacher wrote: my old home server needed to much energy (~80VA) permanently, so I went for an https://www.hardkernel.com/shop/odroid-h3-plus/ The manufacturer is located in Korea and has dealers around the world. Put it in one of their

Re: [CentOS] LibreOffice on CentOS 7

2022-11-02 Thread Kenneth Porter
--On Wednesday, November 02, 2022 3:53 PM + jefflp...@twc.com wrote: A general dislike of anything that gets between the operating system and an application potentially introducing its own complications. Such problems are inevitable when you choose the long-term stability of an old

Re: [CentOS] Microsoft deprecation of basic authentication centos 7

2022-10-14 Thread Kenneth Porter
--On Friday, October 14, 2022 1:33 PM -0400 mario juliano grande-balletta wrote: Trust me, I loathe anything microsoft, ugh. OAuth is an open standard. MS (along with several other tech giants) is using it instead of a proprietary solution.

Re: [CentOS] Measure Linux process system metrics.

2022-10-09 Thread Kenneth Porter
--On Monday, October 10, 2022 12:42 AM +0530 Kaushal Shriyan wrote: Is there a way to check which process consumed network throughput, memory, cpu load, cpu usage, disk io on CentOS Linux release 7.9.2009 (Core) on a specific date on Sept 28, 2022? Take a look at Cacti:

Re: [CentOS] OT:: Multiple PHP versions

2022-08-15 Thread Kenneth Porter
--On Monday, August 15, 2022 1:03 PM -0400 H wrote: While I would prefer to install php 7.4 from SCL, both IUS and Remi's repositories do carry it. Do you see a reason to choose one over the other bearing in mind I need to have multiple versions installed used by different web apps? I'm a

Re: [CentOS] OT:: Multiple PHP versions

2022-08-14 Thread Kenneth Porter
On 8/14/2022 12:36 PM, H wrote: I do not see SCL having php 7.4, only php 7.3, or did I miss it? I don't see it, either. I suggest getting the source for 7.2 or 7.3 and updating it to 7.4. Your contribution to the community would be welcome! ___

Re: [CentOS] how to wild-card autofs mount - ?

2022-07-15 Thread Kenneth Porter
On 7/15/2022 11:36 AM, lejeczek via CentOS wrote: any autofs wizadm reading this and can tell how to "wild-card" this: /home/e23/U: -fstype=nfs4,acl 10.3.3.1:/USER-HOME/e23 I tried $USER in obvious place but it did not mount. This article has some suggestions:

[CentOS] Mailing list archives pretty but need to be wider

2022-05-10 Thread Kenneth Porter
The CSS for the list archives should specify a slightly larger width for the message text. Archives for this list: I looked up a useful reply in the archives for sharing elsewhere and found that they're nicely-formatted but the message display is a

Re: [CentOS] IPv6 token with /60 and prefix delegation

2022-05-09 Thread Kenneth Porter
--On Monday, May 09, 2022 12:16 PM -0500 Ian Pilcher wrote: So right now, you're assigning a /60 address to your LAN interface? If so, you almost certainly shouldn't do that. Instead, you should (as you say) pick a /64 from within the delegated /60 and use that subnet. (The other /64

[CentOS] IPv6 token with /60 and prefix delegation

2022-05-08 Thread Kenneth Porter
I'm trying to figure out how to assign a "static" address that automatically sets the prefix to what the ISP delegates. It seemed like the token system would accomplish that, but reading the kernel source code, I've discovered that tokens only work with a /64 delegation. My ISP offers a /60,

Re: [CentOS] Raspberry Pi 4 and C++ 17

2022-04-25 Thread Kenneth Porter
Have you built RPMs from their source SRPMs before? I'd suggest getting one of the SRPMs from SCL and building it on the Pi. You'll probably have to incrementally build the whole tool chain, just as those in scl were built. It's possible you could get the person who built the scl versions for

Re: [CentOS] Raspberry Pi 4 and C++ 17

2022-04-25 Thread Kenneth Porter
--On Monday, April 25, 2022 4:30 PM -0400 Will wrote: I sure did try that.  I also tried to install devtools (no luck there). [root@localhost source]# yum list installed binutils* gcc-c++* libc-devel* I'd suggest checking Software Collections or COPR for newer devtools built for CentOS 7.

[CentOS] Two labels, one mount point

2022-04-01 Thread Kenneth Porter
I have a systemd mount unit that mounts an external drive by label. What happens if I plug in two USB external drives formatted with the same label? Does the last one discovered mount on top? I'm rotating backup drives and the backup software assumes the drive to be at a particular directory.

[CentOS] SELinux relabeling for a diffeerernt mount point

2022-03-31 Thread Kenneth Porter
I'm preparing a disk mounted at /mnt/tmp to later be mounted at /var/lib/BackupPC. Is there some magic invocation to get the selinux labels for the structure I create to assume the final mount point, so that I don't have to relabel it when it's finally mounted at its target location? Or is

[CentOS] Updating a package to one from a different repository

2022-03-21 Thread Kenneth Porter
At some point I updated fail2ban from a copr repo to get the latest release. That repo no longer exists but a newer version is available in EPEL. Is there a direct way to get yum to update using the different repo? Or do I need to save my config and DB, erase the old version, and install the

Re: [CentOS] Any downside to mount -o noatime?

2022-02-10 Thread Kenneth Porter
--On Thursday, February 10, 2022 11:08 PM -0500 Jon LaBadie wrote: Are you reading that as "atime gets updated every 24 hrs"? If so you are missing "if needed". I.e. if the file's data blocks have been read. Checking time-stamps and sizes are not operations that cause atime updates. Those

Re: [CentOS] Any downside to mount -o noatime?

2022-02-10 Thread Kenneth Porter
--On Thursday, February 10, 2022 8:15 PM -0600 Chris Adams wrote: Unless you never write to the disk, that will still be lost in the noise of writes. Consider a weekly backup of /usr with checksumming of the contents. A partition that only changes with updates, so in principle it could be

Re: [CentOS] Any downside to mount -o noatime?

2022-02-10 Thread Kenneth Porter
--On Thursday, February 10, 2022 8:49 PM -0500 Jon LaBadie wrote: atime updates that occur when {m,c}time are updated add no additional burden. Understood. If that's the only time it happened, I would be happy with that. So you are concerned about a single "possible" inode update once a

Re: [CentOS] Any downside to mount -o noatime?

2022-02-10 Thread Kenneth Porter
--On Thursday, February 10, 2022 8:03 PM -0500 Matthew Miller wrote: relatime has been the default for a long time -- that only updates atime once per some reasonable timeperiod. The wear and tear from that is negligible and you can still get a basic idea of when files where accessed.

Re: [CentOS] Any downside to mount -o noatime?

2022-02-09 Thread Kenneth Porter
Also, is there a way to make noatime the default for all mounts? Or will I need to add it to everything in /etc/fstab and /etc/systemd/system/*.mount? ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

[CentOS] Any downside to mount -o noatime?

2022-02-09 Thread Kenneth Porter
I'd like to reduce the wear-and-tear on my SSDs and eliminate the unnecessary metadata writes on my backup media that only slow down the backup process. So I want to add noatime to all my mounts. Is there any downside to this? At one time I remember atime being useful for tmpwatch, which

Re: [CentOS] Kernel live patching on CentOS Stream 9

2022-01-13 Thread Kenneth Porter
--On Thursday, January 13, 2022 2:10 PM -0500 Valeri Galtsev wrote: We never had it in CentOS in the past, but I'm just curious: is live patching proprietary piece of RHEL? I know there are several solutions, way back there was paid one called splice, my Boss's son was one of the developers

Re: [CentOS] Kernel live patching on CentOS Stream 9

2022-01-07 Thread Kenneth Porter
On 1/7/2022 10:07 AM, Brian Stinson wrote: - We do not provide patch files in CentOS Stream (or previously in CentOS Linux, for that matter). We've always recommended RHEL as a better fit for folks that have hard requirements on this sort of workflow. If Stream is to be the next RHEL, wouldn't

Re: [CentOS] how to clear out /var/cache?

2022-01-01 Thread Kenneth Porter
--On Friday, December 31, 2021 11:15 PM -0500 Fred wrote: among the remains, the only other big one remaining is: 2.3G abrt-di which I won't mess with for now. That directory is owned by the abrt-addon-ccpp package, which is involved with crash dump analysis. So I'd guess it's full of

Re: [CentOS] how to clear out /var/cache?

2021-12-30 Thread Kenneth Porter
On 12/30/2021 6:39 PM, Fred wrote: but I still don't know the proper way to clear out a lot of this stuff. I certainly don't want to hose my system. My next step, on finding a candidate pig, would be to use "rpm -qf" to identify which package owns the pig, and then look at how to clean that

Re: [CentOS] how to clear out /var/cache?

2021-12-30 Thread Kenneth Porter
--On Thursday, December 30, 2021 6:20 PM -0500 Fred wrote: Mine has hit over 3 gigs, making it one of the larger directories in /, which is running low on space. I've hit all the low-hanging fruit I can find and now I come to things like /var/cache, and I don't know what to do about such.

Re: [CentOS] firewalld: removing rich-rules based on its own list fails

2021-12-22 Thread Kenneth Porter
--On Wednesday, December 22, 2021 8:03 PM +0100 Patrick via CentOS wrote: Error: INVALID_RULE: internal error in _lexer(): rule family="ipv4" source NOT address="46.23.XX.0/24" forward-port port="53" protocol="udp" to-port="60053" to-addr="46.23.XX.53" If you don't get help here, you might

Re: [CentOS] OT:: Multiple PHP versions

2021-12-14 Thread Kenneth Porter
On 12/14/2021 1:15 PM, Markus Falb wrote: The only php SCL on that page that isn't EOL yet is php 7.3 Supported multi php installations seems difficult with that (maybe there is more behind yourwww.softwarecollections.org link?), although it would be possible to have the original non SCL php

Re: [CentOS] OT:: Multiple PHP versions

2021-12-14 Thread Kenneth Porter
On 12/14/2021 9:38 AM, TE Dukes wrote: Been trying to get multiple versions of PHP on a CentOS 7 machine, off and on for the past couple months. I have followed 5 or 6 different howtos but none work. They are very similar and they seems to be done on a fresh install as most do an apache install

Re: [CentOS] UID/GID migration vom C6 to C8

2021-11-15 Thread Kenneth Porter
On 11/15/2021 6:48 AM, Simon Matter wrote: I've created a script which uses `chown' to recursively change UIDs and GIDs. I don't remember exactly but I think I made it run for every user in parallel and it finished quite fast considering the fact that it had to traverse the whole storage

Re: [CentOS] IPv6 mailing list?

2021-10-27 Thread Kenneth Porter
On 10/27/2021 9:24 AM, Benson Muite wrote: There being no end-user IPv6 mailing list, it seems possible to set one up. I'd hoped that DSLReports would have a dedicated sub-forum but no luck. But I did discover that Reddit has one: https://www.reddit.com/r/ipv6/ Meanwhile, I found the

[CentOS] IPv6 mailing list?

2021-10-27 Thread Kenneth Porter
Can anyone recommend an end-user IPv6 mailing list? (A web forum would also be acceptable.) I've been looking at available lists and they all seem targeted at backbone players and ISPs. I'm looking for something where we can report and resolve problems with our ISPs. For example, I just got

Re: [CentOS] IPv6 routing preference with multiple default gateways

2021-10-17 Thread Kenneth Porter
Ugh. It looks like I need to read through the neighbor discovery RFC to understand how this works: https://datatracker.ietf.org/doc/html/rfc4861 I did discover that the radvd.conf page includes an entry for AdvDefaultPreference low|medium|high so I can at least set the preference of the

[CentOS] IPv6 routing preference with multiple default gateways

2021-10-17 Thread Kenneth Porter
I've got a primary and backup CentOS 7 gateway, each with two interfaces, connected to my LAN and my fiber gateway. The default gateway (the fiber box) is set explicitly in ifcfg-eno2 with IPV6_DEFAULTGW. Using "ip -6 route show" I see two defaults, the static one and the one advertised from

Re: [CentOS] Unexpected /etc/resolv.conf updates on CentOS 7

2021-10-13 Thread Kenneth Porter
On 10/13/2021 10:24 AM, Toralf Lund wrote: Does here anyone know exactly when NetworkManager creates or is supposed to create /etc/resolv.conf for a network connection? Is there a way I can control it, or alternatively, is there a good way to debug the functionality? Take a look at

Re: [CentOS] how to display/create DUID?

2021-09-29 Thread Kenneth Porter
--On Wednesday, September 29, 2021 11:59 PM +0200 hw wrote: Is that my lack of understanding or are these DUIDs really a rather stupid idea? And how are we actually supposed to set up static leases with DHCPv6? I recommend asking over on the ISC DHCP lists where you're likely to find much

Re: [CentOS] how to display/create DUID?

2021-09-19 Thread Kenneth Porter
--On Sunday, September 19, 2021 3:02 PM +0200 hw wrote: None of this is working because the server isn't running a DHCPv6 server, and there seems to be no file in /var/lib/NetworkManager that would seem to be helpful. Isn't there a tool that creates the DUID and prints it? This can't be too

Re: [CentOS] how to display/create DUID?

2021-09-19 Thread Kenneth Porter
--On Sunday, September 19, 2021 2:10 AM +0200 hw wrote: So how/where do find I this DUID on my server? My desktop has it in

Re: [CentOS] how to display/create DUID?

2021-09-19 Thread Kenneth Porter
--On Sunday, September 19, 2021 2:10 AM +0200 hw wrote: I would like to assign an ipv6 address through the DHCPv6 server of pfsense. To configure a static address, I need to tell the DHCPv6 server a DUID. Apparently DUIDs belong to a particular machine and aren't supposed to ever change

Re: [CentOS] Find out which process consumed Network bandwidth

2021-09-14 Thread Kenneth Porter
Take a look at Cacti, which is available in the EPEL repo: https://www.cacti.net/ It's not just for network accounting. It polls multiple hosts for all kinds of data and keeps RRD tables for display. Cacti provides a web interface that can display the data in charts. You'll need to install

Re: [CentOS] systemd | Requires statement with an instantiated service

2021-09-01 Thread Kenneth Porter
--On Wednesday, September 01, 2021 6:36 PM +0200 Leon Fauster via CentOS wrote: How to apply a "Requires" with an instantiated service. Example: a@.service b.service a@.service is started as a@host1.service and b.service must be started after a@host1.service but the unit will be

Re: [CentOS] hosts.deny, fail2ban etc.

2021-07-28 Thread Kenneth Porter
On 7/28/2021 1:57 PM, Scott Techlist wrote: Is that an improvement? I'm still running Centos7 so I'm not familiar with it. https://ungleich.ch/en-us/cms/blog/2018/08/18/iptables-vs-nftables/ ___ CentOS mailing list CentOS@centos.org

[CentOS] local privilege escalation in kernel and systemd

2021-07-21 Thread Kenneth Porter
Two related bugs involve mounting a very long path. The kernel bug requires passing a 1 GB path string, while the systemd bug involves an 8 MB path that overflows its stack.

Re: [CentOS] Warning: No matches found for: clamav on CentOS Linux release 7.9.2009 (Core)

2021-07-20 Thread Kenneth Porter
On 7/19/2021 1:11 PM, Frank Cox wrote: ul 20 00:01:57 testdeveloperportal clamd: ERROR: Can't open/parse the config file /etc/clamd.d/server.conf Exactly. Instructions on defining a new clamd service can be found here: /usr/share/doc/clamd-0.103.3/README

Re: [CentOS] Warning: No matches found for: clamav on CentOS Linux release 7.9.2009 (Core)

2021-07-19 Thread Kenneth Porter
--On Monday, July 19, 2021 12:14 PM +0200 Simon Matter wrote: I think after installing epel-release, you have to enable the repositories you want in the /etc/yum.repos.d/epel.repo file. It came enabled on my system. (rpm -Vf on that file reports no changes.) Here's the matches I get:

Re: [CentOS] Tracking down application sending mail in CentOS 7

2021-06-25 Thread Kenneth Porter
--On Thursday, June 24, 2021 10:59 PM -0400 H wrote: There are plenty of messages, basically every few minutes, see the e-mail I just posted. Open a couple shell windows. Run top in one and "tail -f /var/log/messages" in the other and watch for a program to jump to the top of the process

Re: [CentOS] Tracking down application sending mail in CentOS 7

2021-06-23 Thread Kenneth Porter
--On Wednesday, June 23, 2021 10:54 PM -0400 H wrote: Viewing /var/log/maillog I get some information but cannot see which application generated that e-mail, nor the content of it which would likely allow me to see where it comes from. Can anyone suggest how to track down the app so I can

[CentOS] systemd alias for SMTP provider (and other services supplied by alternative providers)

2021-06-14 Thread Kenneth Porter
I just finished adding a custom service to send an email on system shutdown/startup: I ended up coding an After for postfix.service on CentOS 8 so the mail would get delivered before the system shut down. (I think I might need a delay, too, to allow

[CentOS] RH portal shows more when logged out

2021-06-12 Thread Kenneth Porter
I was looking into the system's sync/shutdown/halt user accounts and found this page: I wanted to reply to the comments I found there so I logged in. Now I can't see the comments or otherwise interact with the page. I'm using Chrome on

[CentOS] Fwd: Pre-announcement of an ISC DHCP security issue scheduled for disclosure 26 May 2021

2021-05-21 Thread Kenneth Porter
Forwarded Message Subject: Pre-announcement of an ISC DHCP security issue scheduled for disclosure 26 May 2021 Date: Fri, 21 May 2021 11:44:19 -0800 From: Michael McNally To: dhcp-annou...@lists.isc.org Hello, dhcp-announce list subscribers, It has been a while

[CentOS] NetworkManager: Remove one of two DHCP leases

2021-05-07 Thread Kenneth Porter
I forgot to release the DHCP IPv4 lease on a PC before I deployed it at the customer site. So now the box has two leases for a couple days, when the old lease expires. What's the proper way to force the unwanted additional lease to expire immediately? It's mucking up my resolv.conf with the old

Re: [CentOS] How to organize your VMs

2021-04-13 Thread Kenneth Porter
--On Tuesday, April 13, 2021 1:15 AM -0400 Steven Tardy wrote: IMO each VM should have a singular use/purpose/app. VMs are effectively free. And also prevents unintended negative upgrade interactions. Think through this to the logical end as each process is it's own

Re: [CentOS] Missing /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf

2021-04-12 Thread Kenneth Porter
--On Monday, April 12, 2021 9:34 AM -0500 Johnny Hughes wrote: As to how you got the error .. it seems there is an issue with the kernel-3.10.0-1127.19.1.el7.x86_64 install on your machine, it is at least missing that file. If you are using that kernel .. you might want to re-install it

[CentOS] Missing /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf

2021-04-11 Thread Kenneth Porter
I'm yum updating some CentOS 7 systems today and got this error. Two systems (so far) seem to have rebooted fine. Should I worry? error: file /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf: No such file or directory ___ CentOS mailing

Re: [CentOS] Automatic clean /tmp folder

2021-04-07 Thread Kenneth Porter
--On Wednesday, April 07, 2021 9:00 AM + Gestió Servidors wrote: 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,

[CentOS] bash: return status of an assignment

2021-02-27 Thread Kenneth Porter
In the sqm-scripts package for managing network traffic shaping is this line for finding a program suitable for loading the kernel shaping modules: [ -z "$INSMOD" ] && INSMOD=$(which modprobe) || INSMOD=$(which insmod) It seems to set INSMOD to /usr/sbin/insmod, even though /usr/sbin/modprobe

Re: [CentOS] Dual WAN on EL8 desktop.

2021-02-16 Thread Kenneth Porter
--On Tuesday, February 16, 2021 12:00 PM +0530 Thomas Stephen Lee wrote: The solution should be a software one without acquiring new hardware. What is ideal is the bandwidth of two connections and half bandwidth when one link is down. The search term you're looking for is "NIC bonding".

Re: [CentOS] Changing command line version of php for apache

2021-02-14 Thread Kenneth Porter
--On Sunday, February 14, 2021 1:52 PM -0500 H wrote: Apart from what you described above, is it in general possible to force a non-shell user to use a specific version of software when multiple versions are installed on a machine, be it php, python or something else? As I said, use the

Re: [CentOS] Changing command line version of php for apache

2021-02-14 Thread Kenneth Porter
--On Saturday, February 13, 2021 9:59 PM -0500 H wrote: But my question is also a more general one: short of ridding the system of the old, default php 5 binary, how should I configure a user without a shell such as apache to default to the newer php binary? As mentioned previously, apache

[CentOS] Filesystem choice for BackupPC extrenal drive

2021-02-04 Thread Kenneth Porter
I'm setting up a CentOS 7 box as a BackupPC 4 server to back up Windows boxes on my LAN. I'm using an external 1.5 TB USB drive for the "pool". BackupPC deduplicates by saving all files in a pool, a directory hiearchy with each file named for the checksum of the file, and the directories

Re: [CentOS] How to query which yum package groups a particular package is member of

2021-01-28 Thread Kenneth Porter
--On Thursday, January 28, 2021 7:22 AM -0700 James Szinger wrote: I'm guessing that means it was a dependency for something back then. Is there a way to discover what? Using "yum history info 1" I see that this was the original Anaconda install from 2014. Could dnsmasq be in the original

Re: [CentOS] How to query which yum package groups a particular package is member of

2021-01-27 Thread Kenneth Porter
--On Wednesday, January 27, 2021 11:35 PM + Jamie Burchell wrote: How about using yum history to find when and why the package was installed? yum history summary dnsmasq yum history package-list dnsmasq Very nice! The oldest record of the second command: 1 | Dep-Install|

Re: [CentOS] How to query which yum package groups a particular package is member of

2021-01-27 Thread Kenneth Porter
--On Wednesday, January 27, 2021 3:31 PM -0500 Stephen John Smoogen wrote: or one can look for the comps file in /var/cache/yum network-tools has dnsmasq listed as a package repoquery says the following on my rhel box NetworkManager-1:1.4.0-20.el7_3.x86_64

Re: [CentOS] How to query which yum package groups a particular package is member of

2021-01-27 Thread Kenneth Porter
--On Wednesday, January 27, 2021 8:07 PM + J Martin Rushton via CentOS wrote: Here's how to find the package for a particular file: That one's easy and I use this all the time: rpm -qf full-file-name I'm looking for how to get the yum group for a package. (I'm guessing a package

[CentOS] How to query which yum package groups a particular package is member of

2021-01-27 Thread Kenneth Porter
I'm trying to find out how dnsmasq got on my CentOS 7 system, since I use BIND for DNS. I'm guessing it was part of a base group that Anaconda installs for all systems. Red Hat has this answered on this page but the answer is only available to subscribers. I'm guessing this kind of content

Re: [CentOS] Reboot/shutdown without login

2021-01-11 Thread Kenneth Porter
On 1/11/2021 11:37 AM, Valeri Galtsev wrote: In old times I always was disabling CNTRL-ALT-DEL, and adding to level "S" /usr/bin/login which effectively required password when one reboots machine into single user mode. And boot from anything but system drive was disabled in BIOS, and BIOS was

Re: [CentOS] Reboot/shutdown without login

2021-01-11 Thread Kenneth Porter
On 1/11/2021 10:32 AM, Frank Cox wrote: How do you want the person to shut it down without logging in? Some computers have a "smart" power switch pushbutton that you can program to do a shutdown or a reboot depending on how long you hold the button down. Otherwise you'll need at least a

[CentOS] Reboot/shutdown without login

2021-01-11 Thread Kenneth Porter
I installed CentOS 8 on a Dell server and it's been running fine as a headless system, admin'd remotely by ssh. Now I'd like to allow someone to shut it down at the console without logging in. Is there a way to do that? Or do I need to get the GUI working? I tried switching it into graphical

Re: [CentOS] dovecot option PROFILE=SYSTEM

2021-01-06 Thread Kenneth Porter
--On Wednesday, January 06, 2021 7:08 AM -0800 david wrote: If only there had been a comment in the file /etc/dovecot/conf.d/10-ssl.conf I suggest opening an enhancement request on Bugzilla. ___ CentOS mailing

Re: [CentOS] dovecot option PROFILE=SYSTEM

2021-01-06 Thread Kenneth Porter
--On Tuesday, January 05, 2021 7:40 PM -0800 david wrote: In examining the file /etc/dovecot/conf.d/10-ssl.conf I see the text line: ssl_cipher_list = PROFILE=SYSTEM Yet, I cannot find any documentation that explains what that causes, where the values are stored. I ask because I don't

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Kenneth Porter
--On Monday, November 23, 2020 4:46 PM +0100 Simon Matter wrote: I suggest to "mdadm --fail" one drive, then "mdadm --remove" it. After replacing the drive you can "mdadm --add" it. Does it make sense to dd or ddrescue from the removed drive to the replacement? My md RAID set is on primary

[CentOS] server rebooted email

2020-11-19 Thread Kenneth Porter
I used to put a line in rc.local to email root that my server rebooted. Does anyone have a nice systemd unit file to do the same? Also useful would be a shutdown email with the output of uptime. (I usually do that manually when rebooting for a kernel update.)

Re: [CentOS] dnsmasq centos 7

2020-10-31 Thread Kenneth Porter
On 10/31/2020 6:17 AM, Jerry Geis wrote: I tested with "host laptop.w530" and I get unresolved (expected). If I add "nameserver 192.168.1.8" (my computer) to top of /etc/resolv.conf and do "host laptop.w530" I get 192.168.1.105 - so seems to be working. The canonical DNS testing tool is dig.

Re: [CentOS] Run as root on reboot

2020-10-28 Thread Kenneth Porter
--On Wednesday, October 28, 2020 5:34 PM -0700 david wrote: During initial setup, I'd like to avoid the manual actions of logging on as root and executing a command, but instead have that command run without intervention. "During initial setup" is vague. Lots of stuff happens during startup.

Re: [CentOS] Centos 7 + PHP7.2 - variables_order not working

2020-10-27 Thread Kenneth Porter
--On Tuesday, October 27, 2020 12:54 PM + Gary Stainburn wrote: I've just moved my site onto a new box and I'm having a real problem  with $_REQUEST.  The variables_order  and request_order values are not being respected. I glanced at the documentation for that directive and there seems

Re: [CentOS] UID/GID CentOS 6 to CentOS 7

2020-10-22 Thread Kenneth Porter
On 10/22/2020 6:06 AM, Simon Matter wrote: In the end I decided to rearrange all users to new UIDs/GIDs and converted all storage with a script. I'm rsyncing to an RH8 box for backup (it will eventually become the production box), and rsync maintains usernames even when the numeric IDs are

Re: [CentOS] ::1 in /var/log/httpd/access_log on CentOS 7

2020-10-13 Thread Kenneth Porter
On 10/13/2020 8:48 AM, Jerry Geis wrote: I see "MANY" of these ::1 - - [13/Oct/2020:10:46:08 -0500] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 (internal dummy connection)" in the log file. This is not me connecting as ::1 is localhost. What is

Re: [CentOS] Mail server troubles

2020-10-09 Thread Kenneth Porter
--On Friday, October 09, 2020 6:29 PM +1300 Rob Kampen wrote: If this reject is due to their spam filtering process, it is actually the email author's problem - how they make up their sentences, key words etc. and thus the problem will travel with them, to whatever email provider they choose.

Re: [CentOS] Mail server troubles

2020-10-09 Thread Kenneth Porter
--On Friday, October 09, 2020 12:49 AM +0200 Nicolas Kovacs wrote: This is probably a bit OT, but here goes. I suggest subscribing to the Mailop list and then looking at the archives. Very low traffic, comparable to the CentOS users list.

Re: [CentOS] Viewing changelog for packages to be updated

2020-10-06 Thread Kenneth Porter
On 10/6/2020 4:41 AM, Simon Matter wrote: Therefore I've made 'pkgchangelog' which generates changelogs like the one shown below. It's available here: http://www.invoca.ch/pub/packages/pkgmonitor/public/pkgchangelog Very nice! I think I'll integrate this into my daily yum job that downloads

Re: [CentOS] Drive failed in 4-drive md RAID 10

2020-09-19 Thread Kenneth Porter
--On Friday, September 18, 2020 10:53 PM +0200 Simon Matter wrote: mdadm --remove /dev/md127 /dev/sdf1 and then the same with --add should hotremove and add dev device again. If it rebuilds fine it may again work for a long time. This worked like a charm. When I added it back, it told me

Re: [CentOS] Drive failed in 4-drive md RAID 10

2020-09-18 Thread Kenneth Porter
--On Friday, September 18, 2020 10:53 PM +0200 Simon Matter wrote: mdadm --remove /dev/md127 /dev/sdf1 and then the same with --add should hotremove and add dev device again. If it rebuilds fine it may again work for a long time. Thanks. That reminds me: If I need to replace it, is there

[CentOS] Drive failed in 4-drive md RAID 10

2020-09-18 Thread Kenneth Porter
I got the email that a drive in my 4-drive RAID10 setup failed. What are my options? Drives are WD1000FYPS (Western Digital 1 TB 3.5" SATA). mdadm.conf: # mdadm.conf written out by anaconda MAILADDR root AUTO +imsm +1.x -all ARRAY /dev/md/root level=raid10 num-devices=4

Re: [CentOS] Conversion from Centos 5 to Centos 7 & mailx changes

2020-09-04 Thread Kenneth Porter
--On Friday, September 04, 2020 3:58 PM -0500 "Gregory P. Ennis" wrote: On Centos 7 the headers contain 'Content-Transfer-Encoding: base64' and when the client gets the e-mail they are unable to open it up. That sounds like a broken client that needs to be updated. What kind of client?

[CentOS] Viewing changelog for packages to be updated

2020-08-26 Thread Kenneth Porter
Is there some way to see the RPM changelog entries for a prospective yum update? Ideally I'd like to see just the entries that are newer than the version of the package I already have. I saw a new kernel in today's yum-cron email and I'd like to know what it's about and how urgent the issue

Re: [CentOS] Fixing grub/shim issue Centos 7

2020-08-06 Thread Kenneth Porter
On 8/6/2020 7:25 AM, Simon Matter via CentOS wrote: The only real solution I can think of to prevent this would be to make preview versions of updates available to the public so that a lot of people can test them on their hardware, hopefully spare hardware, and give feedback. A practical

Re: [CentOS] Centos 7 shim fix failed

2020-08-05 Thread Kenneth Porter
On 8/4/2020 11:20 AM, Jonathan Billings wrote: Running transaction Installing : kernel-3.10.0-1127.el7.x86_64 1/1 at which point the process appeared to hang. No further output happened for five minutes. I opened a different terminal and entered "shutdown -r now". The result is an

Re: [CentOS] Boot failed on latest CentOS 7 update

2020-08-01 Thread Kenneth Porter
Another ZDNet story on the issue: https://www.zdnet.com/article/red-hat-enterprise-linux-runs-into-boothole-patch-trouble/ ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Iptables rules not working

2020-07-16 Thread Kenneth Porter
--On Friday, July 17, 2020 6:43 AM +0530 Kaushal Shriyan wrote: Please refer to my pastebin link https://paste.centos.org/view/cd55a9a6. Basically I want to allow the below mentioned ruleset on the server (CentOS Linux release 8.2.2004 (Core)) and drop the rest of the network traffic from

Re: [CentOS] Iptables rules not working

2020-07-16 Thread Kenneth Porter
--On Thursday, July 16, 2020 10:41 PM +0530 Kaushal Shriyan wrote: I have run the below command but I am still able to connect from the internet. Do I need to add any drop traffic policy using nft? A single rule doesn't tell us enough. Dump the entire firewall to a pastebin and post the

Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread Kenneth Porter
Check the voltages on your adapter. I use such adapters in the machine shop so machinists can share the CNC programs they write on a PC with their CNC controllers. The CNC controllers can be fussy about voltages, and some cheap RS232-USB adapters only generate +/-5vdc. It's within the RS232

Re: [CentOS] firewall help request (solved)

2020-06-16 Thread Kenneth Porter
--On Tuesday, June 16, 2020 5:20 PM -0700 david wrote: If someone can suggest a firewall-cmd equivalent, it would be nice. Alas, firewalld is targeted at end nodes and doesn't really provide much facility for routers. Its big advantage there is in setting up a reasonable default firewall

Re: [CentOS] firewall help request

2020-06-16 Thread Kenneth Porter
The rule is in the wrong chain. The INPUT chain affects packets that terminate at the same machine. You want to block packets that will be passed on to the Internet, so your rule needs to be in the FORWARD chain. (The OUTPUT chain affects packets that originate at your machine.) Here's a nice

  1   2   3   4   5   >