]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Update Solaris smf file (Issue #368)
authorMichael R Sweet <michael.r.sweet@gmail.com>
Thu, 7 Apr 2022 16:10:29 +0000 (12:10 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Thu, 7 Apr 2022 16:10:29 +0000 (12:10 -0400)
CHANGES.md
scheduler/cups.xml.in

index 8c230ffe91f03fc5be872d84519960c1fca6b9e8..0e6331d22cc9a6c00f407a4fe620ac4b0a82e75d 100644 (file)
@@ -13,6 +13,7 @@ Changes in CUPS v2.4.2 (TBA)
 - mDNS hostname in device uri is not resolved when installaling a permanent
   IPP Everywhere queue (Issues #340, #343)
 - Re-added LibreSSL/OpenSSL support (Issue #362)
+- Updated the Solaris smf service file (Issue #368)
 
 
 Changes in CUPS v2.4.1 (27th January 2020)
index f797960da28d71131106dc01d9120e7bbc7fd1a1..727bceba2ffe37337b95a76db3b1ed3e7c82ff15 100644 (file)
@@ -41,7 +41,6 @@
         <service_fmri value='svc:/network/loopback' />
     </dependency>
 
-
     <dependency
         name='network'
         grouping='optional_all'
     </dependency>
 
     <dependency
-        name='lpsched'
-        grouping='exclude_all'
-        restart_on='none'
+        name='identity-cert'
+        grouping='require_all'
+        restart_on='refresh'
         type='service'>
-        <service_fmri value='svc:/application/print/server' />
+        <service_fmri value='svc:/system/identity:cert'/>
     </dependency>
 
     <exec_method
@@ -64,7 +63,7 @@
         exec=':kill'
         timeout_seconds='60' />
 
-    <instance name='default' enabled='false' >
+    <instance name='default' enabled='true' >
 
         <dependency
             name='config_data'
         </exec_method>
 
         <property_group name='general' type='framework'>
+            <propval name='active' type='boolean'
+                value='true' />
             <propval name='action_authorization' type='astring'
                 value='solaris.smf.manage.cups' />
             <propval name='value_authorization' type='astring'
-                value='solaris.smf.value.cups' />
+                value='solaris.smf.manage.cups' />
+           <!-- sub-process core dumps shouldn't restart session -->
+           <propval name='ignore_error' type='astring' value='core,signal' />
         </property_group>
 
         <template>
         <service_fmri value='svc:/milestone/network' />
     </dependency>
 
-    <dependency
-        name='in-lpd'
-        grouping='exclude_all'
-        restart_on='none'
-        type='service'>
-        <service_fmri value='svc:/application/print/rfc1179' />
-    </dependency>
-
     <exec_method
         type='method'
         name='stop'
         exec=':kill'
         timeout_seconds='60' />
 
-    <instance name='default' enabled='false' >
+    <instance name='default' enabled='true' >
         <dependency
             name='cupsd'
             grouping='require_all'
             <propval name='action_authorization' type='astring'
                 value='solaris.smf.manage.cups' />
             <propval name='value_authorization' type='astring'
-                value='solaris.smf.value.cups' />
+                value='solaris.smf.manage.cups' />
         </property_group>
 
         <template>