[OpenIndiana-discuss] webmin install "faillure"
Alan Coopersmith
alan.coopersmith at oracle.com
Sun Dec 19 05:15:53 UTC 2010
On 12/18/10 07:21 AM, Roelof van der Wal wrote:
> After installing webmin via pkg install pkg:/system/management/webmin at 1.510-0.148 and running setup.sh it ends with a failure on importing the svc xml.
>
>
> svccfg: Unable to stat file /var/svc/manifest/application/management/webmin.xml. No such file or directory
> Attempting to start Webmin mini web server..
> svcadm: Pattern 'application/management/webmin' doesn't match any instances
> ERROR: Failed to start web server!
>
> The correct webmin.xml is located at /lib/svc/manifest/application/management/webmin.xml
> After importing that it Works as a charm.
Yep, the path in the webmin script didn't get updated when the SMF manifests
were moved from /var/svc to /lib/svc in SFW in build 140.
I've filed the following bug report against the upstream/opensolaris SFW
version. OI can of course apply the obvious fix as a downstream patch
before that's fixed. (The bug report should appear on bugs.opensolaris.org
in a day or two, since the bug view there only resyncs to the internal master
once a day.)
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
*Change Request ID*: 7007858
*Synopsis*: webminsetup looking for SMF manifest in wrong directory since EMI
moved it
Product: solaris
Category: utility
Subcategory: webmin
Type: Defect
Subtype:
Status: 1-Dispatched
Substatus:
Priority: 3-Medium
Introduced In Release:
Introduced In Build:
Keywords:
=== *Description* ============================================================
The webmin smf manifest was moved from /var/svc to /lib/svc with the
rest of the SFW SMF manifests by CR 6939380 in snv_140.
The webminsetup script is still looking for it in /var/svc though,
resulting in this failure:
Running postinstall scripts ..
..done
svccfg: Unable to stat file /var/svc/manifest/application/management/webmin.xml.
No such file or directory
Attempting to start Webmin mini web server..
svcadm: Pattern 'application/management/webmin' doesn't match any instances
ERROR: Failed to start web server!
*** (#1 of 1): 2010-12-19 05:08:32 GMT+00:00 alan.coopersmith at oracle.com
=== *Public Comments* ========================================================
=== *Workaround* =============================================================
Change /var to /lib in this line in /usr/sfw/lib/webmin/setup-post.sh:
svccfg import /var/svc/manifest/application/management/webmin.xml
*** (#1 of 1): 2010-12-19 05:08:32 GMT+00:00 alan.coopersmith at oracle.com
=== *Additional Details* =====================================================
Targeted Release: solaris_nevada
Commit To Fix In Build:
Fixed In Build:
Integrated In Build:
Verified In Build:
See Also: 6939380
Duplicate of:
More information about the OpenIndiana-discuss
mailing list