Re: KVM VM's disappeared
On 07/09/2012 09:35 PM, Nico Kadel-Garcia wrote: On Mon, Jul 9, 2012 at 6:59 PM, Todd And Margo Chester toddandma...@gmail.com wrote: The both of you called it. It did not know I got updated in the background. I should have been suspicious when my stink' flash-plugin mysteriously got updated. Larry's pointing me to /var/log/yum.log was a light bulb moment. The following fixed my problem: # yum downgrade libvirt libvirt-client libvirt-python Loaded plugins: priorities, refresh-packagekit, security Setting up Downgrade Process 18 packages excluded due to repository priority protections You might also consider disabling SELinux, if the machine is behind reasonable firewalls. SELinux has been a *disaster* in system security, costing far more wasted productivity and engineering resources than many of active worms or attack vectors of the Linux world, most of which it does not really help with. (Bad PHP is bad PHP, and SELinux does not necessarily help at all.) You called that. I had to turn selinux off ages ago as it foo bars Samba. Selinux is a good idea that never made it to the practical phase. And, I wrote/configured my own firewall: all things are illegal, except those things that are legal. It is really nasty. You want in or out, you have to have a rule. Even troubleshoots your network setup (won't work unless it sees what it wants). -T
Re: KVM VM's disappeared
On Tue, Jul 10, 2012 at 6:35 AM, Nico Kadel-Garcia nka...@gmail.com wrote: You might also consider disabling SELinux, if the machine is behind reasonable firewalls. SELinux has been a *disaster* in system security, costing far more wasted productivity and engineering resources than many of active worms or attack vectors of the Linux world, most of which it does not really help with. (Bad PHP is bad PHP, and SELinux does not necessarily help at all.) let's agree to disagree on this one :-) I have not had major issues since ... fedora 8? It is true that selinux is a new tool and thus not so well understood by plenty of people, but I quite like it. It is quite simple once you take the time to learn it (like everything in life) and we routinely deploy settings from cfengine for it. -- groet, natxo
Re: KVM VM's disappeared
On Tue, Jul 10, 2012 at 2:28 AM, Natxo Asenjo natxo.ase...@gmail.com wrote: On Tue, Jul 10, 2012 at 6:35 AM, Nico Kadel-Garcia nka...@gmail.com wrote: You might also consider disabling SELinux, if the machine is behind reasonable firewalls. SELinux has been a *disaster* in system security, costing far more wasted productivity and engineering resources than many of active worms or attack vectors of the Linux world, most of which it does not really help with. (Bad PHP is bad PHP, and SELinux does not necessarily help at all.) let's agree to disagree on this one :-) It's a different subject, and could be worth some time. For some reason, every Linux architect I've worked with, for over a decade, has decided on their own, decide to try to re-invent the File System Hierarchy from scratch. They each pick their own unique top level directory and litter it with their own special layouts, They won't use /usr/local, they won't use /opt, they fairly randomly re-assign what would be /etc directory contents or locations of /log, and do not get me *started* on all the various ways people lay out JBoss and its components. The results are predictably unfortunate interacting with SELinux. And the system vulnerabilities are usually far greater from the we trust the people we work with problems of storing passwords in clear text, refusing to apply published patches, and refusing to sanitize inputs for exposed services. (Obligatory xkcd cartoon, little Bobby Drop Tables, http://xkcd.com/327/). I have not had major issues since ... fedora 8? I have not had had notable issues since. last Thursday. It is true that selinux is a new tool and thus not so well understood by plenty of people, but I quite like it. It is quite simple once you take the time to learn it (like everything in life) and we routinely deploy settings from cfengine for it. Unfortunately, I'm rarely in control of the deployment technology.: I'm too far into operations land to get the developer's testing environments to match production environments, and don't get me going on the randomization of functionality when the Java programmers start writing shell scripts. Interestingly, at SVNday in Berlin (an interesting Subversion conference), one company presented on completely relying on RPM for configuration management. Apache configurations and their Subversion source control integration to manage it. They included, locally built service tools, SSH configurations, all were hardcoded config files from RPM's that they could publish or replace on the fly. That could provide a workable SELinux managed environment, since the necessary ''%post installation steps could be well defined. -- groet, natxo
Error with 'irq_set_affinity_hint' while compiling compat-wireless
I have Atheros Ethernet (On Board) which is not detected by the SL 6.2 (Updated). Ethernet Details: [root@localhost compat-wireless-2012-03-12-p]# lspci | grep Ethernet 02:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0) After looking up various internet resources, I came across: http://www.linuxfoundation.org/collaborate/workgroups/networking/alx The site has the required drivers. I am going as per the instructions mentioned to compile and install the drivers, however I get the following error: [root@localhost compat-wireless-2012-03-12-p]# make make -C /lib/modules/2.6.32-220.23.1.el6.i686/build M=/home/sunhost/Downloads/compat-wireless-2012-03-12-p modules make[1]: Entering directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686' CC [M] /home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o In file included from /home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:55, from command-line:0: /home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:27: error: static declaration of ‘irq_set_affinity_hint’ follows non-static declaration include/linux/interrupt.h:218: note: previous declaration of ‘irq_set_affinity_hint’ was here make[3]: *** [/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o] Error 1 make[2]: *** [/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat] Error 2 make[1]: *** [_module_/home/sunhost/Downloads/compat-wireless-2012-03-12-p] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686' make: *** [modules] Error 2 I would be thankful for any help provided in resolving the issue. Thanks!
Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless
On 07/10/2012 07:59 AM, Freak Trick wrote: I have Atheros Ethernet (On Board) which is not detected by the SL 6.2 (Updated). Ethernet Details: [root@localhost compat-wireless-2012-03-12-p]# lspci | grep Ethernet 02:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0) After looking up various internet resources, I came across: http://www.linuxfoundation.org/collaborate/workgroups/networking/alx The site has the required drivers. I am going as per the instructions mentioned to compile and install the drivers, however I get the following error: [root@localhost compat-wireless-2012-03-12-p]# make make -C /lib/modules/2.6.32-220.23.1.el6.i686/build M=/home/sunhost/Downloads/compat-wireless-2012-03-12-p modules make[1]: Entering directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686' CC [M] /home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o In file included from /home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:55, from command-line:0: /home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:27: error: static declaration of ‘irq_set_affinity_hint’ follows non-static declaration include/linux/interrupt.h:218: note: previous declaration of ‘irq_set_affinity_hint’ was here make[3]: *** [/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o] Error 1 make[2]: *** [/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat] Error 2 make[1]: *** [_module_/home/sunhost/Downloads/compat-wireless-2012-03-12-p] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686' make: *** [modules] Error 2 I would be thankful for any help provided in resolving the issue. Thanks! You might want to try the various atl drivers from ELrepo (elrepo.org). They maintain current drivers for a lot of devices not generally supported by TUV. I think you'll want kmod-atl2. If you find that none of the ELrepo drivers work, it might be worth contacting them to get the correct one built and added to the repository. -Mark -- Mr. Mark V. Stodola Senior Control Systems Engineer National Electrostatics Corp. P.O. Box 620310 Middleton, WI 53562-0310 USA Phone: (608) 831-7600 Fax: (608) 831-9591
Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless
On 10/07/12 14:17, Mark Stodola wrote: On 07/10/2012 07:59 AM, Freak Trick wrote: I have Atheros Ethernet (On Board) which is not detected by the SL 6.2 (Updated). Ethernet Details: [root@localhost compat-wireless-2012-03-12-p]# lspci | grep Ethernet 02:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0) After looking up various internet resources, I came across: http://www.linuxfoundation.org/collaborate/workgroups/networking/alx The site has the required drivers. I am going as per the instructions mentioned to compile and install the drivers, however I get the following error: [root@localhost compat-wireless-2012-03-12-p]# make make -C /lib/modules/2.6.32-220.23.1.el6.i686/build M=/home/sunhost/Downloads/compat-wireless-2012-03-12-p modules make[1]: Entering directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686' CC [M] /home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o In file included from /home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:55, from command-line:0: /home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:27: error: static declaration of ‘irq_set_affinity_hint’ follows non-static declaration include/linux/interrupt.h:218: note: previous declaration of ‘irq_set_affinity_hint’ was here make[3]: *** [/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o] Error 1 make[2]: *** [/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat] Error 2 make[1]: *** [_module_/home/sunhost/Downloads/compat-wireless-2012-03-12-p] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686' make: *** [modules] Error 2 I would be thankful for any help provided in resolving the issue. Thanks! You might want to try the various atl drivers from ELrepo (elrepo.org). They maintain current drivers for a lot of devices not generally supported by TUV. I think you'll want kmod-atl2. If you find that none of the ELrepo drivers work, it might be worth contacting them to get the correct one built and added to the repository. -Mark I think the atl1c driver in kmod-compat-wireless might also support that device, but first we really need to see the vendor:device ID pairing to be able to advise further. Please post the output from the following command (note this is on one line): for BUSID in $(/sbin/lspci | awk '{ IGNORECASE=1 } /net/ { print $1 }'); do /sbin/lspci -s $BUSID -m; /sbin/lspci -s $BUSID -n; done
Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless
Thanks Mr. Mark! Your reply helped. Although there was no package kmod-atl2 in the elrepo, however installing kmod-atl1e from the same repo has enabled the system to detect the ethernet. Thanks, once again, for quick and effective response. From: Mark Stodola stod...@pelletron.com To: Freak Trick trickfr...@ymail.com Cc: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov Sent: Tuesday, 10 July 2012 6:47 PM Subject: Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless On 07/10/2012 07:59 AM, Freak Trick wrote: I have Atheros Ethernet (On Board) which is not detected by the SL 6.2 (Updated). Ethernet Details: [root@localhost compat-wireless-2012-03-12-p]# lspci | grep Ethernet 02:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0) After looking up various internet resources, I came across: http://www.linuxfoundation.org/collaborate/workgroups/networking/alx The site has the required drivers. I am going as per the instructions mentioned to compile and install the drivers, however I get the following error: [root@localhost compat-wireless-2012-03-12-p]# make make -C /lib/modules/2.6.32-220.23.1.el6.i686/build M=/home/sunhost/Downloads/compat-wireless-2012-03-12-p modules make[1]: Entering directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686' CC [M] /home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o In file included from /home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:55, from command-line:0: /home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:27: error: static declaration of ‘irq_set_affinity_hint’ follows non-static declaration include/linux/interrupt.h:218: note: previous declaration of ‘irq_set_affinity_hint’ was here make[3]: *** [/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o] Error 1 make[2]: *** [/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat] Error 2 make[1]: *** [_module_/home/sunhost/Downloads/compat-wireless-2012-03-12-p] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686' make: *** [modules] Error 2 I would be thankful for any help provided in resolving the issue. Thanks! You might want to try the various atl drivers from ELrepo (elrepo.org). They maintain current drivers for a lot of devices not generally supported by TUV. I think you'll want kmod-atl2. If you find that none of the ELrepo drivers work, it might be worth contacting them to get the correct one built and added to the repository. -Mark -- Mr. Mark V. Stodola Senior Control Systems Engineer National Electrostatics Corp. P.O. Box 620310 Middleton, WI 53562-0310 USA Phone: (608) 831-7600 Fax: (608) 831-9591
Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless
Hi Phil, As I noted in my earlier mail, the problem was resolved by installing atl1e driver from elrepo. Also, before that I had already tried with atl1c but it did not work. Just in case if you do require (for curiosity or better solution) here is the output from the command offered by yourself: 02:00.0 Ethernet controller Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet -rc0 Giga-byte Technology Device e000 03:01.0 Network controller Ralink corp. RT2500 Wireless 802.11bg -r01 Linksys WMP54G 2.0 PCI Adapter Thanks for your reply! From: Phil Perry p...@pendre.co.uk To: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov Sent: Tuesday, 10 July 2012 6:55 PM Subject: Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless On 10/07/12 14:17, Mark Stodola wrote: On 07/10/2012 07:59 AM, Freak Trick wrote: I have Atheros Ethernet (On Board) which is not detected by the SL 6.2 (Updated). Ethernet Details: [root@localhost compat-wireless-2012-03-12-p]# lspci | grep Ethernet 02:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0) After looking up various internet resources, I came across: http://www.linuxfoundation.org/collaborate/workgroups/networking/alx The site has the required drivers. I am going as per the instructions mentioned to compile and install the drivers, however I get the following error: [root@localhost compat-wireless-2012-03-12-p]# make make -C /lib/modules/2.6.32-220.23.1.el6.i686/build M=/home/sunhost/Downloads/compat-wireless-2012-03-12-p modules make[1]: Entering directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686' CC [M] /home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o In file included from /home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:55, from command-line:0: /home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:27: error: static declaration of ‘irq_set_affinity_hint’ follows non-static declaration include/linux/interrupt.h:218: note: previous declaration of ‘irq_set_affinity_hint’ was here make[3]: *** [/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o] Error 1 make[2]: *** [/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat] Error 2 make[1]: *** [_module_/home/sunhost/Downloads/compat-wireless-2012-03-12-p] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686' make: *** [modules] Error 2 I would be thankful for any help provided in resolving the issue. Thanks! You might want to try the various atl drivers from ELrepo (elrepo.org). They maintain current drivers for a lot of devices not generally supported by TUV. I think you'll want kmod-atl2. If you find that none of the ELrepo drivers work, it might be worth contacting them to get the correct one built and added to the repository. -Mark I think the atl1c driver in kmod-compat-wireless might also support that device, but first we really need to see the vendor:device ID pairing to be able to advise further. Please post the output from the following command (note this is on one line): for BUSID in $(/sbin/lspci | awk '{ IGNORECASE=1 } /net/ { print $1 }'); do /sbin/lspci -s $BUSID -m; /sbin/lspci -s $BUSID -n; done
Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless
On 10/07/12 15:40, Freak Trick wrote: Hi Phil, As I noted in my earlier mail, the problem was resolved by installing atl1e driver from elrepo. Also, before that I had already tried with atl1c but it did not work. Great, if that driver works then that is definitely the preferred driver for you and you can disregard my earlier suggestion :-) Just in case if you do require (for curiosity or better solution) here is the output from the command offered by yourself: 02:00.0 Ethernet controller Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet -rc0 Giga-byte Technology Device e000 03:01.0 Network controller Ralink corp. RT2500 Wireless 802.11bg -r01 Linksys WMP54G 2.0 PCI Adapter Thanks for your reply!
Re: how do I disable background updates?
On 07/09/2012 11:26 PM, Artifex Maximus wrote: On Tue, Jul 10, 2012 at 1:03 AM, Todd And Margo Chester toddandma...@gmail.com wrote: How do I turn off these background updates? From the header of file /etc/init.d/yum-autoupdate: Turn off service yum-autoupdate stop chkconfig --del yum-autoupdate Bye, a Hi Artifex, RPM says yum-autoupdate is installed: $ rpm -qa \*yum-auto\* yum-autoupdate-2-4.2.noarch But, it is not in init.d $ ls /etc/rc.d/init.d | grep -i auto $ Anyway, disabling it in /etc/init.d/yum-autoupdate seems to have done the trick. My VM are still here this morning and flash-plugin is still on the prior version. Thank you for the help, -T
libvirt 0.9.10
A couple of e-mail threads over the weekend mentioned libvirt 0.9.10 having been pushed out as a yum update for SL6. I did not see any errata notice come out, nor have I seen such an update available yet in yum? could it be that it was released for SL but not yet for SLF? If it was released for either, which version? (6.1, 6.2,6.3?) Steve Timm -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Group Leader. Lead of FermiCloud project.
Re: libvirt 0.9.10
It's in the testing repository right now. On Tue, Jul 10, 2012 at 3:20 PM, Steven Timm t...@fnal.gov wrote: A couple of e-mail threads over the weekend mentioned libvirt 0.9.10 having been pushed out as a yum update for SL6. I did not see any errata notice come out, nor have I seen such an update available yet in yum? could it be that it was released for SL but not yet for SLF? If it was released for either, which version? (6.1, 6.2,6.3?) Steve Timm -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Group Leader. Lead of FermiCloud project.
Looks like CentOS beat SL to 6.3 release
A particular client's mirror of CentOS exploded today with the unannounced CentOS 6.3 release. Congratulations to them for such quick work: is there a nominal release date for SL 6.3, so I can make sure to allocate disk space? I've actually got a mock setup, running SL 6.2, chewing its way through all the upstream vendor's 6.3 SRPM's for my knowledge and education. (Also, I publish Subversion and BIND updated SRPM tools over at www.github.com/nkadel/ and want to test them with new environments.
Re: Looks like CentOS beat SL to 6.3 release
On 11/07/2012 10:49 AM, Nico Kadel-Garcia wrote: A particular client's mirror of CentOS exploded today with the unannounced CentOS 6.3 release. Congratulations to them for such quick work: is there a nominal release date for SL 6.3, so I can make sure to allocate disk space? What is it with people thinking that CentOS is some kind of competition for SL or RHEL? Sure, CentOS do things differently. If it compiles, ship it. SL will more than likely do a Beta, RC, then release - just like they have with each other point release. -- Steven Haigh Email: net...@crc.id.au Web: http://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299
Re: Looks like CentOS beat SL to 6.3 release
On Tue, Jul 10, 2012 at 6:01 PM, Steven Haigh net...@crc.id.au wrote: On 11/07/2012 10:49 AM, Nico Kadel-Garcia wrote: A particular client's mirror of CentOS exploded today with the unannounced CentOS 6.3 release. Congratulations to them for such quick work: is there a nominal release date for SL 6.3, so I can make sure to allocate disk space? What is it with people thinking that CentOS is some kind of competition for SL or RHEL? Sure, CentOS do things differently. If it compiles, ship it. SL will more than likely do a Beta, RC, then release - just like they have with each other point release. Indeed. I hate to repeatedly quote my old post, but as far as there are people who say beat, I feel like doing it :) http://listserv.fnal.gov/scripts/wa.exe?A2=ind1201L=scientific-linux-usersT=0P=17067 Akemi
Re: Looks like CentOS beat SL to 6.3 release
On 11 July 2012 02:10, Akemi Yagi amy...@gmail.com wrote: On Tue, Jul 10, 2012 at 6:01 PM, Steven Haigh net...@crc.id.au wrote: On 11/07/2012 10:49 AM, Nico Kadel-Garcia wrote: A particular client's mirror of CentOS exploded today with the unannounced CentOS 6.3 release. Congratulations to them for such quick work: is there a nominal release date for SL 6.3, so I can make sure to allocate disk space? What is it with people thinking that CentOS is some kind of competition for SL or RHEL? Sure, CentOS do things differently. If it compiles, ship it. SL will more than likely do a Beta, RC, then release - just like they have with each other point release. Indeed. I hate to repeatedly quote my old post, but as far as there are people who say beat, I feel like doing it :) http://listserv.fnal.gov/scripts/wa.exe?A2=ind1201L=scientific-linux-usersT=0P=17067 Akemi Furthermore, the release of CentOS 6.3 was not unannounced. For the record, here is the official announcement -- http://lists.centos.org/pipermail/centos-announce/2012-July/018706.html Alan.