Project

General

Profile

Actions

Bug #12555

closed

Missing report when we cannot change home directory in users technique

Added by Alexis MOUSSET about 3 years ago. Updated almost 3 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

For example, if a process is currently executing, usermod will refuse to do the change, and no error will be reported.

Defined classes are:

rudder  verbose: C:     +  Private class: usermanagement_user_update_1
rudder  verbose: C:     +  Private class: usermanagement_user_pershome_1
rudder  verbose: C:     +  Private class: usermanagement_user_custom_home_defined_1
rudder  verbose: C:     +  Private class: usermanagement_user_exists_1
rudder  verbose: C:     +  Private class: usermanagement_user_pwoneshot_1
rudder  verbose: C:     +  Private class: usermanagement_user_pw_no_value_1
rudder  verbose: C:     +  Private class: usermanagement_user_pwempty_1
rudder  verbose: C:     +  Private class: usermanagement_user_group_no_value_1
rudder  verbose: C:     +  Private class: usermanagement_user_groupempty_1
rudder  verbose: C:     +  Private class: usermanagement_user_uid_no_value_1
rudder  verbose: C:     +  Private class: usermanagement_user_uid_empty_1
rudder  verbose: C:     +  Private class: usermanagement_user_force_user_in_group_1
rudder  verbose: P:    "if" class condition: usermanagement_user_update_1.!usermanagement_user_nameempty_1
rudder  verbose: C:    + promise outcome class 'promise_kept_usermanagement_fullname_edit_1'
rudder  verbose: C:    + promise outcome class 'usermanagement_fullname_edit_1_kept'
rudder  verbose: C:    + promise outcome class 'usermanagement_fullname_edit_1_ok'
rudder  verbose: C:    + promise outcome class 'usermanagement_fullname_edit_1_not_repaired'
rudder  verbose: C:    + promise outcome class 'usermanagement_fullname_edit_1_reached'
rudder  verbose: C:     +  Private class: usermanagement_user_current_home_defined_1
rudder  verbose: C:     +  Private class: usermanagement_user_current_home_is_invalid_1
rudder  verbose: P:    "if" class condition: usermanagement_user_update_1.!usermanagement_user_nameempty_1
rudder  verbose: P:    "if" class condition: usermanagement_user_update_1.usermanagement_user_current_home_is_invalid_1.!usermanagement_user_custom_home_move_1
rudder  verbose: C:    + promise outcome class 'usermanagement_home_change_1_error'
rudder  verbose: P:    "if" class condition: usermanagement_user_update_1.!usermanagement_user_nameempty_1
rudder  verbose: P:    "if" class condition: usermanagement_user_exists_1.usermanagement_user_update_1.!usermanagement_login_add_1_repaired.(usermanagement_user_nameempty_1|usermanagement_fullname_edit_1_kept)
Actions #1

Updated by Alexis MOUSSET about 3 years ago

  • Description updated (diff)
Actions #2

Updated by Alexis MOUSSET about 3 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis MOUSSET
Actions #3

Updated by Alexis MOUSSET about 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis MOUSSET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1291
Actions #4

Updated by Alexis MOUSSET about 3 years ago

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

Updated by Benoît PECCATTE almost 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.12, 4.2.6 and 4.3.1 which were released today.

Actions

Also available in: Atom PDF