Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

svccfg and svcprop problems Solaris 10 1/13

98 views
Skip to first unread message

Hank

unread,
Aug 15, 2015, 3:40:36 PM8/15/15
to
I recently did an upgrade install from Solaris 10-u9 to u11 on an Ultra
20M2.

I have two problems involving using svccfg to change parameters and
using svcprop to view the changes.

1. Sendmail. The install defaulted to config/local_only true
I used the svccfg string in the manpage to set this to false.
However, svcprop still reports falls. I've run svccfg interactively to
try to change this.

Here are current reports from the two utilities
svc:/network/smtp:sendmail> listprop config/local_only
config/local_only boolean false

svcprop -p config/local_only /network/smtp:sendmail
true

I have hacked /lib/svc/method/smtp-sendmail to set the -bd flag instead
of -bl to get sendmail functioning. The test used in that script is the
svcprop return, so the -bd hack is needed.

2. rpcbind. same behavior as above for config/local_only. Fortunately,
tcp_wrappers is enabled by default, and rpcbind seems to be operating
blocked by hosts.deny.

How do I get svcprop to report these changes, and get the functionality
I want?

Hank

John D Groenveld

unread,
Aug 15, 2015, 4:02:19 PM8/15/15
to
In article <mqo4ga$3g6$1...@dont-email.me>,
Hank <han...@blackhole.lostwells.org> wrote:
>I have two problems involving using svccfg to change parameters and
>using svcprop to view the changes.
>
>1. Sendmail. The install defaulted to config/local_only true
>I used the svccfg string in the manpage to set this to false.
>However, svcprop still reports falls. I've run svccfg interactively to
>try to change this.
>
>Here are current reports from the two utilities
>svc:/network/smtp:sendmail> listprop config/local_only
>config/local_only boolean false
>
>svcprop -p config/local_only /network/smtp:sendmail
>true

Did you refresh per sendmail(1M)?
# svccfg -s svc:/network/smtp:sendmail setprop config/local_only = false
# svcadm refresh svc:/network/smtp:sendmail
# svcadm restart svc:/network/smtp:sendmail

John
groe...@acm.org

Hank

unread,
Aug 15, 2015, 5:24:42 PM8/15/15
to
In article <mqo5s8$u00u$1...@tr22n12.aset.psu.edu>,
John, thanks for pointing out this small step that I hadn't run.
It's in the man pages for both sendmail and rpcbind, and appears to have
solved the problem for both. I tested sendmail by removing the hack
from the startup file and restarting it, and got the desired -bd flag.

Thanks again for pointing out one of the frontiers of the obvious.

Hank
0 new messages