Re: [CentOS] IUS not pulling latest PHP packages

2023-05-26 Thread Anand Buddhdev
On 26/05/2023 12:50, Kaushal Shriyan wrote: Hello Kaushal, Hi, I am running CentOS Linux release 7.9.2009 (Core) and have enabled both epel and ius repository - ius-release-2-1.el7.ius.noarch - epel-release-7-14.noarch IUS not pulling the latest PHP packages. I have ran yum clean

Re: [CentOS] failed: Could not start storage pool: cannot open directory: ... No such file or directory

2023-01-14 Thread Anand Buddhdev
On 14/01/2023 13:38, Kaushal Shriyan wrote: Kaushal, You keep asking questions here, but I haven't seen you thank anyone so far. All the people trying to help you here do this in their own time, and don't get paid for it. You would do well to show some gratitude. Coming to your issue. You

Re: [CentOS] failed: Could not start storage pool: cannot open directory: ... No such file or directory

2023-01-13 Thread Anand Buddhdev
On 13/01/2023 18:50, Kaushal Shriyan wrote: Hi Kaushal, virt-install --name demoreactui --ram 8096 --disk path=/linuxkvmguestosdisk/demoreactui.img,size=20 --vcpus 2 --os-variant ubuntu20.04 --network bridge=br0 --graphics none --console pty,target_type=serial --location

Re: [CentOS] Installing multiple rpm binary files using yum or dnf package manager.

2022-12-27 Thread Anand Buddhdev
On 27/12/2022 14:52, Kaushal Shriyan wrote: Hi Kaushal, I am running CentOS Linux release 7.9.2009 (Core) and have a few rpms inside a specific folder. I know it is possible using rpm command to install multiple rpm binary files using the below command. #cd rpmbinaries #rpm -ivh *.rpm Is

[CentOS] Fedora EPEL vs Oracle EPEL

2022-09-08 Thread Anand Buddhdev
Hi folks, Are there any Oracle Linux users here? What are you doing with EPEL? Do you use Fedora EPEL, or Oracle EPEL? What are your reasons for using one or the other? I am aware that these two repos are quite similar, but not identical. Regards, Anand

Re: [CentOS] building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core).

2022-05-07 Thread Anand Buddhdev
On 07/05/2022 16:04, Kaushal Shriyan wrote: Hi Kaushal, # rpm -qil nginx-mod-devel-1.20.1-9.el7.x86_64 | grep nginx.h /usr/src/nginx-1.20.1-9.el7/src/core/nginx.h # ll /usr/src/nginx-1.20.1-9.el7/src/core/nginx.h -rw-r--r-- 1 root root 476 May 25 2021

Re: [CentOS] building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core).

2022-05-07 Thread Anand Buddhdev
On 07/05/2022 15:01, Kaushal Shriyan wrote: Hi Kaushal, #gcc -o ngx_cache_purge_module ngx_cache_purge_module.c ngx_cache_purge_module.c:30:19: fatal error: nginx.h: No such file or directory #include ^ compilation terminated. # yum search nginx-devel Try "yum search

Re: [CentOS] CentOS Linux Notifications for any changes in files or folders

2022-04-26 Thread Anand Buddhdev
On 26/04/2022 21:05, Kaushal Shriyan wrote: Hi Kaushal, Thanks for sharing the link https://www.unixmen.com/how-to-monitor-filesystem-events-with-incron/. However I am receiving multiple emails (more than 1 email) while accessing the /var/www/html/prodsys.cert file. Am i missing something as

Re: [CentOS] Apache APISIX on CentOS Linux release 7.9.2009 (Core)

2022-04-14 Thread Anand Buddhdev
On 14/04/2022 20:03, Kaushal Shriyan wrote: Kaushal, [root@]#journalctl -u apisix.service Apr 14 23:29:42 apacheapisixapigateway apisix[1798]: /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua start Apr 14 23:29:42 apacheapisixapigateway apisix[1798]: etcd cluster version 3.3.0 is

Re: [CentOS] email address

2021-12-07 Thread Anand Buddhdev
On 07/12/2021 14:46, Wells, Roger K. [US-US] via CentOS wrote: Hi Roger, How to change email address for this list? current: roger.k.we...@leidos.com change to: roger.k.we...@alum.mit.edu At the end of every message to the list, is a link to the mailman setup of this list. Start by

Re: [CentOS] Install OpenSSL 1.1.1 on CentOS Linux release 7.9.2009 (Core).

