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
		
			
			- 
				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?
			
- 
				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.
			
- 
				[..] 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
- 
				Ok, i ask because when i read the release notes of sme 7.1 i see this :
 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
- 
				Somewhat confused by the original poster(s), because I have sme 7.1 and the centos updates repository is included.
 
 
 $ 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
 
- 
				To live on the bleeding edge you need updates and smedev enabled.
 
 [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.
 
 yum update \
 --disablerepo=* \
 --enablerepo=base \
 --enablerepo=updates \
 --enablerepo=smeos \
 --enablerepo=smeaddons \
 --enablerepo=smeupdates
- 
				i cant understand anything, can somebody help me to understand?
			
- 
				What can't you understand?
			
- 
				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?
			
- 
				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
- 
				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.
- 
				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.
- 
				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"
 
 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
- 
				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"
 
 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
 rpm -qa kmod*
 give you?
- 
				And what does
 rpm -qa kmod*
 give you?
 
 
 It gives me:
 # 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
 
 # cat redhat-release
 SME Server release 7.1
 
 # uname -r
 2.6.9-42.0.8.ELsmp
- 
				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
- 
				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????
- 
				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.
			
- 
				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
- 
				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.
- 
				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
- 
				This is what all our answers said but you ignored them.