![]() | ||||
| ||||||
| Kusu Kits Discuss Kusu Kits as such the Kusu scheduler (LAVA), cluster filesystems, compilers and tools, open source and commercial add-on applications here. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
|
I am using a recent kusu release: Code: [root@master ~]# cat /etc/kusu-release Kusu "Kramat" 0.10 (build 3520) I added a user myself to /etc/passwd with useradd and it got deleted too... Did I somehow mess up my setup or is this a bug? Does the cfm tool rewrite the passwd file? Nevertheless lava should no where to add lavaadmin |
| |||
|
Hi, This may be a bug with cfm. Please help us file a bug[1] and we can look into this. We have tested a normal useradd, followed by a reboot. The user account was not deleted. -Liming [1] System Dashboard - Open Source Grid Development Center |
| |||
|
I do not understand yet how this is supposed to work. and my /etc/passwd get overwritten on every boot. I have the following: Code: lrwxrwxrwx 1 root root 11 Oct 8 15:34 /etc/cfm/compute-centos-5-x86_64/etc/passwd -> /etc/passwd lrwxrwxrwx 1 root root 11 Oct 8 15:34 /etc/cfm/compute-diskless-centos-5-x86_64/etc/passwd -> /etc/passwd lrwxrwxrwx 1 root root 11 Oct 8 15:34 /etc/cfm/compute-imaged-centos-5-x86_64/etc/passwd -> /etc/passwd lrwxrwxrwx 1 root root 11 Oct 8 15:34 /etc/cfm/installer-centos-5-x86_64/etc/passwd -> /etc/passwd Code: [root@master ~]# ls -l /etc/passwd -rw-r--r-- 1 root root 1579 Oct 13 09:09 /etc/passwd Code: [root@master ~]# ls -l /opt/kusu/cfm/*/etc/passwd -rw-r--r-- 1 apache apache 910 Oct 13 09:10 /opt/kusu/cfm/1/etc/passwd -rw-r--r-- 1 apache apache 910 Oct 13 09:10 /opt/kusu/cfm/2/etc/passwd -rw-r--r-- 1 apache apache 910 Oct 13 09:10 /opt/kusu/cfm/3/etc/passwd -rw-r--r-- 1 apache apache 910 Oct 13 09:10 /opt/kusu/cfm/4/etc/passwd Code: [root@master ~]# cat /opt/kusu/cfm/4/etc/passwd U2FsdGVkX1/3Kvn+5xq1y8BrWo88ZrLp0WmgBddAHvnP+n7OptEGGUFqPFD4xuNf sSepJXm7EMaNNet38vRZ0PCeN+Dx056dnEK44/5Lzrie1dBCJvwQtR5BnbSBCnXT 4tQBBokrqApXODCLq3SFmgGjPFjb2FOXRLwkKb0JxhgV9KvZOXJnAEvg4muNfCkT TLUszJP68sNsKVTylEOfI/GUmDWPJc0+AB50KKpLG0izj7z+NWmgleMbjpjea3Ph NNwQePtVYV5s3CXEzwf7xXmBuPwkbtjveTI2TCf7QUTgZXdk6AaACZAECPgmqw0a F63tq609HKpID8yU3gaog0rzBs2L0EZ3ALOZWK0aE27Y2OWZd2Sf2n8XtkzOSj5Z V/aAhyHJtpqYdcVzflh4gV1sfQ8VRAUTj3ZvhjR5QJgjcVBwfnaoc68/+65RjexD Yumok+zIvWZLLoEnsARm/mMgadDwP4qUC9Qmue2jGOrMznbMW7wXiBQLh48dUXQz tvZSGlRCEvDsUnRftHGbrEA5U24sFlMG2TIQnwTO7yRjU2QeTrv8CNQ5nMf5fl9T VHMKER/XjJ/o0qpbn/f+ZwITvd+u5m/20IGgMDSSmA6LCX239nHjixGOMf6OQlwW rH/Akwms1zLbRVeXyv5cpO0qA6aJ5f8ElU3VY7dFc4FuT9y0r5eFdDVzh/frcGf4 COG8icb6N+4OED6bAGGR1XJunUD/VDyzOYhxOhlpXqxfKTYQtuJoEU/pDaj1+iTh KmCMuNso3PZSX9TuYoPCVAbd0j8cXM+bEkfzn5bt273B3koleZEdnzYvqYJBxjjI 9urgd8ZTuoYGxfLrLon9DZMC+1qFyjJtuj/vf6eN6Q8q60T/eLyCGu5iDTUiI0iO |
| |||
| Quote:
My /etc/passwd is in fact overriden by /opt/kusu/cfm/*/etc/passwd, how does cfm decide what to overwrite? |
| |||
|
I set DEBUG to 1 and got the following in /tmp/cfm.log: Code: ERROR: Installers not specified INFO: Forcing update of all files. Updating Files ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Updating file: /etc/fstab.append ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Combining: /opt/kusu/etc//etc/fstab.OS and /etc/fstab.append to /etc/fstab Updating file: /etc/hosts.equiv ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Updating file: /etc/passwd ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Updating file: /etc/group ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Updating file: /etc/hosts ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Updating file: /etc/shadow ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Updating file: /etc/ssh/ssh_host_dsa_key ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Updating file: /etc/ssh/ssh_host_rsa_key ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Updating file: /etc/ssh/ssh_host_key.pub ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Updating file: /etc/ssh/ssh_config ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Updating file: /etc/ssh/ssh_host_dsa_key.pub ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Updating file: /etc/ssh/ssh_host_rsa_key.pub ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Updating file: /etc/ssh/ssh_host_key ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Running plugin: /opt/kusu/lib/plugins/cfmclient/S01mountall.sh Running plugin: /opt/kusu/lib/plugins/cfmclient/S02KusuAutomount.sh Running plugin: /opt/kusu/lib/plugins/cfmclient/lava-restart Updating Packages ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access Nothing to remove Nothing to add Running plugin: /opt/kusu/lib/plugins/cfmclient/S01mountall.sh Running plugin: /opt/kusu/lib/plugins/cfmclient/S02KusuAutomount.sh Running plugin: /opt/kusu/lib/plugins/cfmclient/lava-restart Updating Files ++ Testing for: /opt/kusu/cfm/cfmfiles.lst ++ CFMBaseDir: /opt/kusu/cfm ++ NGID = 1 INFO: Have local Access |
| |||
|
I have been playing for several hours now with it. And just now it started to work. (without actually changing anything) I will report back if it stop working... Thanks and sorry for the noise |
| |||
|
Sadly this appeared again, but a plain cfmsync -f does work fine and updates my files as expected. On reboot it breaks but this is due to the really bad clock of my vmware afaik. I am still not sure what would have been the best for updating, see: How to update the base kit to 1.0? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|