Project

General

Profile

Actions

Bug #29693

closed

foreman-maintain --help requires sudo

Added by Jeremy Lenz almost 4 years ago. Updated about 2 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Check
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When I try foreman-maintain --help, I get the following error:

[vagrant@centos7-katello-devel bin]$ foreman-maintain --help
No permissions to create dir /var/lib/foreman-maintain/db-backups
"Permission denied - /var/lib/foreman-maintain/db-backups"
/usr/share/gems/gems/foreman_maintain-0.6.0/definitions/features/mongo.rb:188:in `readlines': Permission denied - /etc/pulp/server.conf (Errno::EACCES)

It appears foreman-maintain tries to create a file as part of initialization. The effect is that sudo is required even to see the --help screen.

Expected output: --help displays help screens without sudo.

Actions #1

Updated by Eric Helms about 2 months ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF