Hide Forgot
Description of problem: unsubscribe --all, works even though the client is not registered Version-Release number of selected component (if applicable): [root@tiger ~]# rpm -qa | grep subscription-manager subscription-manager-firstboot-0.98.3-1.el5 subscription-manager-0.98.3-1.el5 subscription-manager-gnome-0.98.3-1.el5 subscription-manager-debuginfo-0.98.3-1.el5 subscription-manager-migration-0.98.3-1.el5 How reproducible: Steps to Reproduce: 1.unregister the client 2.execute subscription-manager unsubscribe --all 3. Actual results: This machine has been unsubscribed from all subscriptions Expected results: should say "Error: You need to register this system by running `register` command before using this option" Additional info:
Unsubscribe can actually be used for the "offline" use case, where the system is not registered, and the user is manually importing their certificates. As such they need to be able to use unsubscribe --all.
There is a separate bug for reporting there are no subscriptions to remove if none are present, which should help this situation as well.