From: Miguel D. C. <mc...@fc...> - 2003-03-07 19:18:12
|
Hello again. Regarding my first question, and in case anyone else is having the same problem, I just saw that it's bjs that's changing the node permissions, in routine bjs_clean_node. In bjs.c, void bjs_clean_node(int node) { int i, nprocs; struct bproc_proc_info_t *plist; bproc_chown(node, 0); bproc_chgrp(node, 0); bproc_chmod(node, 0100); Changing this last line to "bproc_chmod(node, 0111);" does the trick. miguel >=20 > Message: 1 > From: Miguel Costa <mc...@fc...> > To: Bproc mailing list <bpr...@li...> > Organization: Centro de F=EDsica do Porto > Date: 04 Mar 2003 17:09:38 +0000 > Subject: [BProc] Node partitions and permissions >=20 > Hello all. >=20 > I was just asked to install a small cluster of 3 Dual Athlon machines > so > I took another shot at Clustermatic - I'm still running Scyld on > another > cluster but I'm close to leaving it - ( I can quit any time I want to, > really :) ). >=20 > Now, the cluster is up and running but I have two problems: >=20 > first, although the documentation says that when the nodes are "up" > the > permissions are set to execute for all, they are only execute for user > - > I have to run bpctl -S all -m 111 manually. It doesn't work to add > this > to /etc/beowulf/node_up because the node status is still "boot" at > this > point, I guess. I took a look at master.c and it seems to me that the > node_up_result routine, which sets node status to "up", is setting the > right permissions (S_IXUSR | S_IXGRP | S_IXOTH), so what is changing > them back? >=20 > the second problem is mounting node partitions: I can't get swap to > work > but beoboot's setupfs.c says this is on the todo list. However, > mounting > a ext2 or ext3 partition also fails, without explanation on the logs. > /home is nfs mounted from the server, so I just wanted to know if > setupfs is broken or I'm still doing something wrong. >=20 > Gotta take a look at bjs, now :) >=20 > Miguel --=20 Miguel Dias Costa <mc...@fc...> Centro de F=EDsica do Porto |