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

Added by Alexis Mousset over 5 years ago. Updated over 4 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
Actions #1

Updated by Alexis Mousset over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Alexis Mousset over 5 years ago

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

Updated by Alexis Mousset over 5 years ago

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

Updated by Alexis Mousset over 5 years ago

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

Updated by François ARMAND over 5 years ago

  • 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.

Actions #6

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.11 to 4.3.12
Actions #7

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.12 to 4.3.13
Actions #8

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.13 to 4.3.14
Actions #9

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.14 to 587
  • Priority changed from 32 to 31
Actions #10

Updated by Alexis Mousset over 5 years ago

  • Category set to Relay server or API
Actions #11

Updated by Alexis Mousset over 5 years ago

  • Target version changed from 587 to 5.0.13
Actions #12

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 31 to 30
Actions #13

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.14 to 5.0.15
  • Priority changed from 30 to 29
Actions #14

Updated by François ARMAND about 5 years ago

  • 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.

Actions #15

Updated by Alexis Mousset about 5 years ago

  • 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!

Actions #16

Updated by Alexis Mousset about 5 years ago

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

Updated by Alexis Mousset about 5 years ago

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

Updated by Alexis Mousset about 5 years ago

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

Updated by Alexis Mousset over 4 years ago

  • Status changed from Pending release to Released
Actions #20

Updated by François ARMAND over 4 years ago

  • Fix check set to To do
Actions #21

Updated by Alexis Mousset over 4 years ago

  • Fix check changed from To do to Checked
Actions

Also available in: Atom PDF