[CentOS-devel] pending updates notification on login

Karanbir Singh

mail-lists at karan.org
Thu Jun 12 13:11:54 UTC 2014


On 06/12/2014 01:16 PM, Ljubomir Ljubojevic wrote:
> On 06/12/2014 12:38 PM, Karanbir Singh wrote:
>> hi,
>>
>> I'd really like to have something where a user, on login to the vm or
>> machine instance is told 'you have XX pending updates'. the data can
>> come from a yum-plugin writing something somewhere ( so its not a case
>> of running yum on each login ).
>>
>> Who wants to take a stab at writing something for this ?
>>
>> - KB
>>
> 
> For CentOS 6 there are gpk-update-viewer and gpk-update-icon commands.
> 
> gpk-update-icon is for noticication there is something to update (orange 
> 8-point star), that command can be added to Startup Applications, and 
> gpk-update-viewer is what you get when you click on the star.
> 
> have you had something else on the mind? Or for CentOS 7 perhaps?
> 

mostly looking to target VM's and cloudinstances that have barely enough
to get yum and openssh-server running, so a yum plugin with an output
that sends to motd work work best

-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
GnuPG Key : http://www.karan.org/publickey.asc



More information about the CentOS-devel mailing list