Be smart. Think open source.
Import the new patches and apply the "parted"-patch to a system.
Configure the new repository data.
Stop the tomcat service:
# systemctl stop tomcat
Change the data directory in /etc/rhn/rhn.conf
to:
# local data directory
server.susemanager.fromdir = /data/repos_wpatches_20161116
Start the tomcat service:
# systemctl start tomcat
Refresh the channel and schedule a reposync:
mgr-sync refresh
mgr-sync add channel sles12-sp1-updates-x86_64
Verify the synchronization:
tailf /var/log/rhn/reposync/sles12-sp1-updates-x86_64.log
Check the SLES12 SP1 Updates vendor channel:
# spacecmd softwarechannel_details sles12-sp1-updates-x86_64
INFO: Connected to https://localhost/rpc/api as admin
Label: sles12-sp1-updates-x86_64
Name: SLES12-SP1-Updates for x86_64
Architecture: x86_64
Parent: sles12-sp1-pool-x86_64
Systems Subscribed: 0
Number of Packages: 2164
[...]
Check the SLES12 SP1 Updates development channel:
# spacecmd softwarechannel_details devl-sles12-sp1-updates-x86_64
INFO: Connected to https://localhost/rpc/api as admin
Label: devl-sles12-sp1-updates-x86_64
Name: devl-sles12-sp1-updates-x86_64
Architecture: x86_64
Parent: devl-sles12-sp1-pool-x86_64
Systems Subscribed: 1
Number of Packages: 2140
[...]
List the patches from the vendor channel:
List the patches from the development channel:
Comapre the updates channels:
# spacecmd softwarechannel_errata_diff \
sles12-sp1-updates-x86_64 \
devl-sles12-sp1-updates-x86_64 \
| grep par
INFO: Connected to https://localhost/rpc/api as admin
-SUSE-12-SP1-2016-1310 Recommended update for apparmor
-SUSE-12-SP1-2016-1655 Recommended update for parted
+CL-SUSE-12-SP1-2016-1310 Recommended update for apparmor
Select the patch and click the "Clone Patches" button.
Click "Confirm:"
Click on the patch:
Click "Publish Patches":
Select the devl channel and click "Publish Patches":
Select the packages and click "Continue":
Click on the system srv2:
Click on "Non-Critical":
Select the patch and click "Apply Patches":
Click "Confirm":
Check the RPM-database on the srv2 system:
# rpm -qa --last | head -10
Check the patches with zypper
command:
# zypper patches | grep "1655"