I'm interested in using Propellor on OS X. I understand that it is not supported though.
Is there anyone doing this? If it was developed, would support for OS X be merged upstream?
Thanks!
I'm interested in using Propellor on OS X. I understand that it is not supported though.
Is there anyone doing this? If it was developed, would support for OS X be merged upstream?
Thanks!
I got a patch some years back to make propellor compile on OSX. I merged it. You might want to get in touch with its author, as he may be doing something with propellor on OSX. https://github.com/tittoassini/propellor
Anyway, I'd probably merge OSX patches, if they were not super intrusive. And I don't see why it would be, as propellor already supports FreeBSD.
Since
Property
is parameterized by the operating systems it supports, it should be easy to start by only porting the core parts of propellor, and then port over individual Properties one by one as needed. See the commits for the recent FreeBSD port for a nice walkthough of the changes you'll want to make.Sounds good. I contacted the person you linked to, have not heard back yet.
The first issue I ran into is that propellor wants to connect to "root@", and it doesn't look like this is configurable. Would you accept a patch to make this configurable?
Additionally, is this the best place to ask questions about what you would/would not accept?
Thank you!!!
Yes, this is the place. Or you can email me directly, but I prefer to keep discussions public.
propellor --spin
needs a way to run commands as root on the remote host. If ssh as root on OSX is not allowed, it would need a way to get to a user who can get root, and it would be very annoying if a password needed to be entered since eachpropellor --spin
actually makes several ssh connections to the remote host. Anything that works within these constraints would be ok.So, it turns out that yes, root is a thing on os x... but it is complicated. I'm going to put what I learned here because I think it will be useful, at least for telling folks how to use propellor on os x.
ssh root@localhost
, it wont work. you need a key pair..ssh/id_rsa.pub
) to roots authorized_keys. adapted from: https://discussions.apple.com/thread/4078360?start=0&tstart=0sudo cp /Users/joel/.ssh/id_rsa.pub /var/root/.ssh/authorized_keys
ssh root@localhost
without a password.I'm not super sure that this is even the best way forward, but lets get this working first, then we'll see.