[Box-Admins] Re: source.squeak.org is ready to switch

Tobias Pape Das.Linux at gmx.de
Thu Oct 20 20:31:06 UTC 2016


On 20.10.2016, at 22:15, Chris Muller <ma.chris.m at gmail.com> wrote:

> Sigh.
> 
> 
> > We can do /srv/sourcesqueakorg/webserver if you want.
> 
> Sounds good!
> 
> In trying to move the users home dir:
> ----------------
> sudo usermod --move-home --home /srv/sourcesqueakorg squeaksource
> usermod: user squeaksource is currently used by process 9095
> ----------

Please do not do that.

/srv/sourcesqueakorg is the home folder of the sourcesqueakorg user:

/etc/passwd:
sourcesqueakorg:x:100002:65534:source.squeak.org SqueakSource,,,:/srv/sourcesqueakorg:/bin/bash
squeaksource:x:1005:1005:,,,:/srv/sourcesqueakorg/box4/squeaksource/:/bin/bash

Also, please use the designated service user sourcesqueakorg, which already has the correct home dir and
assigned uid.

Sorry I haven't seen this earlier :/


> 
> Its daemontools' multilog process for the service.
> 
> ----------
> ps -ef | grep 9095
> chrismu+  5917  5471  0 20:06 pts/0    00:00:00 grep 9095
> squeaks+  9095  9094  0 Oct13 ?        00:00:00 multilog t ./main
> -----------
> 
> Okay, stop it:
> 
> ---------------
> sudo svc -d /service/squeaksource/log
> sudo svstat /service/squeaksource/log
> /service/squeaksource/log: up (pid 9095) 668663 seconds, want down
> ---------------
> 
> Hmm, why still up?  Kill it?
> ------------
> sudo kill 9095
> ps -ef | grep 9095
> chrismu+  6034  5471  0 20:08 pts/0    00:00:00 grep 9095
> squeaks+  9095  9094  0 Oct13 ?        00:00:00 multilog t ./main
> ------------
> 
> Still there, what now?  I don't want to get daemontools into a bad state where I can't get it to start back up..

I stopped it.

Please only start it after having switched to the designated user :)

Thank and best regards
	-Tobias


More information about the Box-Admins mailing list