|
From: | Pletan, Ray |
Subject: | automounter vs. |
Date: | Wed, 25 Jan 2006 08:57:00 -0600 |
I am encountering problems copying all the home directories from a central server (Solaris) to the cfengine clients (Solaris) with automounter controlling home directory mounting on client. Cfengine uses the uid of the first home directory that does NOT exist on the client to set the owner for the remaining client home directories. I have included snippets of auto_home, cfengine.conf, and log file from running cfagent. The log file shows that a0193150, which does exist, processes correctly, but the directory ezavala does NOT exist so rwalkup (and all subsequent directories) are set to the ezavala uid. Has anyone seen this problem or know of a work around?
<<snippet of auto_home>>
# Home directory map for automounter # #+auto_home * ${HOST}:/export/home/& <<end of snippet of auto_home>>
<<snippet of cfengine conf file>>
control: actionsequence = ( directories files copy editfiles processes shellcommands ) domain = ( itg.ti.com ) timezone = ( CST ) smtpserver = ( mailhost.itg.ti.com ) # used by cfexecd sysadm = ( root ) # where to mail output cfhost = ( utility ) classes: any::
######################################################################
copy:
# /opt/local/admin/sudo/sudoers dest=/etc/sudoers # owner=root # group=root # server=$(cfhost) # mode=440
solaris:: /opt/home dest=/home recurse=2 include=.??* ignore="." ignore=".." include=authorized_keys include=authorized_keys2 mode=700 server=$(cfhost) trustkey=true <<end of snippet of cfengine control file>>
<<snippet of log file>> Opening /opt/home/a0193150->/home/a0193150 Opening /opt/home/a0193150/.ssh->/home/a0193150/.ssh Opening /opt/home/a0193150/.gnupg->/home/a0193150/.gnupg cfengine:sklab20: Checking link from /home/a0193150/.forhosts to /usr/local/etc/hosts cfengine:sklab20: Link (/home/a0193150/.forhosts->/usr/local/etc/hosts) exists. cfengine:sklab20: Can't stat /home/ezavala cfengine:sklab20: stat: No such file or directory cfengine:sklab20: Owner of /home/rwalkup was 3356, setting to 233 Opening /opt/home/rwalkup->/home/rwalkup cfengine:sklab20: Owner of /home/rwalkup/.profile was 3356, setting to 233 cfengine:sklab20: Owner of /home/rwalkup/.ssh was 3356, setting to 233 Opening /opt/home/rwalkup/.ssh->/home/rwalkup/.ssh cfengine:sklab20: Owner of /home/rwalkup/bin was 3356, setting to 233 <<end of snippet of log file>>
Thanks,
Ray Pletan
|
[Prev in Thread] | Current Thread | [Next in Thread] |