Disabling mail "Error during registration" on SuSE

NOTE: It about SuSE 11 !

Quick answer for impatient:

# touch /var/lib/suseRegister/neverRegisterOnBoot


The mail:

To: root
Subject: Error during registration
User-Agent: Heirloom mailx 12.5 7/5/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
From: root

Registration failed.

It generated by cronjob /etc/cron.d/novell.com-suse_register which in my case contains:

46 14 23 * * root /usr/lib/suseRegister/bin/cron_suse_register

The script cron_suse_register checks installed product flavor and existance of /var/lib/suseRegister/neverRegisterOnBoot. If all conditions are met it run suse_register with flag --batch, what in turn generates e-mail to root with Subject.

You can remove a cronjob, but it can return back with update of suseRegister package.


Updated on Fri Feb 24 10:12:09 IST 2017 More documentations here