bugzilla-daemon at bugzilla.mindrot.org
2009-Aug-05 04:09 UTC
[Bug 1627] New: SMF issues on sparse-root zones
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.
bugzilla-daemon at bugzilla.mindrot.org
2009-Aug-05 17:53 UTC
[Bug 1627] SMF issues on sparse-root zones
https://bugzilla.mindrot.org/show_bug.cgi?id=1627 Tim Rice <tim at multitalents.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tim at multitalents.net --- Comment #1 from Tim Rice <tim at multitalents.net> 2009-08-06 03:53:29 --- (In reply to comment #0)> 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.If you want to install the package directly into a sparse-zone, you will need to crate a package with the start/stop script in a different location. Create your openssh-config.local file with SMF_METHOD_DIR=/some/other/writable/dir -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Aug-05 18:10 UTC
[Bug 1627] SMF issues on sparse-root zones
https://bugzilla.mindrot.org/show_bug.cgi?id=1627 --- Comment #2 from mikee <mike.ellis at fmr.com> 2009-08-06 04:10:15 --- using: SMF_METHOD_DIR=/some/other/writable/dir to override the default seems a good way to go. I'm checking to see if there is a STANDARD/CONVENTION in terms of where to write method files in sparse-zone situations. If there is, a ./configuration variable of "--sparsezone=yes" could facilitate some of this for users. thanks, -- MikeE -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Aug-05 18:37 UTC
[Bug 1627] SMF issues on sparse-root zones
https://bugzilla.mindrot.org/show_bug.cgi?id=1627 --- Comment #3 from Tim Rice <tim at multitalents.net> 2009-08-06 04:37:18 --- (In reply to comment #2)> If there is, a > ./configuration variable of "--sparsezone=yes" could facilitate some of > this for users.I am not sure it is worth adding complexity to the configure script for purely packaging issues. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Mar-08 04:18 UTC
[Bug 1627] SMF issues on sparse-root zones
https://bugzilla.mindrot.org/show_bug.cgi?id=1627 Cory Erickson <cory.erickson at csu.mnscu.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cory.erickson at csu.mnscu.edu --- Comment #4 from Cory Erickson <cory.erickson at csu.mnscu.edu> 2011-03-08 15:18:09 EST --- The packaging needs some TLC: - zones should be using 'pkgcond' to check for writability - sparse zones should perhaps be inheriting global-zone installations via SUNW_PKG_ALLZONES=true and SUNW_PKG_THISZONE=false -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.