Bug 21437 - Puppet can't run because of incorrect unit file shipped in the RPM
Summary: Puppet can't run because of incorrect unit file shipped in the RPM
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High major
Target Milestone: ---
Assignee: Sysadmin Team
QA Contact:
URL:
Whiteboard: MGA6TOO,
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-02 16:37 CEST by Remco Rijnders
Modified: 2017-08-21 20:53 CEST (History)
2 users (show)

See Also:
Source RPM: puppet-4.2.1-4.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Remco Rijnders 2017-08-02 16:37:39 CEST
Description of problem:
puppet won't run properly because of incorrect unit files.

The puppet.service file shipped in the rpm contains the following:
"
[Unit]
Description=Puppet agent
Wants=basic.target
After=basic.target network.target

[Service]
EnvironmentFile=-/etc/sysconfig/puppetagent
EnvironmentFile=-/etc/sysconfig/puppet
EnvironmentFile=-/etc/default/puppet
ExecStart=/opt/puppetlabs/puppet/bin/puppet agent $PUPPET_EXTRA_OPTS --no-daemonize
KillMode=process

[Install]
WantedBy=multi-user.target
"

The ExecStart setting is obviously wrong. It looks like the SOURCE100 source from the spec file is never applied in the package built. It also look like SOURCE101, puppetmaster.service has the same issue.
Remco Rijnders 2017-08-02 16:37:54 CEST

CC: (none) => luigiwalser

Comment 1 Rémi Verschelde 2017-08-02 16:39:16 CEST
Assigning to sysadmins as puppet has no registered maintainer, but we need this fixed anyway before we can upgrade our own puppet-based infra to Mageia 6.

Priority: Normal => High
Assignee: bugsquad => sysadmin-bugs

David Walser 2017-08-20 23:34:11 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=21577
CC: luigiwalser => (none)

Marja van Waes 2017-08-21 20:53:49 CEST

Whiteboard: (none) => MGA6TOO,
CC: (none) => guillomovitch, marja11
Version: 6 => Cauldron


Note You need to log in before you can comment on or make changes to this bug.