-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SmartOS can't install SVR4-style Solaris packages #321
Comments
FYI, I've done the pkgtrans excercise on SmartOS and the omnibus build still fails due to some missing libs, or libs at the wrong path (I forget which). |
@bixu Yeah I think we might need to do special builds for SmartOS. Please add your comments/support to chef-boneyard/chef-rfc#21 which is our aspirational platform support policy. |
I totally get that. I'm still a bit confused about how the RFC process works. Do I just add comments to the discussion? |
@bixu Yup. |
Done. Thanks! |
We're having the exact issue with Solaris 11.1 x.x.1.203 downloading https://www.opscode.com/chef/metadata?v=11.12.4&prerelease=false&nightlies=false&p=solaris2&pv=5.11&m=i386 uname -a |
Temporarily linking pkadd to /usr/bin: cd /usr/bin So that pkgadd is in the path of a normal user seems to temporarily fix it |
IIRC, Chef engineering is using Vagrant as part of the Omnibus Chef build process. If this is true, then this work may help: https://github.com/vagrant-smartos/vagrant-smartos-zones |
Same issue here...
|
What needs to happen for us to have an auto generated chef omnibus install for SmartOS? I would like to keep Chef as a first-class SmartOS citizen (developer momentum at $job is moving towards Ansible lately). I'd like Chef to remain an equally valid choice :) |
I would love to get chef working with omnibus on SmartOS... if there is anything I can do to help, or testing needed, etc. let me know i'm happy to help resolve this issue. |
What we are in need of is some patches here. To start, you probably need to make a packager definition for SmartOS, if the toolchain is different than After that, you can wire it into the platform packager map and try to omnibus-build a Chef client using the omnibus-chef project. Chances are, a native SmartOS build won't quite work because of Solaris conditionals, but it shouldn't be too much work to add that into the omnibus-chef project definition. It's unlikely that Chef Software, Inc. will have paid developer resources to put into this effort, as SmartOS is not a platform used by very many customers, but we would definitely take community patches. Hopefully the foregoing is enough for those who are interested to go on! |
Great, thank you for the information @juliandunn I'm currently attempting to run I do have a question regarding the package building process however. From what I understand about packaging on SmartOS, the prefix defaults to |
@bahamas10 I've got a real need for omnibus chef on SmartOS, so if you ever want to remote pair on this stuff, let me know. I'm in the Berlin timezone. |
@bahamas10 I've never seen a packaging system enforce that packages can only be installed to a particular hierarchy. Omnibus assumes that the package will live in |
|
@bixu me too.. i'm in New York timezone but would be happy to sit down and try to nail this down. @juliandunn I believe Either way, like @bixu mentioned it's a moot point, because worst case scenario there could be a post install script to |
Just to get an updated todo
To expand on section 1, we need to fix the bugs that are currently stopping this from working
If someone knows how to use those branches when running |
Couple options for you to proceed:
|
@juliandunn, thanks for the tips. @bahamas10, when do you want to remote-pair on this? thinking screenhero here - drop me an email via my GitHub profile? |
@bixu I am needing to have a SmartOS omnibus package, let me know if you need an extra pair of hands. |
FWIW these steps can get ruby and chef compiled and installed to |
Let me try this again in the right repo...
SmartOS does not have the old Solaris
pkgadd
commands as it uses BSD pkgsrc under the covers. Thus, our attempt to coerce it into installing a SVR4-type .pkg file is actually incorrect.If we actually do intend to support SmartOS in the context of the platform support RFC, then we would need to build native pkgsrc packages for it. (You could
pkgtrans
the Solaris ones to it as part of CI or something, as a cheap trick.)The text was updated successfully, but these errors were encountered: