Bug 1216037 - permissions on some /var/lib/torque/ sub-directories
Summary: permissions on some /var/lib/torque/ sub-directories
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: torque
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Brown
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-28 11:58 UTC by Fabrice Bellet
Modified: 2015-06-04 15:57 UTC (History)
3 users (show)

Fixed In Version: torque-4.2.10-3.el6
Clone Of:
Environment:
Last Closed: 2015-05-30 15:42:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Fabrice Bellet 2015-04-28 11:58:57 UTC
Hi!

I noticed that some permissions of /var/lib/torque/ subdirs are changed in the spec file :

> # fix permissions for some directories in /var/lib/torque
> chmod 755 `find %{buildroot}/var/lib/torque -type d`

However, I think these subdirs should keep their initial permissions, because they're used in the context of the user running the job, not root:

/var/lib/torque/spool
/var/lib/torque/undelivered
/var/lib/torque/checkpoint

Without these modifications, we got errors like these on the exec node :

Apr 28 13:26:31 linux29 pbs_mom: LOG_ERROR::Permission denied (13) in sys_copy, can't open /var/lib/torque/spool/rcperr.24708, error = 13 Permission denied
Apr 28 13:26:31 linux29 pbs_mom: LOG_ERROR::Permission denied (13) in sys_copy, can't open /var/lib/torque/spool/rcperr.24708, error = 13 Permission denied
Apr 28 13:26:35 linux29 pbs_mom: LOG_ERROR::Permission denied (13) in sys_copy, can't open /var/lib/torque/spool/rcperr.24708, error = 13 Permission denied
Apr 28 13:26:35 linux29 pbs_mom: LOG_ERROR::sys_copy, command '/usr/bin/scp -rpB /var/lib/torque/spool/1189924.linux1.OU bellet@linux1:/misc/raid/bellet/tmp/test.o1189924' failed with status=12, giving up after 4 attempts
Apr 28 13:26:35 linux29 pbs_mom: LOG_ERROR::req_cpyfile, Unable to copy file /var/lib/torque/spool/1189924.linux1.OU to bellet@linux1:/misc/raid/bellet/tmp/test.o1189924, error 12
Apr 28 13:26:35 linux29 pbs_mom: LOG_ERROR::No such file or directory (2) in req_cpyfile, Unable to rename /var/lib/torque/spool/1189924.linux1.OU to /var/lib/torque/undelivered/1189924.linux1.OU
Apr 28 13:26:35 linux29 pbs_mom: LOG_ERROR::Permission denied (13) in sys_copy, can't open /var/lib/torque/spool/rcperr.24708, error = 13 Permission denied
Apr 28 13:26:35 linux29 pbs_mom: LOG_ERROR::Permission denied (13) in sys_copy, can't open /var/lib/torque/spool/rcperr.24708, error = 13 Permission denied
Apr 28 13:26:39 linux29 pbs_mom: LOG_ERROR::Permission denied (13) in sys_copy, can't open /var/lib/torque/spool/rcperr.24708, error = 13 Permission denied

Comment 1 Fedora Update System 2015-05-19 19:46:40 UTC
torque-4.2.10-3.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/torque-4.2.10-3.el5

Comment 2 Fedora Update System 2015-05-19 19:47:47 UTC
torque-4.2.10-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/torque-4.2.10-3.el6

Comment 3 Fedora Update System 2015-05-19 19:48:37 UTC
torque-4.2.10-3.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/torque-4.2.10-3.el7

Comment 4 Fedora Update System 2015-05-19 19:49:16 UTC
torque-4.2.10-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/torque-4.2.10-3.fc21

Comment 5 Fedora Update System 2015-05-19 19:55:34 UTC
torque-4.2.10-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/torque-4.2.10-3.fc20

Comment 6 Fedora Update System 2015-05-19 19:56:11 UTC
torque-4.2.10-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/torque-4.2.10-3.fc22

Comment 7 Fedora Update System 2015-05-20 02:53:27 UTC
Package torque-4.2.10-3.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing torque-4.2.10-3.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-8544/torque-4.2.10-3.fc22
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-05-30 15:42:23 UTC
torque-4.2.10-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-05-30 15:45:02 UTC
torque-4.2.10-3.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-05-30 15:54:19 UTC
torque-4.2.10-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-06-04 15:55:55 UTC
torque-4.2.10-3.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2015-06-04 15:56:27 UTC
torque-4.2.10-3.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2015-06-04 15:57:07 UTC
torque-4.2.10-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


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