2021-11-09 Thread Anand Buddhdev
On 09/11/2021 18:30, Kaushal Shriyan wrote: Kaushal, #cd Python-3.10.0 #*./configure LDFLAGS="-L/usr/lib64/openssl11"* You really are making no effort to understand how to compile packages on Linux. Steve told you that you might need to use LDFLAGS, but it is not the only option you have

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

2021-09-06 Thread Anand Buddhdev
On 06/09/2021 19:35, Kaushal Shriyan wrote: Hi Kaushal, > I am running CentOS Linux release 7.9.2009 (Core). Is there a way to find > out which process consumed network bandwidth during a specific time period? > > For example, the Nginx process consumed how much network traffic on Sept > 01,

Re: [CentOS] Application migration

2021-09-01 Thread Anand Buddhdev
On 01/09/2021 11:24, Mark Woolfson wrote: Hi Mark, > Please can you give me an idea of the migration complexity of moving the > applications from 6.4/6.6 to 7.4 or any variant of 7. This is a very vague question. It's like asking "I have an old car. Can you please tell me if I can drive it on

Re: [CentOS] Git 2.23 or later

2021-08-23 Thread Anand Buddhdev
On 23/08/2021 20:00, H wrote: Hi H, > The latest version of git for C7 is 1.8.3 and in SCL it's 2.18 > although the repository claims 2.9 is also available. I am looking to > upgrade to 2.23 since i need the --no-overlay option. Is anyone running > this version (or later)? If so, from which

Re: [CentOS] Minimising a CentOS installation

2021-08-20 Thread Anand Buddhdev
On 21/08/2021 01:34, Warren Young wrote: > Our post-install removal command here is: > > dnf -y remove cockpit* pcp* These aren't present in a minimal CentOS 8 installation. ___ CentOS mailing list CentOS@centos.org

[CentOS] Minimising a CentOS installation

2021-08-20 Thread Anand Buddhdev
Hi folks, After doing a minimal CentOS 8.4 installation, I found the following packages to be useful for a simple server, so I removed them: cronie-anacron (replaced with cronie-noanacron) alsa-firmware ivtv-firmware iwl*-firmware sssd-common (along with all packages that depended on it) What

Re: [CentOS] Check network activity per process.

2021-06-03 Thread Anand Buddhdev
On 03/06/2021 03:44, Kaushal Shriyan wrote: Hi Kaushal, The atoptool web page clearly explains how atop, netatopd and the netatop kernel module interact. Have you even read the web page? Please read it first, and then ask a more specific question. Don't leave all the research work to other

Re: [CentOS] ansible dnf with stream

2020-12-25 Thread Anand Buddhdev
On 25/12/2020 11:30, Łukasz Posadowski wrote: Hi Lukasz, > The task in question is: > > - name: Install basic packages on RedHat-like systems. > dnf: > name: > - bash-completion > - htop > - mc > - vim > - mtr > - tree > - net-tools >

Re: [CentOS] Off Topic bash question

2020-07-23 Thread Anand Buddhdev
On 23/07/2020 16:37, Jerry Geis wrote: Thanks, when I change it do the following I get a syntax error #!/bin/bash # while read LINE do echo $LINE done < cat list.txt You don't use "cat" here; it's not needed at all. You write: done < list.txt This tells the shell to redirect the

Re: [CentOS] Off Topic bash question

2020-07-23 Thread Anand Buddhdev
On 23/07/2020 15:46, Jerry Geis wrote: Hi Jerry, You can do even better: index=0 total=0 names=() ip=() IFS=, while read -r NODENAME IP do names[$index]="$NODENAME" ip[$((index++))]="$IP" ((total++)) done < list.txt In this example, you set the input field separator (IFS) to the

Re: [CentOS] Off Topic bash question

2020-07-23 Thread Anand Buddhdev
On 23/07/2020 15:46, Jerry Geis wrote: Hi Jerry, See below, inline, for some comments. I have a simple script: #!/bin/bash # index=0 total=0 names=() ip=() while read -r LINE do NODENAME=` echo $LINE | cut -f 1 -d ','` NODENAME=$(cut -d, -f1 <<< $LINE) Notes: use $( instead of backticks.

Re: [CentOS] Unable to find the used space

2020-06-29 Thread Anand Buddhdev
ocesses, or reboot the server. Regards, Anand Buddhdev On 29/06/2020 11:51, Sachchidanand Upadhyay via CentOS wrote: Hi, While checking with df -h, it's showing the used space is 94% on root (/). If checked with du -sh, it's not showing the used space. # df -h Filesystem Size Used Avail U

