Project

General

Profile

Bug #11126

ncf-api-virtualenv does not have a group created

Added by Janos Mattyasovszky almost 2 years ago. Updated 2 days ago.

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

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

Subtasks

Bug #14860: Technique editor cannot save technique because of parent ticket NewActions

Associated revisions

Revision f700cac0 (diff)
Added by Benoît PECCATTE 17 days ago

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

History

#1

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

Updated by Benoît PECCATTE almost 2 years ago

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

Updated by Benoît PECCATTE almost 2 years ago

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

Updated by Benoît PECCATTE over 1 year ago

  • Priority changed from 49 to 58
#5

Updated by François ARMAND 3 months 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
#6

Updated by Benoît PECCATTE 17 days ago

  • Target version set to 4.1.22
#7

Updated by Benoît PECCATTE 17 days ago

  • Status changed from New to In progress
#8

Updated by Benoît PECCATTE 17 days 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
#9

Updated by Rudder Quality Assistant 17 days ago

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

Updated by Benoît PECCATTE 17 days ago

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

Updated by Nicolas CHARLES 13 days 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

#12

Updated by Vincent MEMBRÉ 9 days ago

  • Target version changed from 4.1.22 to 4.1.23
#13

Updated by Vincent MEMBRÉ 2 days ago

  • Target version changed from 4.1.23 to 4.1.24

Also available in: Atom PDF