Re: To Mac users: Change default user in Jenkins installer?

2012-04-08 Thread Sami Tikka
Uu, that might be difficult. AFAIK the latest package version does not
allow plugins anymore. Earlier it was possible to write an installer
plugin that could add new steps to the installer wizard interface. If
this really is an important requirement, we should re-think the
decision to distribute Jenkins as Installer package.

These days Apple seems to be favoring the application bundle approach.
E.g. they have set up all the developer tools into the Xcode.app
bundle. Maybe we should have an app that users could run and the app
could ask how you want to set up Jenkins on the Mac?

-- Sami

2012/4/8 domi :
> Sami,
> +1 for drop of the deamon, but I would prefer I could choose the name of the 
> user…
> The reason is, that at some companies your' not free to choose the users you 
> want to have created on your system.
> Domi
>
> On 07.04.2012, at 23:50, Sami Tikka wrote:
>
>> If you are not using the Jenkins Mac installer, this message is of
>> little interest to you. Feel free to move along.
>>
>> Some background:
>>
>> The original Jenkins Mac installer set up Jenkins running as user
>> "daemon". This was easy because the user "daemon" already exists on
>> all Macs. In other ways this turned out to be a bad move because the
>> daemon user has a home directory that it does not own, which makes it
>> difficult to do some things like set up ssh for Jenkins.
>>
>> Version 1.449 of the Mac installer for Jenkins introduced a new
>> installer customization: the possibility to choose to create a new
>> user called "jenkins" and set up Jenkins running under that account.
>> The home directory for that user was /Users/Shared/Jenkins, and it was
>> writable for the user. /Users/Shared/Jenkins/Home, which is used for
>> JENKINS_HOME, was chowned from user "daemon" to user "jenkins".
>>
>> This was an optional installation customization and the default
>> installation still sets up Jenkins running as user "daemon".  I did
>> not dare change the default in case it would break something.
>>
>> The Question:
>>
>> We are now planning to make some changes to the Mac installer and
>> while at it, I'm considering should we change the default user from
>> daemon to jenkins.
>>
>> As far as I know, it is safe to create the new jenkins user and chown
>> all files to the new user. I do not know why it should not be the
>> default and why the choice of running Jenkins as user "daemon" could
>> not be dropped altogether.
>>
>> What does the Jenkins Mac user community think? Do you have something
>> in your Jenkins setup that depends on being run as user "daemon"? What
>> would break if Jenkins runs as user "jenkins"? Please stop me now
>> before it is too late :)
>>
>> -- Sami
>


Re: To Mac users: Change default user in Jenkins installer?

2012-04-08 Thread domi
Sami,
+1 for drop of the deamon, but I would prefer I could choose the name of the 
user…
The reason is, that at some companies your' not free to choose the users you 
want to have created on your system.
Domi

On 07.04.2012, at 23:50, Sami Tikka wrote:

> If you are not using the Jenkins Mac installer, this message is of
> little interest to you. Feel free to move along.
> 
> Some background:
> 
> The original Jenkins Mac installer set up Jenkins running as user
> "daemon". This was easy because the user "daemon" already exists on
> all Macs. In other ways this turned out to be a bad move because the
> daemon user has a home directory that it does not own, which makes it
> difficult to do some things like set up ssh for Jenkins.
> 
> Version 1.449 of the Mac installer for Jenkins introduced a new
> installer customization: the possibility to choose to create a new
> user called "jenkins" and set up Jenkins running under that account.
> The home directory for that user was /Users/Shared/Jenkins, and it was
> writable for the user. /Users/Shared/Jenkins/Home, which is used for
> JENKINS_HOME, was chowned from user "daemon" to user "jenkins".
> 
> This was an optional installation customization and the default
> installation still sets up Jenkins running as user "daemon".  I did
> not dare change the default in case it would break something.
> 
> The Question:
> 
> We are now planning to make some changes to the Mac installer and
> while at it, I'm considering should we change the default user from
> daemon to jenkins.
> 
> As far as I know, it is safe to create the new jenkins user and chown
> all files to the new user. I do not know why it should not be the
> default and why the choice of running Jenkins as user "daemon" could
> not be dropped altogether.
> 
> What does the Jenkins Mac user community think? Do you have something
> in your Jenkins setup that depends on being run as user "daemon"? What
> would break if Jenkins runs as user "jenkins"? Please stop me now
> before it is too late :)
> 
> -- Sami



To Mac users: Change default user in Jenkins installer?

2012-04-07 Thread Sami Tikka
If you are not using the Jenkins Mac installer, this message is of
little interest to you. Feel free to move along.

Some background:

The original Jenkins Mac installer set up Jenkins running as user
"daemon". This was easy because the user "daemon" already exists on
all Macs. In other ways this turned out to be a bad move because the
daemon user has a home directory that it does not own, which makes it
difficult to do some things like set up ssh for Jenkins.

Version 1.449 of the Mac installer for Jenkins introduced a new
installer customization: the possibility to choose to create a new
user called "jenkins" and set up Jenkins running under that account.
The home directory for that user was /Users/Shared/Jenkins, and it was
writable for the user. /Users/Shared/Jenkins/Home, which is used for
JENKINS_HOME, was chowned from user "daemon" to user "jenkins".

This was an optional installation customization and the default
installation still sets up Jenkins running as user "daemon".  I did
not dare change the default in case it would break something.

The Question:

We are now planning to make some changes to the Mac installer and
while at it, I'm considering should we change the default user from
daemon to jenkins.

As far as I know, it is safe to create the new jenkins user and chown
all files to the new user. I do not know why it should not be the
default and why the choice of running Jenkins as user "daemon" could
not be dropped altogether.

What does the Jenkins Mac user community think? Do you have something
in your Jenkins setup that depends on being run as user "daemon"? What
would break if Jenkins runs as user "jenkins"? Please stop me now
before it is too late :)

-- Sami