Created
January 21, 2012 16:09
-
-
Save colemanjp/1653170 to your computer and use it in GitHub Desktop.
cf3 rpm upgrade borked
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@example.com cfengine]# cat /etc/redhat-release | |
CentOS release 5.7 (Final) | |
Current | |
[root@example.com cfengine]# rpm -q cfengine-community | |
cfengine-community-3.1.2-1.centos5 | |
[root@example.com cfengine]# ls -l /var/cfengine/bin | |
total 31600 | |
-rwxr-xr-x 1 root root 1616582 Mar 31 2011 cfagent | |
-rwxr-xr-x 1 root root 2287325 Jan 21 09:01 cf-agent | |
-rwxr-xr-x 1 root root 4176 Mar 31 2011 cfdoc | |
-rwxr-xr-x 1 root root 1329285 Mar 31 2011 cfenvd | |
-rwxr-xr-x 1 root root 1281885 Mar 31 2011 cfenvgraph | |
-rwxr-xr-x 1 root root 462053 Mar 31 2011 cfetool | |
-rwxr-xr-x 1 root root 51382 Mar 31 2011 cfetoolgraph | |
-rwxr-xr-x 1 root root 1264083 Mar 31 2011 cfexecd | |
-rwxr-xr-x 1 root root 2072281 Jan 21 09:01 cf-execd | |
-rwxr-xr-x 1 root root 2011172 Jan 21 09:01 cf-hub | |
-rwxr-xr-x 1 root root 1248256 Mar 31 2011 cfkey | |
-rwxr-xr-x 1 root root 2036076 Jan 21 09:01 cf-key | |
-rwxr-xr-x 1 root root 2120880 Jan 21 09:01 cf-know | |
-rwxr-xr-x 1 root root 2145249 Jan 21 09:01 cf-monitord | |
-rwxr-xr-x 1 root root 2037774 Jan 21 09:01 cf-promises | |
-rwxr-xr-x 1 root root 2091594 Jan 21 09:01 cf-report | |
-rwxr-xr-x 1 root root 1267745 Mar 31 2011 cfrun | |
-rwxr-xr-x 1 root root 2058884 Jan 21 09:01 cf-runagent | |
-rwxr-xr-x 1 root root 1376722 Mar 31 2011 cfservd | |
-rwxr-xr-x 1 root root 2173784 Jan 21 09:01 cf-serverd | |
-rwxr-xr-x 1 root root 1327762 Mar 31 2011 cfshow | |
Upgrade blows away /var/cfengine/bin binaries and doesn't install new | |
[root@example.com cfengine]# rpm -Uvh cfengine-community-3.2.1-1.el5.i386.rpm | |
Preparing... ########################################### [100%] | |
1:cfengine-community ########################################### [100%] | |
cf-execd: no process killed | |
cf-monitord: no process killed | |
cf-serverd: no process killed | |
cf-hub: no process killed | |
[root@example.com cfengine]# ls -l /var/cfengine/bin | |
total 11000 | |
-rwxr-xr-x 1 root root 1616582 Mar 31 2011 cfagent | |
-rwxr-xr-x 1 root root 4176 Mar 31 2011 cfdoc | |
-rwxr-xr-x 1 root root 1329285 Mar 31 2011 cfenvd | |
-rwxr-xr-x 1 root root 1281885 Mar 31 2011 cfenvgraph | |
-rwxr-xr-x 1 root root 462053 Mar 31 2011 cfetool | |
-rwxr-xr-x 1 root root 51382 Mar 31 2011 cfetoolgraph | |
-rwxr-xr-x 1 root root 1264083 Mar 31 2011 cfexecd | |
-rwxr-xr-x 1 root root 1248256 Mar 31 2011 cfkey | |
-rwxr-xr-x 1 root root 1267745 Mar 31 2011 cfrun | |
-rwxr-xr-x 1 root root 1376722 Mar 31 2011 cfservd | |
-rwxr-xr-x 1 root root 1327762 Mar 31 2011 cfshow | |
Erase and install does install the binaries in /var/cfengine/bin | |
[root@example.com cfengine]# rpm -e cfengine-community | |
cf-execd: no process killed | |
cf-monitord: no process killed | |
cf-serverd: no process killed | |
cf-hub: no process killed | |
[root@example.com cfengine]# rpm -Uvh cfengine-community-3.2.1-1.el5.i386.rpm | |
Preparing... ########################################### [100%] | |
1:cfengine-community ########################################### [100%] | |
[root@example.com cfengine]# ls -l /var/cfengine/bin | |
total 11836 | |
-rwxr-xr-x 1 root root 1616582 Mar 31 2011 cfagent | |
-rwxr-xr-x 1 root root 259790 Jan 21 09:04 cf-agent | |
-rwxr-xr-x 1 root root 4176 Mar 31 2011 cfdoc | |
-rwxr-xr-x 1 root root 1329285 Mar 31 2011 cfenvd | |
-rwxr-xr-x 1 root root 1281885 Mar 31 2011 cfenvgraph | |
-rwxr-xr-x 1 root root 462053 Mar 31 2011 cfetool | |
-rwxr-xr-x 1 root root 51382 Mar 31 2011 cfetoolgraph | |
-rwxr-xr-x 1 root root 1264083 Mar 31 2011 cfexecd | |
-rwxr-xr-x 1 root root 57786 Jan 21 09:04 cf-execd | |
-rwxr-xr-x 1 root root 1248256 Mar 31 2011 cfkey | |
-rwxr-xr-x 1 root root 16567 Jan 21 09:04 cf-key | |
-rwxr-xr-x 1 root root 72091 Jan 21 09:04 cf-know | |
-rwxr-xr-x 1 root root 134220 Jan 21 09:04 cf-monitord | |
-rwxr-xr-x 1 root root 14816 Jan 21 09:04 cf-promises | |
-rwxr-xr-x 1 root root 81207 Jan 21 09:04 cf-report | |
-rwxr-xr-x 1 root root 1267745 Mar 31 2011 cfrun | |
-rwxr-xr-x 1 root root 39866 Jan 21 09:04 cf-runagent | |
-rwxr-xr-x 1 root root 1376722 Mar 31 2011 cfservd | |
-rwxr-xr-x 1 root root 138690 Jan 21 09:04 cf-serverd | |
-rwxr-xr-x 1 root root 1327762 Mar 31 2011 cfshow | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Filed bug https://cfengine.com/bugtracker/view.php?id=922