Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156004 - sys-cluster/openpbs needs keepdir on empty directories
Summary: sys-cluster/openpbs needs keepdir on empty directories
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-23 01:06 UTC by Sebastiaan
Modified: 2010-09-10 19:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Modified openpbs-2.3.16-r4.ebuild with keepdir. (openpbs-2.3.16-r5.ebuild,3.96 KB, text/plain)
2006-11-23 01:20 UTC, Sebastiaan
Details
queue_recov.patch (queue_recov.patch,629 bytes, patch)
2006-11-27 08:37 UTC, Sebastiaan
Details | Diff
Modified openpbs-2.3.16-r4.ebuild with keepdir and patch. (openpbs-2.3.16-r5.ebuild,4.04 KB, text/plain)
2006-11-27 08:48 UTC, Sebastiaan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastiaan 2006-11-23 01:06:27 UTC
OpenPBS has has empty directories in /var/spool/PBS, which are removed when re-emerging openpbs. After re-emerging a second time:
--- !found dir /var/spool/PBS/undelivered
--- !found dir /var/spool/PBS/spool
--- !found dir /var/spool/PBS/server_priv/queues
--- !found dir /var/spool/PBS/server_priv/jobs
--- !found dir /var/spool/PBS/server_priv/acl_users
--- !found dir /var/spool/PBS/server_priv/acl_svr
--- !found dir /var/spool/PBS/server_priv/acl_hosts
--- !found dir /var/spool/PBS/server_priv/acl_groups
--- !found dir /var/spool/PBS/server_priv/accounting
--- !found dir /var/spool/PBS/server_priv
<<<        obj /var/spool/PBS/server_name
--- !found dir /var/spool/PBS/server_logs
<<<        obj /var/spool/PBS/sched_priv/sched_config
<<<        obj /var/spool/PBS/sched_priv/resource_group
<<<        obj /var/spool/PBS/sched_priv/holidays
<<<        obj /var/spool/PBS/sched_priv/dedicated_time
--- !found dir /var/spool/PBS/sched_logs
--- !found dir /var/spool/PBS/mom_priv/jobs
--- !found dir /var/spool/PBS/mom_priv
--- !found dir /var/spool/PBS/mom_logs
--- !found dir /var/spool/PBS/checkpoint
--- !found dir /var/spool/PBS/aux

I had a similar issue when making another ebuild: http://forums.gentoo.org/viewtopic-t-515183-highlight-.html

I am not sure if removing these directories confuses PBS, but it sure confused me when reading the manual.

I suggest adding:
keepdir ${PBS_SERVER_HOME}/undelivered
keepdir ${PBS_SERVER_HOME}/spool
etc. for all !found directories above.
Comment 1 Sebastiaan 2006-11-23 01:20:39 UTC
Created attachment 102583 [details]
Modified openpbs-2.3.16-r4.ebuild with keepdir.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2006-11-23 20:32:21 UTC
The .keep files are likely to confuse OpenPBS if it's anything like Torque (which it is). It may treat them as queue files. See bug #149327 -- you may be able to port that patch across.
Comment 3 Sebastiaan 2006-11-27 08:37:11 UTC
Created attachment 102847 [details, diff]
queue_recov.patch
Comment 4 Sebastiaan 2006-11-27 08:48:47 UTC
Created attachment 102848 [details]
Modified openpbs-2.3.16-r4.ebuild with keepdir and patch.

Is there more information on how to reproduce this error (bug 149327)? I applied the patch, but I cannot confirm that there was really a bug to solve.
Comment 5 Justin Bronder (RETIRED) gentoo-dev 2007-12-15 00:24:42 UTC
Closing as openpbs is no longer in the tree.