Re: [CentOS] looking for ideas about how to create a constant data stream

2020-05-30 Thread Anand Buddhdev
On 30/05/2020 12:32, h...@gc-24.de wrote: Hi hw, I'm looking for a good way to create a constant data stream that will occupy a bandwidth of about 2--5Mbit/sec between two remote hosts over the internet. I have full access to the hosts involved. My first attempt to use scp to copy data from

Re: [CentOS] Chrony

2020-05-08 Thread Anand Buddhdev
our chrony selected it, all point to the fact the NTP server is in fact, close to you. Regards, Anand Buddhdev ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Netfilter fails to filter traffic from a netblock?

2020-04-19 Thread Anand Buddhdev
On 19/04/2020 15:30, Jeffrey Walton wrote: > Ugh, thanks. I did not realize the changes were only temporary. > > What is the recommended way to permanently add a ban rule? On CentOS 7, the default firewall is "firewalld", and you can configure it with "firewall-cmd". You can use it to add

Re: [CentOS] Netfilter fails to filter traffic from a netblock?

2020-04-19 Thread Anand Buddhdev
On 19/04/2020 14:58, Jeffrey Walton wrote: Hi Jeffrey, > The offending host is 59.64.129.175. To err on the side of caution we > attempted to block the entire netblock. According to whois data, > that's 59.64.128.0-59.64.159.255. > > iptables -A INPUT -s 59.64.128.0/19 -p TCP -j DROP > >

Re: [CentOS] From network-scripts to NetworkManager on a router : questions

2020-02-18 Thread Anand Buddhdev
On 18/02/2020 16:37, Nicolas Kovacs wrote: > I can't do that anymore, because /etc/resolv.conf gets squashed by > NetworkManager. If I don't fill in DNS information for the interfaces, > then all I get is an empty "#Generated by NetworkManager" line. Oh yes. Are you still sure you want to use

Re: [CentOS] From network-scripts to NetworkManager on a router : questions

2020-02-18 Thread Anand Buddhdev
On 18/02/2020 12:00, Nicolas Kovacs wrote: Hi Nicolas, > I'm using NetworkManager TUI (nmtui) to configure my connections. I'm > defining two profiles WAN (enp1s0) and LAN (enp2s0). With NetworkManager > I have to configure gateway and DNS information on a per-interface basis. > > 1. Which

Re: [CentOS] NetworkManager on servers

2020-02-10 Thread Anand Buddhdev
On 09/02/2020 23:55, Nicolas Kovacs wrote: Hi Nicolas, [snip] > Maybe there's a reason to make NetworkManager more or less mandatory > from now on, but I don't see it. So I thought I'd rather ask on this list. Like you, I read about NetworkManager becoming the default tool for CentOS 8. So I

[CentOS] CentOS 8 creates /boot with ext4

2019-09-27 Thread Anand Buddhdev
I just installed CentOS 8 in a VirtualBox VM, to explore it. Immediately, I noticed something strange. I insatlled it using a kickstart file, whose partitioning section is this: zerombr clearpart --all --initlabel reqpart --add-boot part pv.01 --ondisk=/dev/sda --size=1 --grow volgroup vg01 pv.01

Re: [CentOS] CentOS 7.6.1810 UEFI/Shim issue .. feedback wanted !

2018-12-06 Thread Anand Buddhdev
Hi Fabian, I was affected by this. After an update, one Dell R710 server that I maintain, failed to boot. The error I saw was the same as someone else who also posted here. I didn't know how to fix it, and needed the server to be running, so I just reinstalled it, and switched to biosboot while

Re: [CentOS] CONFIG_RTC_SYSTOHC not set for CentOS kernels

2018-11-15 Thread Anand Buddhdev
On 15/11/2018 18:09, Phil Perry wrote: Hi Phil, >> Does anyone know why this option is not enabled for CentOS kernels? > > Because it is not enabled on RHEL kernels. Heh, okay, that's an easy explanation. I'll try to open a bug report in RedHat's bugzilla, and see if they give me any

[CentOS] CONFIG_RTC_SYSTOHC not set for CentOS kernels

2018-11-15 Thread Anand Buddhdev
Hi folks, RHEL 7 documentation says that if either ntp or chrony is running on a system, then it will enable the kernel feature to sync system time to the hardware clock every 11 minutes. This needs the CONFIG_RTC_SYSTOHC option to be set. However, it looks like this option is not set for CentOS

