The package changelogs are missing from Red Hat Satellite WebUi

Solution Unverified - Updated -

Environment

  • Red Hat Satellite 5.5

Issue

  • The package changelogs are missing from Red Hat satellite WebUi [Channels > Packages > Change_log] getting error :
There was an error reading the selected package changelog. Please check that the package physically exists and has the correct permissions.

Resolution

  • Set the permissions 755 correctly for the full tree path /var/satellite/redhat/

  • Corret the permissions:

[root@anp 7a01c647e3fc999f930ab363b0ca2f61b67fa8e15caaa679c2b0e88863d9b255]# chmod 755 /var/satellite/redhat/

[root@anp 7a01c647e3fc999f930ab363b0ca2f61b67fa8e15caaa679c2b0e88863d9b255]# namei -mom $PWD/vim-common-7.2.411-1.8.el6.i686.rpm
f: /var/satellite/redhat/NULL/7a0/vim-common/2:7.2.411-1.8.el6/i686/7a01c647e3fc999f930ab363b0ca2f61b67fa8e15caaa679c2b0e88863d9b255/vim-common-7.2.411-1.8.el6.i686.rpm
 dr-xr-xr-x root   root   /
 drwxr-xr-x root   root   var
 drwxr-xr-x apache apache satellite
 drwxr-xr-x apache root   redhat
 drwxr-xr-x apache root   NULL
 drwxr-xr-x apache root   7a0
 drwxr-xr-x apache apache vim-common
 drwxr-xr-x apache apache 2:7.2.411-1.8.el6
 drwxr-xr-x apache apache i686
 drwxr-xr-x apache apache 7a01c647e3fc999f930ab363b0ca2f61b67fa8e15caaa679c2b0e88863d9b255
 -rw-r--r-- apache apache vim-common-7.2.411-1.8.el6.i686.rpm

Root Cause

  • The permissions were set incorrectly, /var/satellite/redhat having 700 permissions:
[root@anp 7a01c647e3fc999f930ab363b0ca2f61b67fa8e15caaa679c2b0e88863d9b255]# namei -m $PWD/vim-common-7.2.411-1.8.el6.i686.rpm
f: /var/satellite/redhat/NULL/7a0/vim-common/2:7.2.411-1.8.el6/i686/7a01c647e3fc999f930ab363b0ca2f61b67fa8e15caaa679c2b0e88863d9b255/vim-common-7.2.411-1.8.el6.i686.rpm
 dr-xr-xr-x /
 drwxr-xr-x var
 drwxrwxrwx satellite
 drwx------ redhat
 drwxr-xr-x NULL
 drwxr-xr-x 7a0
 drwxr-xr-x vim-common
 drwxr-xr-x 2:7.2.411-1.8.el6
 drwxr-xr-x i686
 drwxr-xr-x 7a01c647e3fc999f930ab363b0ca2f61b67fa8e15caaa679c2b0e88863d9b255
 -rw-r--r-- vim-common-7.2.411-1.8.el6.i686.rpm

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments