Bug #160

netservices contains a call for non-existent services

Added by Alexander Eremin almost 5 years ago. Updated almost 5 years ago.

Status:ResolvedStart date:2010-09-06
Priority:NormalDue date:2010-09-20
Assignee:Alexander Eremin% Done:

100%

Category:-Estimated time:12.00 hours
Target version:-
Difficulty: Tags:

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 Magnifier (3.4 KB) Alexander Eremin, 2010-09-06 04:30 AM

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

mail_msg (38.3 KB) Alexander Eremin, 2010-09-17 01:45 AM

mail_msg (1.96 KB) Alexander Eremin, 2010-09-19 04:29 AM

160hg.txt Magnifier (900 Bytes) Alexander Eremin, 2010-09-19 04:29 AM

History

#1 Updated by Garrett D'Amore almost 5 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.

#2 Updated by Garrett D'Amore almost 5 years ago

  • Assignee set to Alexander Eremin

#3 Updated by Alexander Eremin almost 5 years ago

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

#4 Updated by Alexander Eremin almost 5 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

#5 Updated by Alexander Eremin almost 5 years ago

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

#6 Updated by Alexander Eremin almost 5 years ago

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

#7 Updated by Alexander Eremin almost 5 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