Re: [CentOS] RHEL 7.6 released

2018-10-31 Thread Anand Buddhdev
On 31/10/2018 06:47, Turritopsis Dohrnii Teo En Ming wrote: > I am eagerly waiting to download CentOS 7.6 as well. I am still > seeing CentOS 7.5 on CentOS download mirrors in my region, Singapore. It'll take some time for CentOS to rebuild all the packages, probably 4-6 weeks. You'll have to be

Re: [CentOS] Issue with latest update of CentOS6

2018-10-11 Thread Anand Buddhdev
Earlier today, at 16:00 UTC, a new key was used to sign the root zone DNSKEY RRset. It's a major event in the DNS world, that you appear to have missed completely: https://www.icann.org/resources/pages/ksk-rollover You'll probably need to load the new trust anchor into your validating resolvers.

Re: [CentOS] Need help with Linux networking interfaces and NIC bonding

2018-10-04 Thread Anand Buddhdev
On 04/10/2018 07:44, Sean Son wrote: Hi Sean, [snip] > 1) Whenever I ping any of the devices on our network, from this server, the > traffic goes out from the management port. I do not want the traffic to go > out of the management port. I want it to go out through the active port of > the NIC

Re: [CentOS] Simple bash question

2018-09-28 Thread Anand Buddhdev
On 28/09/2018 15:39, Jerry Geis wrote: > I am calling a bash script and passing in somestring that includes a "$" > > myscript "$plusmore" > > I want to assign in the myscript the $1 arg to something like > MYTEXT="$1" > > when I do that I dont get what I'm expecting. if I do > MYTEXT='$1' >

Re: [CentOS] Bash question

2018-07-06 Thread Anand Buddhdev
On 06/07/2018 15:18, Jerry Geis wrote: > MSG="file 2" > MSG="csv \"$MSG\"" > echo $MSG > /opt/libreoffice5.4/program/soffice.bin --headless --convert-to $MSG This is a really convoluted way of doing things, and you'd have to be a super expert in quoting to get this right. Instead, why don't you

Re: [CentOS] upgrade 7.4 --> 7.5: dbus broken

2018-07-05 Thread Anand Buddhdev
On 05/07/2018 14:18, Jonathan Billings wrote: > The /var/run symlink to /run is part of the 'filesystem' package, and > has existed as a symlink since 7.0.1406 was released: > > $ rpmls -l > http://vault.centos.org/7.0.1406/os/x86_64/Packages/filesystem-3.2-18.el7.x86_64.rpm > |grep /var/run >

Re: [CentOS] kernel-lt from ELRepo vs. GRUB: define default boot kernel

2018-05-16 Thread Anand Buddhdev
On 16/05/2018 12:10, Nicolas Kovacs wrote: Bonjour Nicolas! > So right now I have two kernels on my machine, the 4.4.129 and the > 4.4.131. How do I configure GRUB so that on the next reboot, it defaults > to the 4.4.131 kernel? I knew how to do this with LILO under Slackware, > but GRUB is a

