Project

General

Profile

Bug #11013

Creating a user without home directory fails

Added by Benoît PECCATTE over 2 years ago. Updated about 2 months ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Very Small
Priority:
0

Description

I found this bug in Rudder version 4.1

This bug happens when you create a user with the user technique. If you don't check the "default home" checkbox and don't put a value for home dir, an error happens.

It should just create a user without home directory.

Associated revisions

Revision de19cf0b (diff)
Added by Nicolas CHARLES 3 months ago

Fixes #11013: Creating a user without home directory fails

History

#1

Updated by Benoît PECCATTE over 2 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Getting started - demo | first install | level 1 Techniques
  • Priority changed from 0 to 54
#2

Updated by Benoît PECCATTE over 2 years ago

  • Priority changed from 54 to 70
#3

Updated by Benoît PECCATTE over 2 years ago

  • Description updated (diff)
  • Severity changed from Major - prevents use of part of Rudder | no simple workaround to Minor - inconvenience | misleading | easy workaround
  • Priority changed from 70 to 50

There is no user without home.
We can make a better message in case of error.

#4

Updated by Benoît PECCATTE about 2 years ago

  • Priority changed from 50 to 48
#5

Updated by Nicolas CHARLES 7 months ago

  • Target version set to 5.0.13
  • Priority changed from 48 to 0

targeting to 5.0 to test

#6

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 5.0.13 to 5.0.14
#7

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 5.0.14 to 5.0.15
#8

Updated by François ARMAND 3 months ago

  • Effort required set to Very Small
#9

Updated by Nicolas CHARLES 3 months ago

  • Assignee set to Nicolas CHARLES
#10

Updated by Nicolas CHARLES 3 months ago

unticking the "use the default home directory" and leaving empty the home directory fails, as it consider that the home is valid (The user XXXXX home directory is valid), and tries to run

/usr/sbin/useradd   -m  -s /bin/bash -d  XXXXX

#11

Updated by Nicolas CHARLES 3 months ago

  • Status changed from New to In progress
#12

Updated by Nicolas CHARLES 3 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1560
#13

Updated by Nicolas CHARLES 3 months ago

  • Status changed from Pending technical review to Pending release
#18

Updated by Vincent MEMBRÉ about 2 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.15 which was released today.

Also available in: Atom PDF