voxpupuli / voxpupuli/puppet-php

Pear tmp dir how to set

Open
#716 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Puppet
Stars
86
Forks
264
Avg merge
29m
Merged PRs (30d)
1

Description

  • Puppet: 2021.7.7
  • Ruby: ??
  • Distribution: RHEL9
  • Module version: 8.1.1

How to reproduce

Set exec bit on /tmp to noexec
attempt extension install

yaml
`

php::extensions:

redis :

    provider: pear

`

Seeing

Installation fails due to no permissions to exec in /tmp

Pecl options needs to be set before install can be performed:

pear config-set temp_dir /root/tmp

then it succeeds.

Request

It is not clear how this is possible with your module. Can you provide an example somewhere?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the php::extensions configuration using the pear provider and check how PEAR options are passed during extension installation. Document an example showing how to set PEAR's temp_dir away from /tmp, then verify that the example addresses installations when /tmp is mounted noexec.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.