Re: [CentOS] /var/run/... being deleted :((

2017-10-13 Thread Anand Buddhdev
On 13/10/2017 18:45, Lamar Owen wrote: Hi Lamar, [snip] I do appreciate your humour :) > Anyway, a form of pseudo-persistence that meets the OP's needs is > already supported directly by systemd-tmpfiles, which is a part of the > core systemd package and non-optional, so your vehement

Re: [CentOS] /var/run/... being deleted :((

2017-10-13 Thread Anand Buddhdev
On 13/10/2017 16:02, Michael Hennebry wrote: Hi Michael, > I see at least two possible intermediate results: > The RHEL 7 folks do something, perhaps make a package, > to make pseudo-persistence super easy to get. > The RHEL 7 folks do something, perhaps make a package, > to allow users to fix

Re: [CentOS] how to prevent files and directories from being deleted?

2017-10-09 Thread Anand Buddhdev
On 09/10/2017 13:54, hw wrote: Mark, > It is quite obvious that Centos causes issues because it is not > following the FHS. Stop right there. CentOS *is* following the FHS. Can you please stop this whiny complaint against CentOS, and just accept that the packages you're using are not properly

Re: [CentOS] how to prevent files and directories from being deleted?

2017-10-09 Thread Anand Buddhdev
On 09/10/2017 12:38, hw wrote: >> 4. Finally, if you as a sysadmin are using a package from a repo that >> isn't CentOS or EPEL, and this package is not following the CentOS >> packaging protocol for data in /run, then it is YOUR own responsibility >> to fix the package, or create your own

Re: [CentOS] how to prevent files and directories from being deleted?

2017-10-05 Thread Anand Buddhdev
On 05/10/2017 11:32, hw wrote: >> That directory isn't temporary. The files almost always are, but not >> the directories. As I said, whatever it is you're doing, it's wrong. >> I wouldn't continue to keep a setup like that as it's not standard >> practice to keep data in /var/run that isn't

Re: [CentOS] how to prevent files and directories from being deleted?

2017-10-04 Thread Anand Buddhdev
On 04/10/2017 10:58, Gary Stainburn wrote: > On Wednesday 04 October 2017 09:53:59 Gary Stainburn wrote: >> I saw reference to system-tmpfs in Paul's post so I had a quick look. YUM >> doesn't seem to know about it, but I'm sure Google will help. > > Sorry, meant systemd-tmpfiles On a CentOS 7

Re: [CentOS] how to prevent files and directories from being deleted?

2017-10-04 Thread Anand Buddhdev
On 04/10/2017 10:23, Gary Stainburn wrote: Hi Gary, > Mark, Many Non-Centos originated packages create directories in /var/run as > part of the install, and expect them to still exist after a reboot. Those packages have been built poorly. > They then fail when starting the service because

Re: [CentOS] BIND 9.9 RRL

2017-08-10 Thread Anand Buddhdev
On 10/08/2017 21:00, Mark Haney wrote: > I can't seem to find anything clear on this, but is the C7 version of > BIND 9.9 built with Request Rate Limiting? Run "named -V" and it will output the features it was compiled with. See if RRL is in there. Regards, Anand

Re: [CentOS] yum install does not downgrade

2017-06-02 Thread Anand Buddhdev
On 01/06/2017 22:29, Tate Belden wrote: > Use the 'downgrade' option. Thanks Tate. I know the "downgrade" option well. I wouldn't have posted my question if it were that simple. As I said previously, we use ansible, and its "yum" module invokes: yum install package-version-release I expect

[CentOS] yum install does not downgrade

2017-06-01 Thread Anand Buddhdev
We're using ansible to configure our CentOS 6 servers, and we have a task to install a specific version of a package: - name: install thrift2 yum: name=ripencc-thrift2-{{ version }} In this ansible task, the "version" variable is set by the operator. When we want to upgrade, it works. But

Re: [CentOS] Hint for nslookup wanted ...

2016-10-11 Thread Anand Buddhdev
On 11/10/16 15:23, Richard Mann wrote: > Did your google break? > > For just IPv6 > nslookup -type= www.example.com > > For all records > nslookup -type=any www.example.com This is bad advice, because in DNS, ANY != ALL If you query with qtype=any, and you ask a caching resolver, then

Re: [CentOS] Loaded: not-found (Reason: No such file or directory)

2016-08-29 Thread Anand Buddhdev
On 29/08/16 13:07, Kaushal Shriyan wrote: Hi Kaushal, > I am seeing the below issue. > > [user~]# systemctl list-unit-files | grep nrpe > [user~]# service nrpe status > Redirecting to /bin/systemctl status nrpe.service > ● nrpe.service > * Loaded: not-found (Reason: No such file or

Re: [CentOS] BIND (named) as secondary and .jnl files

2016-08-28 Thread Anand Buddhdev
On 28/08/16 19:42, Walter H. wrote: Hi Walter, > I have two running BINDs in my LAN, one on my router box and one as VM; > both are caching DNS servers, and a few zones are on both, on the box as > master and on the VM as slave, > but how can I cleanup/flush the growing .jnl files; By default,

Re: [CentOS] tcpdump loses lots of packets

2016-08-14 Thread Anand Buddhdev
On 14/08/16 12:20, Anand Buddhdev wrote: Hi folks, I've discovered something. See below: > The packet rate is also not that high. From the sending side, this is > what I have: > > # tcpreplay -i qtx:p1p1 5min.pcap If I send packets without qtx, like this: tcpreplay -i p1

[CentOS] tcpdump loses lots of packets

2016-08-14 Thread Anand Buddhdev
Hi folks, I've got a Dell R320 running CentOS 7, and a 10G NIC. I'm running a DNS server on it, for testing. As part of my testing, I'm attempting to capture all the DNS queries arriving on the server, using tcpdump. However, tcpdump's performance is abysmal, and it loses lots of the packets.

[CentOS] pam_sss fails to close cache files

2016-06-03 Thread Anand Buddhdev
Dear folks, After updating some of our servers to CentOS 6.8, we've noticed that the ones using pam_sss.so for authentication, appear to be suffering from a leak of sorts. On these systems, the /var partition is running out of disk space, and we eventually noticed that it's because of deleted,

[CentOS] RPM perl requirements woes

2016-05-12 Thread Anand Buddhdev
Dear CentOS hive mind, I'm trying to package up a perl module into an RPM for easy deployment. I want it to be as self-contained as possible (to avoid version issues with perl modules in base or EPEL). So in my spec file, I'm doing: curl -L http://cpanmin.us | perl - App::cpanminus -L

[CentOS] 7.2 installer says "/dev/root does not exist"

2016-04-13 Thread Anand Buddhdev
Hi folks, I have an existing CentOS 7.2 system, that I want to re-install. I copied /vmlinuz and /initrd.img into /boot, place my kickstart file into /boot, and created a grub2 menu entry for this, as follows: menuentry "Install CentOS 7" { insmod gzio insmod part_gpt insmod xfs

Re: [CentOS] Discarding empty lines in rsyslog

2016-02-29 Thread Anand Buddhdev
On 29/02/16 15:59, Anand Buddhdev wrote: > This works. However, the program sometimes produces blank lines its > output, and they get logged by rsyslog as well. I want to make rsyslog > ignore empty lines. I am trying the following, but it doesn't work: > > if $programname == 'pro

[CentOS] Discarding empty lines in rsyslog

2016-02-29 Thread Anand Buddhdev
Dear CentOS folk, I've been try to solve one issue with rsyslog on CentOS 6, but can't figure it out. I've searched through rsyslog documentation, and used Google but not found anything that matches my issue. I'm sending output of a program to rsyslog using "logger -t progname". I've got the

Re: [CentOS] 7.2: Problem with upgrade and pdns

2016-01-30 Thread Anand Buddhdev
Hello Kai, I believe the PowerDNS package in EPEL 7 is currently broken. The PowerDNS twitter feed had this a few days ago: https://twitter.com/powerdns/status/692660687403925504 Please wait until after the weekend for updated packages. Regards, Anand On 30/01/16 14:12, Kai Bojens wrote: >

Re: [CentOS] Old and new package version numbers during RPM update

2015-06-28 Thread Anand Buddhdev
On 28/06/15 03:06, Joseph L. Casale wrote: Hi Joseph, Well normal convention would be if you replace then the old one gets appended with .rpmsave, if you are not replacing then the new one gets appended with .rpmnew. I'm also aware of this, but it's not what I need :) On the other hand,

Re: [CentOS] Old and new package version numbers during RPM update

2015-06-28 Thread Anand Buddhdev
On 28/06/15 17:50, John R Pierce wrote: On 6/27/2015 5:38 PM, Anand Buddhdev wrote: Thanks Joseph. I am aware of this option, but it would be only a last resort, because checking the format of the config file is error-prone. why doesn't the config file have the version in it ? not having

Re: [CentOS] Old and new package version numbers during RPM update

2015-06-28 Thread Anand Buddhdev
On 29/06/15 01:07, Kahlil Hodgson wrote: On 29 June 2015 at 07:37, John R Pierce pie...@hogranch.com wrote: so a regex looking for system: vs system { should nicely delineate these. I dunno, I might even put that into the conversion utility and have it just quit if the file is already

Re: [CentOS] Old and new package version numbers during RPM update

2015-06-27 Thread Anand Buddhdev
On 28/06/15 02:17, Joseph L. Casale wrote: Your script within the rpm should have the logic. Clearly if you know how to update it, you know how to identify if it needs updating. Thanks Joseph. I am aware of this option, but it would be only a last resort, because checking the format of the

[CentOS] Old and new package version numbers during RPM update

2015-06-27 Thread Anand Buddhdev
Hi CentOS folk, In an RPM post-install script, is it possible to know the previous version number, and the new version number of a package if it's an update? I need to know this, because for a certain package, if updating from version 1.x to 2.x, I need to run a program to convert the config

[CentOS] Static linking against glibc

2007-06-25 Thread Anand Buddhdev
? If they do, then it introduces dependencies that I may not be aware of, and doing static linking wouldn't be as beneficial as I first thought it would be. Comments from experienced developers will be most appreciated. -- Anand Buddhdev ___ CentOS mailing