Bug #160

netservices contains a call for non-existent services

Added by Alexander Eremin over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2010-09-06
Priority:Normal Due date:2010-09-20
Assignee:Alexander Eremin % Done:

100%

Category:- Spent time: 10.00 hours
Target version:- Estimated time:12.00 hours
Difficulty:Medium Tags:needs-triage

Description

/usr/sbin/netservices still contains a call for non-existent services like cde-login, dtlogin and wbem:

pfexec netservices open
svcprop: Couldn't find property group `dtlogin' for service `svc:/application/graphical-login/cde-login'.
svccfg: No such property group "dtlogin".
svcadm: Pattern 'svc:/application/graphical-login/cde-login' doesn't match any instances
restarting syslogd
restarting sendmail
svcprop: Pattern 'svc:/application/management/wbem:default' doesn't match any entities
...

These calls can be easily removed, quick fix is attached

netservices.sh.diff (3.4 kB) Alexander Eremin, 09/06/2010 04:30 am

hg.txt - hg output (881 Bytes) Alexander Eremin, 09/17/2010 01:45 am

mail_msg (38.3 kB) Alexander Eremin, 09/17/2010 01:45 am

mail_msg (2 kB) Alexander Eremin, 09/19/2010 04:29 am

160hg.txt (900 Bytes) Alexander Eremin, 09/19/2010 04:29 am

History

Updated by Garrett D'Amore over 3 years ago

The netservices command is marked Obsolete. In my opinion, it would be simpler & better to just remove it. Please run a proposal by for it.

Updated by Garrett D'Amore over 3 years ago

  • Assignee set to Alexander Eremin

Updated by Alexander Eremin over 3 years ago

Please review fix for this,
webrev is here: http://cr.illumos.org/view/4076vod0/

Updated by Alexander Eremin over 3 years ago

  • % Done changed from 0 to 20

Sorry, forgot remove entry from SUNWcs.mf.
Updated webrev's here:
http://cr.illumos.org/view/hae6vk42

Updated by Alexander Eremin over 3 years ago

Final webrev: http://cr.illumos.org/view/uj0rz746/
mail_msg and hg output attached.

Updated by Alexander Eremin over 3 years ago

Retested on fresh gate, fixed scripts filemode,
webrev http://cr.illumos.org/view/3i07cxb4/

Updated by Alexander Eremin over 3 years ago

  • Due date set to 2010-09-20
  • Status changed from New to Resolved
  • % Done changed from 20 to 100
  • Estimated time set to 12.00

Fixed in changeset:13191:0b65a6e42434

Also available in: Atom PDF