Project

General

Profile

Actions

Bug #11126

closed

ncf-api-virtualenv does not have a group created

Added by Janos Mattyasovszky over 7 years ago. Updated almost 5 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
Actions #1

Updated by Benoît PECCATTE over 7 years ago

  • 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
Actions #2

Updated by Benoît PECCATTE over 7 years ago

  • Effort required set to Small
  • Priority changed from 32 to 36
Actions #3

Updated by Benoît PECCATTE over 7 years ago

  • Effort required changed from Small to Very Small
  • Priority changed from 36 to 49
Actions #4

Updated by Benoît PECCATTE about 7 years ago

  • Priority changed from 49 to 58
Actions #5

Updated by François ARMAND over 5 years ago

  • 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
Actions #6

Updated by Benoît PECCATTE over 5 years ago

  • Target version set to 4.1.22
Actions #7

Updated by Benoît PECCATTE over 5 years ago

  • Status changed from New to In progress
Actions #8

Updated by Benoît PECCATTE over 5 years ago

  • 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
Actions #9

Updated by Rudder Quality Assistant over 5 years ago

  • Assignee changed from Alexis Mousset to Benoît PECCATTE
Actions #10

Updated by Benoît PECCATTE over 5 years ago

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

Updated by Nicolas CHARLES over 5 years ago

  • 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

Actions #12

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.22 to 4.1.23
Actions #13

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.23 to 4.1.24
Actions #14

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.24 to 588
Actions #15

Updated by Benoît PECCATTE over 5 years ago

  • Status changed from New to Pending release

This has been fixed in 5.0

Actions #16

Updated by Benoît PECCATTE over 5 years ago

  • Status changed from Pending release to New
Actions #17

Updated by Benoît PECCATTE over 5 years ago

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

Updated by Benoît PECCATTE over 5 years ago

  • Status changed from New to Rejected
Actions #19

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 588 to 4.1.24
Actions

Also available in: Atom PDF