Re: ipset-service save fails when module compiled into kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 9/15/2018 11:30 AM, Mark Milhollan wrote:
Likely the check is there to avoid an abort when the commands are issued
but w/o the feature present.  So customize the script -- it sounds like
you found the one that's at fault.
Yeah, but the script will get overwritten the next time I yum update 
that package.
Looking more closely at the script, it's just issuing "ipset save" and 
dumping the output into /etc/sysconfig/ipset, after backing up any 
previous configuration. So it's easy enough to just do that and ignore 
the script. Curiously, the start() function in the script doesn't load 
the ipset module or check that it's loaded. Only the stop() and save() 
functions check. Seems inconsistent. I'll have to ask the package 
maintainer why they're doing it that way.
Meanwhile I bit the bullet and switched to the stock CentOS 7 kernel by 
selecting GRUB2 from the Linode boot menu. It took a few reboots to get 
it right. It had to relabel the filesystem as the Linode kernel lacks 
SELinux and I had to run the utility to rebuild the GRUB menu. (Linode 
had already written its required modifications to the GRUB config files.)
https://www.linode.com/docs/platform/manager/how-to-change-your-linodes-kernel/

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux