Project

General

Profile

Actions

Bug #11013

closed

Creating a user without home directory fails

Added by Benoît PECCATTE almost 7 years ago. Updated over 4 years ago.

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

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.

Actions #1

Updated by Benoît PECCATTE almost 7 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
Actions #2

Updated by Benoît PECCATTE almost 7 years ago

  • Priority changed from 54 to 70
Actions #3

Updated by Benoît PECCATTE almost 7 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.

Actions #4

Updated by Benoît PECCATTE over 6 years ago

  • Priority changed from 50 to 48
Actions #5

Updated by Nicolas CHARLES almost 5 years ago

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

targeting to 5.0 to test

Actions #6

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.13 to 5.0.14
Actions #7

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.14 to 5.0.15
Actions #8

Updated by François ARMAND over 4 years ago

  • Effort required set to Very Small
Actions #9

Updated by Nicolas CHARLES over 4 years ago

  • Assignee set to Nicolas CHARLES
Actions #10

Updated by Nicolas CHARLES over 4 years 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

Actions #11

Updated by Nicolas CHARLES over 4 years ago

  • Status changed from New to In progress
Actions #12

Updated by Nicolas CHARLES over 4 years 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
Actions #13

Updated by Nicolas CHARLES over 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #14

Updated by Vincent MEMBRÉ over 4 years ago

  • Fix check set to To do
Actions #15

Updated by Vincent MEMBRÉ over 4 years ago

  • Name check set to To do
Actions #16

Updated by Alexis Mousset over 4 years ago

  • Name check changed from To do to Reviewed
Actions #17

Updated by Alexis Mousset over 4 years ago

  • Fix check changed from To do to Checked
Actions #18

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF