Project

General

Profile

Bug #12555

Missing report when we cannot change home directory in users technique

Added by Alexis MOUSSET about 1 year ago. Updated 12 months 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)

Associated revisions

Revision 3c4d8828 (diff)
Added by Alexis MOUSSET about 1 year ago

Fixes #12555: Missing report when we cannot change home directory in users technique

History

#1

Updated by Alexis MOUSSET about 1 year ago

  • Description updated (diff)
#2

Updated by Alexis MOUSSET about 1 year ago

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

Updated by Alexis MOUSSET about 1 year 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
#4

Updated by Alexis MOUSSET about 1 year ago

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

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

Also available in: Atom PDF