Bug #17903

arvados-login-sync fails on centos 7

Added by Javier Bértoli 2 months ago. Updated about 2 months ago.

Assigned To:
Target version:
Start date:
Due date:
% Done:


Estimated time:
(Total: 0.00 h)
Story points:
Release relationship:


On Centos7 arvados-login-sync fails to manage the users correctly because the commands used to manage the user (adduser, deluser) either do not exist or take different parameters formats:

  • When managing groups:
    • adduser is used in the script to add the user to groups, with the syntax:
              system("adduser", username, addgroup)

      which translates to
      adduser username addgroup

      This format is invalid in Centos, and results on the script returning the help page for each command
    • deluser is used to remove the user from groups. This command does not exist in Centos.
              system("deluser", username, removegroup)

      returns with an error.


Task #17943: review 17903-login-sync-centos7ResolvedJavier Bértoli

Associated revisions

Revision a1265223
Added by Ward Vandewege about 2 months ago

Merge branch '17903-login-sync-centos7'

closes #17903

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <>


#1 Updated by Ward Vandewege about 2 months ago

  • Target version set to 2021-08-04 sprint
  • Assigned To set to Ward Vandewege
  • Status changed from New to In Progress

#2 Updated by Ward Vandewege about 2 months ago

  • Release set to 41

#3 Updated by Ward Vandewege about 2 months ago

Ready for review at b0a22cf565ffdc9fcc04dcbb3ae875ae36f7411c on branch 17903-login-sync-centos7

#4 Updated by Javier Bértoli about 2 months ago

It lgtm.

#5 Updated by Ward Vandewege about 2 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF