Mercurial > unleashed
changeset 20631:6b362c9fbf85
svc profiles: remove name_service/inetd_services.xml includes
these files are not shipped by any package, but are generally symlinks
created by caiman, an older version of kayak, or sysidcfg (none of which
we use any more).
right now the installer still creates generic.xml which is similarly not
part of any package. the system assumes that exists; for now that's
fine, but let's remove dependencies on the other links from generic.xml.
this commit also enables the network/dns/client service by default as
that's what the always-used (by kayak) ns_dns.xml profile did.
author | Lauri Tirkkonen <lotheac@iki.fi> |
---|---|
date | Tue, 17 Sep 2019 21:57:10 +0300 |
parents | a6932338f701 |
children | 534457457b96 |
files | usr/src/cmd/svc/profile/generic_limited_net.xml usr/src/cmd/svc/profile/generic_open.xml usr/src/lib/libresolv2/client.xml |
diffstat | 3 files changed, 1 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/svc/profile/generic_limited_net.xml Mon Sep 16 23:49:47 2019 +0300 +++ b/usr/src/cmd/svc/profile/generic_limited_net.xml Tue Sep 17 21:57:10 2019 +0300 @@ -39,11 +39,6 @@ <service_bundle type='profile' name='generic_limited_net' xmlns:xi='http://www.w3.org/2003/XInclude' > <!-- - Include name service profile, as set by system id tools. - --> - <xi:include href='file:/etc/svc/profile/name_service.xml' /> - - <!-- svc.startd(8) services --> <service name='system/coreadm' version='1' type='service'>
--- a/usr/src/cmd/svc/profile/generic_open.xml Mon Sep 16 23:49:47 2019 +0300 +++ b/usr/src/cmd/svc/profile/generic_open.xml Tue Sep 17 21:57:10 2019 +0300 @@ -36,11 +36,6 @@ <service_bundle type='profile' name='generic_open' xmlns:xi='http://www.w3.org/2003/XInclude' > <!-- - Include name service profile, as set by system id tools. - --> - <xi:include href='file:/etc/svc/profile/name_service.xml' /> - - <!-- svc.startd(8) services --> <service name='system/coreadm' version='1' type='service'> @@ -182,8 +177,4 @@ <instance name='default' enabled='true'/> </service> - <!-- - Include inetd(8) services profile. - --> - <xi:include href='file:/etc/svc/profile/inetd_services.xml' /> </service_bundle>