[Bug 1627] New: SMF issues on sparse-root zones
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Wed Aug 5 14:09:19 EST 2009
https://bugzilla.mindrot.org/show_bug.cgi?id=1627
Summary: SMF issues on sparse-root zones
Product: Portable OpenSSH
Version: 5.2p1
Platform: Sparc
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: mike.ellis at fmr.com
I was REALLY impressed by your make-system, where "make package"
produces a Solaris package. very very slick. SMF integration ontop of
that.. GET OUT!!! (Redonkulous as Tyra would say)
But alas I found a bug I'd like to report.
--
Basically if you install the package directly into a sparse-zone, SMF
can't go putting things in /lib///// as that is a read-only
directory/fs that it can't write into. If we're in a sparse-root local
zone (and that could be anytime really), only /var, /opt, and
potentially /etc are in play.
To be clear -- the manifest appears to load well, and looks good in
/var/svc -- its the location of the start-method defined in the openSSH
manifest that isn't sparse-root zone compatible.
<exec_method
name='start'
type='method'
exec='/lib/svc/method/site/opensshd start' <--- bad mojo
timeout_seconds='60'>
<method_context/>
</exec_method>
Adjusting to:
exec='/opt/OpenSSH/lib/svc/method/site/opensshd start'
(where /opt/OpenSSH is the --prefix) does the trick
[ Aug 4 23:42:54 Executing start method
("/lib/svc/method/site/opensshd start") ]
/sbin/sh: /lib/svc/method/site/opensshd: not found
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list