Project

General

Profile

Actions

Bug #17903

closed

arvados-login-sync fails on centos 7

Added by Javier Bértoli almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Login
Target version:
Story points:
-
Release relationship:
Auto

Description

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.

Subtasks 1 (0 open1 closed)

Task #17943: review 17903-login-sync-centos7ResolvedJavier Bértoli07/27/2021Actions
Actions #1

Updated by Ward Vandewege over 2 years ago

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

Updated by Ward Vandewege over 2 years ago

  • Release set to 41
Actions #3

Updated by Ward Vandewege over 2 years ago

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

Actions #4

Updated by Javier Bértoli over 2 years ago

It lgtm.

Actions #5

Updated by Ward Vandewege over 2 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF