Project

General

Profile

Actions

User story #14403

closed

When running Rudder through applyConfig API on the root server, tmp directory is not the system one

User story #14403: When running Rudder through applyConfig API on the root server, tmp directory is not the system one

Added by Alexis Mousset almost 7 years ago. Updated over 5 years ago.

Status:
Released
Priority:
N/A
Category:
Relay server or API
Target version:
UX impact:
Suggestion strength:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Name check:
Fix check:
Checked
Regression:

Description

See https://www.maxoberberger.net/blog/2017/10/debian-9-private-tmp.html

When the apache daemon has a private /tmp dir (PrivateTmp systemd option), as the remote run is run by apache (which runs python, which runs the agent), the /tmp directory is a private directory (in /tmp/systemd-private-...) and actions over /tmp do not affect system /tmp.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #14391: Only one Node below a Rudder server can be run through remote run APIReleasedAlexis MoussetActions

Updated by Alexis Mousset almost 7 years ago Actions #1

  • Description updated (diff)

Updated by Alexis Mousset almost 7 years ago Actions #2

  • Subject changed from When running Rudder through applyConfig API tmp directory is to When running Rudder through applyConfig API, tmp directory is not the system one

Updated by Alexis Mousset almost 7 years ago Actions #3

  • Related to Bug #14391: Only one Node below a Rudder server can be run through remote run API added

Updated by Alexis Mousset almost 7 years ago Actions #4

  • Subject changed from When running Rudder through applyConfig API, tmp directory is not the system one to When running Rudder through applyConfig API on the root server, tmp directory is not the system one

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

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

This is very surprising, but it works as configured. I'm not sure we should do something.

Updated by Vincent MEMBRÉ almost 7 years ago Actions #6

  • Target version changed from 4.3.11 to 4.3.12

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

  • Target version changed from 4.3.12 to 4.3.13

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

  • Target version changed from 4.3.13 to 4.3.14

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

  • Target version changed from 4.3.14 to 587
  • Priority changed from 32 to 31

Updated by Alexis Mousset over 6 years ago Actions #10

  • Category set to Relay server or API

Updated by Alexis Mousset over 6 years ago Actions #11

  • Target version changed from 587 to 5.0.13

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

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 31 to 30

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

  • Target version changed from 5.0.14 to 5.0.15
  • Priority changed from 30 to 29

Updated by François ARMAND about 6 years ago Actions #14

  • Effort required set to Very Small
  • Priority changed from 29 to 54

very small => decide to either close that ticket and document it, or change the configuration.

Updated by Alexis Mousset about 6 years ago Actions #15

  • Tracker changed from Bug to User story
  • Target version changed from 5.0.15 to 6.1.0~beta1
  • Severity deleted (Minor - inconvenience | misleading | easy workaround)
  • Priority deleted (54)

Still true in 6.0 as the relayd service may have PrivateTmp=True.

Let's document it!

Updated by Alexis Mousset about 6 years ago Actions #16

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset

Updated by Alexis Mousset about 6 years ago Actions #17

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder-api-doc/pull/78

Updated by Alexis Mousset about 6 years ago Actions #18

  • Status changed from Pending technical review to Pending release

Updated by Alexis Mousset over 5 years ago Actions #19

  • Status changed from Pending release to Released

Updated by François ARMAND over 5 years ago Actions #20

  • Fix check set to To do

Updated by Alexis Mousset over 5 years ago Actions #21

  • Fix check changed from To do to Checked
Actions

Also available in: PDF Atom