Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pScheduler Logs Readable #577

Closed
mfeit-internet2 opened this issue Jan 5, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@mfeit-internet2
Copy link
Member

commented Jan 5, 2018

The /var/log/pscheduler directory is readable by the pscheduler group, but the contents are owned by root and not readable by anyone else.

Find a way to fix it so the pscheduler group can read it.

@mfeit-internet2 mfeit-internet2 added easy enhancement and removed easy labels Jan 5, 2018

@mfeit-internet2

This comment has been minimized.

Copy link
Member Author

commented Jan 8, 2018

Not quite so easy: Rsyslogd supports specifying permissions on the files it creates but applies the current umask. There's a configuration option for setting the umask, but it's global and doing something friendly toward making the file readable will make all logs readable. Not what we want.

@mfeit-internet2

This comment has been minimized.

Copy link
Member Author

commented Nov 27, 2018

This isn't pressing and may not even be necessary. Iceboxing.

@mfeit-internet2 mfeit-internet2 added this to the hackathon-20190520 milestone Mar 21, 2019

@mfeit-internet2

This comment has been minimized.

Copy link
Member Author

commented Mar 21, 2019

Add a pscheduler log command to pscheduler-server that uses sudo to dump out the most recent log file.

There should be an --all switch that gathers all logs and dumps them out in the right order.

mfeit-internet2 added a commit that referenced this issue Apr 25, 2019

Merge pull request #826 from perfsonar/issue-577
Added log command runnable by the pscheduler group.  #577
@mfeit-internet2

This comment has been minimized.

Copy link
Member Author

commented Apr 25, 2019

Downstream:

This adds a new command (log) and adds to sudoers. Close when finished.

Release Notes:

Added a log command to retrieve the pScheduler logs

tonin added a commit that referenced this issue Jun 26, 2019

tonin added a commit that referenced this issue Jul 1, 2019

@tonin

This comment has been minimized.

Copy link
Member

commented Jul 1, 2019

Tested and working on Debian.

@tonin tonin closed this Jul 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.