First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 149226
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux High-Performance Clustering Team <hp-cluster@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ian Stakenvicius <ian@syndicated-productions.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 149226 depends on: Show dependency tree
Bug 149226 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-26 13:42 0000
When re-emerging (upgrading, rebuilding) torque, dirs that do not have any
configuraiton files in them are cleaned up when the previously installed
version is unmerged.

Some keepdirs should fix this, I think.  Changing the 'install' command to a
'keepdir' command (and making the chroot mandatory) in pbs_createdirs seems to
fix it on my system, at any rate.

------- Comment #1 From Jakub Moc (RETIRED) 2006-09-26 13:48:48 0000 -------
Don't restrict bugs without any reason. Just leave the checkboxes alone.

------- Comment #2 From Donnie Berkholz 2006-09-26 14:05:10 0000 -------
Good catch. We can't just change it, because the function also gets run in
pkg_postinst().

------- Comment #3 From Ian Stakenvicius 2006-09-26 14:09:07 0000 -------
yeah, plus only certain dirs need it, and it depends on whether we're USEing
'server' or not..  

------- Comment #4 From Donnie Berkholz 2006-09-26 14:16:13 0000 -------
I added a little fix into 2.1.2-r1 -- should hit rsync in an hour or so.

------- Comment #5 From Ian Stakenvicius 2006-09-27 08:47:12 0000 -------
Almost perfect.  all appropriate dirs are kept, however pbs_server for some
reason seems to think that the .keep file in server_priv/queues is a queue file
and tries to parse it.  This is actually messing up my real queue on server
restart oddly enough :(

I'm working on a patch to make pbs_server ignore dot-files, as it seems
super-easy and i can't see this limitation causing any operational issues.. 
Would this be better than risking server_priv/queue be removed due to no .keep?

------- Comment #6 From Ian Stakenvicius 2006-09-27 09:49:35 0000 -------
update -- a browse of the source indicates that que_recov reading an empty file
should clean itself up properly, so my issue must be elsewhere (possibly the
way queues are malloc'd).. 

So if we dont mind the error message on pbs_server start, i guess nothing needs
to change.

First Last Prev Next    No search results available      Search page      Enter new bug