Re: [CentOS] SELinux messages after compiling new kernel
On Thu, Aug 27, 2009 at 9:01 AM, Sergio Belkinseb...@gmail.com wrote: How can I fix these errors? Easy. Use the kernel provided in the distribution. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux messages after compiling new kernel
2009/8/27 Jim Perrin jper...@gmail.com: On Thu, Aug 27, 2009 at 9:01 AM, Sergio Belkinseb...@gmail.com wrote: How can I fix these errors? Easy. Use the kernel provided in the distribution. Jim, thanks for the suggestion, but Firstly: I need a newer kernel in order to get IO statistics from tools like atop, pidstat, etc. And secondly and most important: my boss wants that :) So I'd be glad to hear other kind of solution :) -- -- Open Kairos http://www.openkairos.com Watch More TV http://sebelk.blogspot.com Sergio Belkin - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux messages after compiling new kernel
On Thu, Aug 27, 2009 at 9:46 AM, Sergio Belkinseb...@gmail.com wrote: 2009/8/27 Jim Perrin jper...@gmail.com: On Thu, Aug 27, 2009 at 9:01 AM, Sergio Belkinseb...@gmail.com wrote: How can I fix these errors? Easy. Use the kernel provided in the distribution. Jim, thanks for the suggestion, but Firstly: I need a newer kernel in order to get IO statistics from tools like atop, pidstat, etc. Have you looked at dstat? If you find features that are not provided by the current version, you can always ask Dag. :) And secondly and most important: my boss wants that :) Then I suggest you have him read a statement in a box highlighted in eye-soaring red: http://wiki.centos.org/HowTos/Custom_Kernel So I'd be glad to hear other kind of solution :) Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux messages after compiling new kernel
Hi, On Thu, Aug 27, 2009 at 12:46, Sergio Belkinseb...@gmail.com wrote: Jim, thanks for the suggestion, but Firstly: I need a newer kernel in order to get IO statistics from tools like atop, pidstat, etc. And secondly and most important: my boss wants that :) Then CentOS is not what you want. There is a reason why RHEL/CentOS does not ship with the latest kernel (and other components) and backports fixes instead. It's not trivial to make different versions of these components work together. If you try to replace the kernel (or other core components) you will see how painful it is. In fact, you started to see it already. You may try to continue to go that way, but I doubt anyone in this list will be able to help you there... you're pretty much on your own. So I'd be glad to hear other kind of solution :) Look at the latest Fedora or Ubuntu or another one of the cutting edge distributions that ship with more recent versions of components. Or ask yourself (or your boss) *WHY* you think you really need a later version of a certain component. What is your real problem? Is it support to a certain hardware? Is it network related? Is it (unfounded) fear that the kernel in CentOS might be vulnerable? It might be possible to solve your problem using CentOS in another way, if you come back to the list with the real problem we might be able to help you better. HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux messages after compiling new kernel
2009/8/27 Filipe Brandenburger filbran...@gmail.com: Hi, On Thu, Aug 27, 2009 at 12:46, Sergio Belkinseb...@gmail.com wrote: Jim, thanks for the suggestion, but Firstly: I need a newer kernel in order to get IO statistics from tools like atop, pidstat, etc. And secondly and most important: my boss wants that :) Then CentOS is not what you want. There is a reason why RHEL/CentOS does not ship with the latest kernel (and other components) and backports fixes instead. It's not trivial to make different versions of these components work together. If you try to replace the kernel (or other core components) you will see how painful it is. In fact, you started to see it already. You may try to continue to go that way, but I doubt anyone in this list will be able to help you there... you're pretty much on your own. So I'd be glad to hear other kind of solution :) Look at the latest Fedora or Ubuntu or another one of the cutting edge distributions that ship with more recent versions of components. Or ask yourself (or your boss) *WHY* you think you really need a later version of a certain component. What is your real problem? Is it support to a certain hardware? Is it network related? Is it (unfounded) fear that the kernel in CentOS might be vulnerable? It might be possible to solve your problem using CentOS in another way, if you come back to the list with the real problem we might be able to help you better. HTH, Felipe I've just explained the reason why I've compiled. -- -- Open Kairos http://www.openkairos.com Watch More TV http://sebelk.blogspot.com Sergio Belkin - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux messages after compiling new kernel
On 27.8.2009 17:15, Sergio Belkin wrote: 2009/8/27 Filipe Brandenburgerfilbran...@gmail.com: Hi, On Thu, Aug 27, 2009 at 12:46, Sergio Belkinseb...@gmail.com wrote: Jim, thanks for the suggestion, but Firstly: I need a newer kernel in order to get IO statistics from tools like atop, pidstat, etc. And secondly and most important: my boss wants that :) Then CentOS is not what you want. There is a reason why RHEL/CentOS does not ship with the latest kernel (and other components) and backports fixes instead. It's not trivial to make different versions of these components work together. If you try to replace the kernel (or other core components) you will see how painful it is. In fact, you started to see it already. You may try to continue to go that way, but I doubt anyone in this list will be able to help you there... you're pretty much on your own. So I'd be glad to hear other kind of solution :) Look at the latest Fedora or Ubuntu or another one of the cutting edge distributions that ship with more recent versions of components. Or ask yourself (or your boss) *WHY* you think you really need a later version of a certain component. What is your real problem? Is it support to a certain hardware? Is it network related? Is it (unfounded) fear that the kernel in CentOS might be vulnerable? It might be possible to solve your problem using CentOS in another way, if you come back to the list with the real problem we might be able to help you better. HTH, Felipe I've just explained the reason why I've compiled. IO statistics by process will be included in 5.4You could try to use the RHEL 5.4 beta kernels (Just remember, those are beta). Bgrds, Finnzi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux messages after compiling new kernel
On Thu, Aug 27, 2009 at 11:15 AM, Sergio Belkinseb...@gmail.com wrote: 2009/8/27 Filipe Brandenburger filbran...@gmail.com: Hi, On Thu, Aug 27, 2009 at 12:46, Sergio Belkinseb...@gmail.com wrote: Jim, thanks for the suggestion, but Firstly: I need a newer kernel in order to get IO statistics from tools like atop, pidstat, etc. And secondly and most important: my boss wants that :) Then CentOS is not what you want. HTH, Felipe I've just explained the reason why I've compiled. What your boss wants and what you want will not work with CentOS in that case. Short Answer: You will both be better off looking at a non-enterprise operating system. If the company has standardized on CentOS for long term support they could look at Fedora for this one off and then use CentOS-6 when that comes out. Long Answer: You would need to basically compile newer glibc, newer ldconfig, gcc, etc etc etc until at which point you have a base Fedora-11 system and some CentOS stuff that might still work (but highly unlikely). -- Stephen J Smoogen. Ah, but a man's reach should exceed his grasp. Or what's a heaven for? -- Robert Browning ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux messages after compiling new kernel
Sergio Belkin wrote: 2009/8/27 Filipe Brandenburger filbran...@gmail.com: Hi, On Thu, Aug 27, 2009 at 12:46, Sergio Belkinseb...@gmail.com wrote: Jim, thanks for the suggestion, but Firstly: I need a newer kernel in order to get IO statistics from tools like atop, pidstat, etc. And secondly and most important: my boss wants that :) Then CentOS is not what you want. There is a reason why RHEL/CentOS does not ship with the latest kernel (and other components) and backports fixes instead. It's not trivial to make different versions of these components work together. If you try to replace the kernel (or other core components) you will see how painful it is. In fact, you started to see it already. You may try to continue to go that way, but I doubt anyone in this list will be able to help you there... you're pretty much on your own. So I'd be glad to hear other kind of solution :) Look at the latest Fedora or Ubuntu or another one of the cutting edge distributions that ship with more recent versions of components. Or ask yourself (or your boss) *WHY* you think you really need a later version of a certain component. What is your real problem? Is it support to a certain hardware? Is it network related? Is it (unfounded) fear that the kernel in CentOS might be vulnerable? It might be possible to solve your problem using CentOS in another way, if you come back to the list with the real problem we might be able to help you better. HTH, Felipe I've just explained the reason why I've compiled. Let me try it a different way. The current kernel used by Red Hat in RHEL 4 is a 2.6.9-x kernel and it has 1973 patches. The one currently in use in RHEL 5 is a 2.6.18-x kernel with 2882 patches. Many packages are compiled against kernel-headers and depend on the proc structure that is there. SELinux is just one of many issues you will have if you try to use a main line kernel on CentOS. You will need to have several of the Red Hat patches (modified to work with the new kernel tree) incorporated in order to use a newer kernel on CentOS. If you absolutely have to have a newer kernel (you should not do this ... but hey, it IS your machine) ... then instead of trying to use a main line kernel, instead try to use the latest one from here: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHEMRG/SRPMS/ This kernel has been tested for use with RHEL-5 and is 2.6.24-x. You still might have issues, but they should be far fewer than running a main line kernel on CentOS. Would you, if you boss told you he wanted you to, try to make the Windows Vista system files run on Windows 95? Thanks, Johnny Hughes signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux messages after compiling new kernel
Sergio Belkin wrote: 2009/8/27 Jim Perrin jper...@gmail.com: On Thu, Aug 27, 2009 at 9:01 AM, Sergio Belkinseb...@gmail.com wrote: How can I fix these errors? Easy. Use the kernel provided in the distribution. Jim, thanks for the suggestion, but Firstly: I need a newer kernel in order to get IO statistics from tools like atop, pidstat, etc. And secondly and most important: my boss wants that :) So I'd be glad to hear other kind of solution :) 1) New expectations and/or 2) New boss and/or 3) New distribution ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux messages after compiling new kernel
2009/8/27 Johnny Hughes joh...@centos.org: Sergio Belkin wrote: 2009/8/27 Filipe Brandenburger filbran...@gmail.com: Hi, On Thu, Aug 27, 2009 at 12:46, Sergio Belkinseb...@gmail.com wrote: Jim, thanks for the suggestion, but Firstly: I need a newer kernel in order to get IO statistics from tools like atop, pidstat, etc. And secondly and most important: my boss wants that :) Then CentOS is not what you want. There is a reason why RHEL/CentOS does not ship with the latest kernel (and other components) and backports fixes instead. It's not trivial to make different versions of these components work together. If you try to replace the kernel (or other core components) you will see how painful it is. In fact, you started to see it already. You may try to continue to go that way, but I doubt anyone in this list will be able to help you there... you're pretty much on your own. So I'd be glad to hear other kind of solution :) Look at the latest Fedora or Ubuntu or another one of the cutting edge distributions that ship with more recent versions of components. Or ask yourself (or your boss) *WHY* you think you really need a later version of a certain component. What is your real problem? Is it support to a certain hardware? Is it network related? Is it (unfounded) fear that the kernel in CentOS might be vulnerable? It might be possible to solve your problem using CentOS in another way, if you come back to the list with the real problem we might be able to help you better. HTH, Felipe I've just explained the reason why I've compiled. Let me try it a different way. The current kernel used by Red Hat in RHEL 4 is a 2.6.9-x kernel and it has 1973 patches. The one currently in use in RHEL 5 is a 2.6.18-x kernel with 2882 patches. Many packages are compiled against kernel-headers and depend on the proc structure that is there. SELinux is just one of many issues you will have if you try to use a main line kernel on CentOS. You will need to have several of the Red Hat patches (modified to work with the new kernel tree) incorporated in order to use a newer kernel on CentOS. If you absolutely have to have a newer kernel (you should not do this ... but hey, it IS your machine) ... then instead of trying to use a main line kernel, instead try to use the latest one from here: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHEMRG/SRPMS/ This kernel has been tested for use with RHEL-5 and is 2.6.24-x. You still might have issues, but they should be far fewer than running a main line kernel on CentOS. Would you, if you boss told you he wanted you to, try to make the Windows Vista system files run on Windows 95? Thanks, Johnny Hughes Thanks for provide the more smart and constructive answer so far. On ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHEMRG/SRPMS/ I've only found kernel-rt, are they real time kernels? -- -- Open Kairos http://www.openkairos.com Watch More TV http://sebelk.blogspot.com Sergio Belkin - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux messages after compiling new kernel
2009/8/27 Johnny Hughes joh...@centos.org: Sergio Belkin wrote: 2009/8/27 Filipe Brandenburger filbran...@gmail.com: Hi, On Thu, Aug 27, 2009 at 12:46, Sergio Belkinseb...@gmail.com wrote: Jim, thanks for the suggestion, but Firstly: I need a newer kernel in order to get IO statistics from tools like atop, pidstat, etc. And secondly and most important: my boss wants that :) Then CentOS is not what you want. There is a reason why RHEL/CentOS does not ship with the latest kernel (and other components) and backports fixes instead. It's not trivial to make different versions of these components work together. If you try to replace the kernel (or other core components) you will see how painful it is. In fact, you started to see it already. You may try to continue to go that way, but I doubt anyone in this list will be able to help you there... you're pretty much on your own. So I'd be glad to hear other kind of solution :) Look at the latest Fedora or Ubuntu or another one of the cutting edge distributions that ship with more recent versions of components. Or ask yourself (or your boss) *WHY* you think you really need a later version of a certain component. What is your real problem? Is it support to a certain hardware? Is it network related? Is it (unfounded) fear that the kernel in CentOS might be vulnerable? It might be possible to solve your problem using CentOS in another way, if you come back to the list with the real problem we might be able to help you better. HTH, Felipe I've just explained the reason why I've compiled. Let me try it a different way. The current kernel used by Red Hat in RHEL 4 is a 2.6.9-x kernel and it has 1973 patches. The one currently in use in RHEL 5 is a 2.6.18-x kernel with 2882 patches. Many packages are compiled against kernel-headers and depend on the proc structure that is there. SELinux is just one of many issues you will have if you try to use a main line kernel on CentOS. You will need to have several of the Red Hat patches (modified to work with the new kernel tree) incorporated in order to use a newer kernel on CentOS. If you absolutely have to have a newer kernel (you should not do this ... but hey, it IS your machine) ... then instead of trying to use a main line kernel, instead try to use the latest one from here: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHEMRG/SRPMS/ This kernel has been tested for use with RHEL-5 and is 2.6.24-x. You still might have issues, but they should be far fewer than running a main line kernel on CentOS. Would you, if you boss told you he wanted you to, try to make the Windows Vista system files run on Windows 95? Of course I wouldn't it. I think that the comparison has little to do. Windows it's very different from Linux. MS it's product developed by an only company and closed souce. I think that the difference from using some distro with different kernel is far smaller that running Vista apps on Windows 95. Of course I don't expect support in the sense that someone solve my problems, I'm only was asking suggestions... -- -- Open Kairos http://www.openkairos.com Watch More TV http://sebelk.blogspot.com Sergio Belkin - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux messages after compiling new kernel
Sergio Belkin wrote: 2009/8/27 Johnny Hughes joh...@centos.org: Sergio Belkin wrote: 2009/8/27 Filipe Brandenburger filbran...@gmail.com: Hi, On Thu, Aug 27, 2009 at 12:46, Sergio Belkinseb...@gmail.com wrote: Jim, thanks for the suggestion, but Firstly: I need a newer kernel in order to get IO statistics from tools like atop, pidstat, etc. And secondly and most important: my boss wants that :) Then CentOS is not what you want. There is a reason why RHEL/CentOS does not ship with the latest kernel (and other components) and backports fixes instead. It's not trivial to make different versions of these components work together. If you try to replace the kernel (or other core components) you will see how painful it is. In fact, you started to see it already. You may try to continue to go that way, but I doubt anyone in this list will be able to help you there... you're pretty much on your own. So I'd be glad to hear other kind of solution :) Look at the latest Fedora or Ubuntu or another one of the cutting edge distributions that ship with more recent versions of components. Or ask yourself (or your boss) *WHY* you think you really need a later version of a certain component. What is your real problem? Is it support to a certain hardware? Is it network related? Is it (unfounded) fear that the kernel in CentOS might be vulnerable? It might be possible to solve your problem using CentOS in another way, if you come back to the list with the real problem we might be able to help you better. HTH, Felipe I've just explained the reason why I've compiled. Let me try it a different way. The current kernel used by Red Hat in RHEL 4 is a 2.6.9-x kernel and it has 1973 patches. The one currently in use in RHEL 5 is a 2.6.18-x kernel with 2882 patches. Many packages are compiled against kernel-headers and depend on the proc structure that is there. SELinux is just one of many issues you will have if you try to use a main line kernel on CentOS. You will need to have several of the Red Hat patches (modified to work with the new kernel tree) incorporated in order to use a newer kernel on CentOS. If you absolutely have to have a newer kernel (you should not do this ... but hey, it IS your machine) ... then instead of trying to use a main line kernel, instead try to use the latest one from here: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHEMRG/SRPMS/ This kernel has been tested for use with RHEL-5 and is 2.6.24-x. You still might have issues, but they should be far fewer than running a main line kernel on CentOS. Would you, if you boss told you he wanted you to, try to make the Windows Vista system files run on Windows 95? Thanks, Johnny Hughes Thanks for provide the more smart and constructive answer so far. On ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHEMRG/SRPMS/ I've only found kernel-rt, are they real time kernels? Yes, those are real time kernels. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos