Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: lucho115 on February 13, 2007, 05:25:39 PM

Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: lucho115 on February 13, 2007, 05:25:39 PM
Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8, why if sme 7.1 is centos 4.4 with updates, i need to add centos repo to yum to get the system full update?
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: bpivk on February 13, 2007, 06:52:40 PM
No. CentOS is CentOS and SME is SME. Use the updates that are in the updates repos. When they issue a new kernel for SME you'll be able to update it rough pannel.
Title: Re: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42
Post by: byte on February 13, 2007, 11:37:38 PM
Quote from: "lucho115"
[..] centos 4.4 is 2.6.9-42.0.8 [..]


FYI - The next release of 7.1.1 (don't ask when it's still in progress) does in fact have -42.0.8 kernel and you could update via yum to 7.1.1 which should give you -42.0.8
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: lucho115 on February 14, 2007, 12:32:17 PM
Ok, i ask because when i read the release notes of sme 7.1 i see this :
Quote
General features

- Based on CentOS 4.4 and all available updates


so i think that sme was centos + same rpms and the templates mode of config.
Anyway is not a security problem use rpm from centos 4.4 without theirs security updates? if one rpm was updated is very probably that the old rpm has security problems.
So how fix this the sme team?
thks
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: colinhogben on February 14, 2007, 12:54:50 PM
Somewhat confused by the original poster(s), because I have sme 7.1 and the centos updates repository is included.

Code: [Select]

$ rpm -qf /etc/e-smith/db/yum_repositories/defaults/updates/BaseURL
smeserver-yum-1.2.0-25.el4.sme
$ cat /etc/e-smith/db/yum_repositories/defaults/updates/{Name,BaseURL,status}
CentOS - updates
http://mirror.centos.org/centos/4/updates/$basearch
enabled
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: william_syd on February 14, 2007, 01:06:14 PM
To live on the bleeding edge you need updates and smedev enabled.

Code: [Select]
[root@tiger ~]# yum --disablerepo=* --enablerepo=smedev --enablerepo=updates update kmod*
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kmod-ppp.i686 0:1.0.2-1.2.6.9_42.0.8.EL set to be updated
---> Package kmod-slip.i686 0:1.0-1.2.6.9_42.0.8.EL set to be updated
---> Package kmod-appletalk-smp.i686 0:1.0-1.2.6.9_42.0.8.EL set to be updated
---> Package kmod-appletalk.i686 0:1.0-1.2.6.9_42.0.8.EL set to be updated
---> Package kmod-ppp-smp.i686 0:1.0.2-1.2.6.9_42.0.8.EL set to be updated
---> Package kmod-slip-smp.i686 0:1.0-1.2.6.9_42.0.8.EL set to be updated
--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.9-42.0.8.EL for package: kmod-slip
--> Processing Dependency: kernel-smp-i686 = 2.6.9-42.0.8.EL for package: kmod-slip-smp
--> Processing Dependency: kernel-smp-i686 = 2.6.9-42.0.8.EL for package: kmod-ppp-smp
--> Processing Dependency: kernel-i686 = 2.6.9-42.0.8.EL for package: kmod-appletalk
--> Processing Dependency: kernel-smp-i686 = 2.6.9-42.0.8.EL for package: kmod-appletalk-smp
--> Processing Dependency: kernel-i686 = 2.6.9-42.0.8.EL for package: kmod-ppp
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package kernel-smp.i686 0:2.6.9-42.0.8.EL set to be installed
---> Package kernel.i686 0:2.6.9-42.0.8.EL set to be installed
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 kmod-appletalk          i686       1.0-1.2.6.9_42.0.8.EL  smedev            208 k
 kmod-appletalk-smp      i686       1.0-1.2.6.9_42.0.8.EL  smedev            220 k
 kmod-ppp                i686       1.0.2-1.2.6.9_42.0.8.EL  smedev            154 k
 kmod-ppp-smp            i686       1.0.2-1.2.6.9_42.0.8.EL  smedev            151 k
 kmod-slip               i686       1.0-1.2.6.9_42.0.8.EL  smedev             77 k
 kmod-slip-smp           i686       1.0-1.2.6.9_42.0.8.EL  smedev             77 k
Installing for dependencies:
 kernel                  i686       2.6.9-42.0.8.EL  updates            11 M
 kernel-smp              i686       2.6.9-42.0.8.EL  updates            10 M

Transaction Summary
=============================================================================
Install      2 Package(s)
Update       6 Package(s)
Remove       0 Package(s)
Total download size: 22 M


Don't use smedev for regular updates.

Code: [Select]
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeaddons \
--enablerepo=smeupdates
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: lucho115 on February 14, 2007, 02:24:03 PM
i cant understand anything, can somebody help me to understand?
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: byte on February 14, 2007, 03:11:14 PM
What can't you understand?
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: lucho115 on February 14, 2007, 03:24:42 PM
all the thing about the dev packages , but the really cuestion is if i enable centos updates repo, and then do an update, so i would have sme7.1 with full centos 4.4 updates sync, this can do sme not working? or what happend if i do that?
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: Confucius on February 14, 2007, 04:29:49 PM
When you would go for the CentOS updates I guarantee you that your server will be limping.  :shock:

I was testing and didn't pay attention to the repo settings. Result : MySQL wasn't able to function anymore from startup. I didn't check the rest. Went back to a fresh install since I was testing only.

Harro
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: william_syd on February 14, 2007, 10:59:45 PM
Quote from: "Confucius"
When you would go for the CentOS updates I guarantee you that your server will be limping.  :shock:



Not 100% correct.

Look through the bug tracker. With a 7.1 CD install 5 repos are enabled.
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: mrjhb3 on February 15, 2007, 04:07:58 AM
Quote from: "william_syd"
Quote from: "Confucius"
When you would go for the CentOS updates I guarantee you that your server will be limping.  :shock:



Not 100% correct.

Look through the bug tracker. With a 7.1 CD install 5 repos are enabled.


This is true, but 7.1.1 will fix the issue where kernel updates will be excluded from the centos repo, which they currently are not,  and delivered via one of the smeserver repos when all of the other kernel modules are built and ready.
Title: Re: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42
Post by: JohnG on February 15, 2007, 05:55:15 AM
Quote from: "lucho115"
Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8, why if sme 7.1 is centos 4.4 with updates, i need to add centos repo to yum to get the system full update?


My plain vanilla SME 7.1 is at 42.0.8 after doing the standard updates. Here's what I get doing "cat /proc/version"

Code: [Select]
Linux version 2.6.9-42.0.8.ELsmp (mockbuild@builder6.centos.org) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Tue Jan 30 12:33:47 EST 2007
Title: Re: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42
Post by: william_syd on February 15, 2007, 07:53:15 AM
Quote from: "JohnG"
Quote from: "lucho115"
Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8, why if sme 7.1 is centos 4.4 with updates, i need to add centos repo to yum to get the system full update?


My plain vanilla SME 7.1 is at 42.0.8 after doing the standard updates. Here's what I get doing "cat /proc/version"

Code: [Select]
Linux version 2.6.9-42.0.8.ELsmp (mockbuild@builder6.centos.org) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Tue Jan 30 12:33:47 EST 2007


And what does
Code: [Select]
rpm -qa kmod*
give you?
Title: Re: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42
Post by: JohnG on February 15, 2007, 03:31:59 PM
Quote
And what does
Code: [Select]
rpm -qa kmod*
give you?


It gives me:
Code: [Select]
# rpm -qa kmod*
kmod-appletalk-1.0-1.2.6.9_42.0.3.EL
kmod-slip-1.0-1.2.6.9_42.0.3.EL
kmod-appletalk-smp-1.0-1.2.6.9_42.0.3.EL
kmod-ppp-smp-1.0.2-1.2.6.9_42.0.3.EL
kmod-slip-smp-1.0-1.2.6.9_42.0.3.EL
kmod-ppp-1.0.2-1.2.6.9_42.0.3.EL

also
Code: [Select]

# cat redhat-release
SME Server release 7.1

# uname -r
2.6.9-42.0.8.ELsmp
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: mrjhb3 on February 15, 2007, 08:53:43 PM
Everyone on this thread, what John G is seeing is correct.  The 08 kernel will get installed on an update but the associated kmods do not.  That is because in 7.1 there is a bug in yum which doesn't exclude kernels from being updated.  It is fixed in 7.1.1, which hopefully will be released soon, and the 08kmods will be included.

If you are in a hurry for this, look at the tracking bug for 7.1.1 - http://bugs.contribs.org/show_bug.cgi?id=2342, so you can see what has been fixed.  Then check http://mirror.contribs.org/smeserver/releases/7.1/smeupdates-testing/i386/RPMS/
to verify for yourself that the 08kmods are there.  Then if you want, enable the smeupdates-testing repo and do a yum update and you will get all of the files that will be included in 7.1.1, or get the individual ones.  Disclaimer, I have not tested getting indivdual ones.

There should be an announcement in the coming days stating something to the fact that more wide spread testing of the upcoming 7.1.1 updates are needed and that the updates are in the smeupdates-testing repo.

John
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: lucho115 on March 07, 2007, 06:20:11 PM
So i must to enable centos anf centos-updates repos?
because i see in the wiki this:

Which repositories should be enabled
You should have the following repositories enabled (blue)

CentOS
CentOS - updates
SME Server - addons
SME Server - OS
SME Server - updates


Some developer one time say me that not to enable centos and centos-update repos, so the thing change or the wiki is wrong????
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: bpivk on March 07, 2007, 09:14:30 PM
lucho115 stop posting all over the place. You have your answer in another topic and leave this one to rest. Wiki is not wrong and don't hold the developers recomendations because thing tend to change. Just read the anouncment posts and do as recomended.
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: lucho115 on March 08, 2007, 01:25:14 AM
Quote
lucho115 stop posting all over the place. You have your answer in another topic and leave this one to rest. Wiki is not wrong and don't hold the developers recomendations because thing tend to change. Just read the anouncment posts and do as recomended.


OK, but i cant find the rigth answer to my question. Only look at this post :
http://forums.contribs.org/index.php?topic=32926.0

Where a moderator said that not to enable centos updates

thks
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: william_syd on March 08, 2007, 02:50:02 AM
Quote from: "lucho115"
Quote
lucho115 stop posting all over the place. You have your answer in another topic and leave this one to rest. Wiki is not wrong and don't hold the developers recomendations because thing tend to change. Just read the anouncment posts and do as recomended.


OK, but i cant find the rigth answer to my question. Only look at this post :
http://forums.contribs.org/index.php?topic=32926.0

Where a moderator said that not to enable centos updates

thks


7.0 to 7.1 was a transition period.

With a cd install..

7.0 and prior(betas) - 3 sme repos visible and enabled.
7.1 and onwards - 3 sme repos and 2 centos repos visible and enabled (as per wiki)

Yum update from 7.0 to 7.1 - 3 sme repos visible and enabled. 2 centos repos visible but NOT enabled. It is up to the user to enable the centos repos.


At the end of the day, enable the repos as per the wiki.
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: lucho115 on March 09, 2007, 01:47:07 PM
Quote
The reason you can enable base and updates is because 'dangerous' packages are now excluded.

Look at..
Code:
db yum_repositories printprop base Exclude

Code:
db yum_repositories printprop updates Exclude


OK, thats is a good answer. thks william_syd
Title: Kernel sme7.1 is 2.6.9-42.0.3 and centos 4.4 is 2.6.9-42.0.8
Post by: bpivk on March 09, 2007, 02:07:52 PM
This is what all our answers said but you ignored them.