tableflip / guvnor

A node process manager that isn't spanners all the way down
MIT License
430 stars 37 forks source link

boss starts processes with incorrect group #14

Closed alanshaw closed 9 years ago

alanshaw commented 9 years ago
sh-3.2# NODE_ENV=production bs start /Users/alan/Code/project/keystone.js -u alan -g admin --name project -v
debug: Loaded config from 0=/usr/local/lib/node_modules/process-boss/bossrc
debug: Will attempt to connect or start daemon
debug: Found socket at /var/run/boss/user.socket
debug: Connecting to daemon on /var/run/boss/user.socket
debug: Connected to daemon
debug: Timeoutifying remote method startProcess
debug: Timeoutifying remote method listProcesses
debug: Timeoutifying remote method setClusterWorkers
debug: Timeoutifying remote method findProcessInfoById
debug: Timeoutifying remote method findProcessInfoByPid
debug: Timeoutifying remote method dumpProcesses
debug: Timeoutifying remote method restoreProcesses
debug: Timeoutifying remote method sendSignal
debug: Exposing server user methods
debug: Found socket at /var/run/boss/admin.socket
debug: Connecting to daemon on /var/run/boss/admin.socket
debug: Connected to daemon
debug: Timeoutifying remote method kill
debug: Timeoutifying remote method remoteHostConfig
debug: Timeoutifying remote method addRemoteUser
debug: Timeoutifying remote method removeRemoteUser
debug: Timeoutifying remote method listRemoteUsers
debug: Timeoutifying remote method rotateRemoteUserKeys
debug: Exposing server admin methods
debug: Starting process /Users/alan/Code/project/keystone.js user=alan, group=admin, name=project, argv=[], execArgv=[]
debug: boss:log:debug date=1417004531834, message=Creating process info /Users/alan/Code/project/keystone.js
debug: boss:log:debug date=1417004533485, message=Creating remote process to connect to /var/run/boss/processes/7543
debug: boss:log:debug date=1417004533502, message=Connected to remote
debug: boss:log:debug date=1417004533502, message=Creating remote method startDnodeServer
debug: boss:log:debug date=1417004533502, message=Creating remote method kill
debug: boss:log:debug date=1417004533502, message=Creating remote method restart
debug: boss:log:debug date=1417004533503, message=Creating remote method send
debug: boss:log:debug date=1417004533504, message=Creating remote method reportStatus
debug: boss:log:debug date=1417004533504, message=Creating remote method dumpHeap
debug: boss:log:debug date=1417004533504, message=Creating remote method forceGc
info: /Users/alan/Code/project/keystone.js started with pid 7543
debug: Disconnecting from daemon
debug: Disconnected from daemon
debug: Disconnecting from daemon
debug: Disconnected from daemon
sh-3.2# bs
pid  user group name            uptime    restarts cpu  rss     heap size heap used status  type    
7444 alan staff project 7 minutes 0        0.00 115.1MB 88.3MB    53.1MB    running Process 
sh-3.2# 
alanshaw commented 9 years ago

Seems to be the first time you ever start a process with a user/group that isn't you

achingbrain commented 9 years ago

Closing because the mists of time cloud the issue. If you see this happen again, please re-open.