Project

General

Profile

Actions

Bug #11126

closed

ncf-api-virtualenv does not have a group created

Bug #11126: ncf-api-virtualenv does not have a group created

Added by Janos Mattyasovszky over 8 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
N/A
Category:
Packaging
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
66
Name check:
Fix check:
Regression:

Description

In the SPEC file you define the whole directory to be owned by the virualenv-user also for the group:

%attr(- , %{user_name},%{user_name}) /var/lib/%{user_name}/

at: https://github.com/Normation/rudder-packages/blob/4.1.5/ncf-api-virtualenv/SPECS/ncf-api-virtualenv.spec#L297

However, the group never gets created, so rpm defaults for the group permissions to root:

Installing: rudder-techniques-1398866025:4.1.5.release-1.SLES.11 [.........done]
Installing: ncf-api-virtualenv-1398866025:4.1.5.release-1.SLES.11 [........done]
Additional rpm output:
warning: group ncf-api-venv does not exist - using root
INFO: Restarting Apache HTTPd... Done

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #14860: Technique editor cannot save technique because of parent ticket RejectedActions

Updated by Benoît PECCATTE over 8 years ago Actions #1

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Priority changed from 0 to 32

Updated by Benoît PECCATTE over 8 years ago Actions #2

  • Effort required set to Small
  • Priority changed from 32 to 36

Updated by Benoît PECCATTE over 8 years ago Actions #3

  • Effort required changed from Small to Very Small
  • Priority changed from 36 to 49

Updated by Benoît PECCATTE about 8 years ago Actions #4

  • Priority changed from 49 to 58

Updated by François ARMAND almost 7 years ago Actions #5

  • Assignee set to Benoît PECCATTE
  • User visibility changed from Operational - other Techniques | Technique editor | Rudder settings to Getting started - demo | first install | Technique editor and level 1 Techniques
  • Priority changed from 58 to 66

Updated by Benoît PECCATTE over 6 years ago Actions #6

  • Target version set to 4.1.22

Updated by Benoît PECCATTE over 6 years ago Actions #7

  • Status changed from New to In progress

Updated by Benoît PECCATTE over 6 years ago Actions #8

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1891

Updated by Rudder Quality Assistant over 6 years ago Actions #9

  • Assignee changed from Alexis Mousset to Benoît PECCATTE

Updated by Benoît PECCATTE over 6 years ago Actions #10

  • Status changed from Pending technical review to Pending release

Updated by Nicolas CHARLES over 6 years ago Actions #11

  • Status changed from Pending release to New

reverting this ticket, as it breaks SELinux configuration

INFO: Applying ncf-api-virtualenv selinux policy...restorecon:  lstat(/var/lib/ncf-api-venv) failed:  No such file or directory

and prevent technique editor from running

Updated by Vincent MEMBRÉ over 6 years ago Actions #12

  • Target version changed from 4.1.22 to 4.1.23

Updated by Vincent MEMBRÉ over 6 years ago Actions #13

  • Target version changed from 4.1.23 to 4.1.24

Updated by Vincent MEMBRÉ over 6 years ago Actions #14

  • Target version changed from 4.1.24 to 588

Updated by Benoît PECCATTE over 6 years ago Actions #15

  • Status changed from New to Pending release

This has been fixed in 5.0

Updated by Benoît PECCATTE over 6 years ago Actions #16

  • Status changed from Pending release to New

Updated by Benoît PECCATTE over 6 years ago Actions #17

  • Related to Bug #14860: Technique editor cannot save technique because of parent ticket added

Updated by Benoît PECCATTE over 6 years ago Actions #18

  • Status changed from New to Rejected

Updated by Alexis Mousset about 6 years ago Actions #19

  • Target version changed from 588 to 4.1.24
Actions

Also available in: PDF Atom