Project

General

Profile

Actions

Bug #160

closed

netservices contains a call for non-existent services

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

Status:
Resolved
Priority:
Normal
Category:
-
Start date:
2010-09-06
Due date:
2010-09-20
% Done:

100%

Estimated time:
12.00 h
Difficulty:
Tags:
Gerrit CR:

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


Files

netservices.sh.diff (3.4 KB) netservices.sh.diff Alexander Eremin, 2010-09-06 04:30 AM
hg.txt (881 Bytes) hg.txt hg output Alexander Eremin, 2010-09-17 01:45 AM
mail_msg (38.3 KB) mail_msg Alexander Eremin, 2010-09-17 01:45 AM
mail_msg (1.96 KB) mail_msg Alexander Eremin, 2010-09-19 04:29 AM
160hg.txt (900 Bytes) 160hg.txt Alexander Eremin, 2010-09-19 04:29 AM
Actions #1

Updated by Garrett D'Amore over 10 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.

Actions #2

Updated by Garrett D'Amore over 10 years ago

  • Assignee set to Alexander Eremin
Actions #3

Updated by Alexander Eremin over 10 years ago

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

Actions #4

Updated by Alexander Eremin over 10 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

Actions #5

Updated by Alexander Eremin over 10 years ago

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

Actions #6

Updated by Alexander Eremin over 10 years ago

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

Actions #7

Updated by Alexander Eremin over 10 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 h

Fixed in changeset:13191:0b65a6e42434

Actions

Also available in: Atom PDF