help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automounter vs.


From: Eli Stair
Subject: Re: automounter vs.
Date: Wed, 25 Jan 2006 09:20:47 -0800
User-agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)


Not directly related to cfengine either, but I've been seeing an issue recently on FC4 systems (not on my RHEL4 though), where cronjobs dumping to/from unmounted automount points don't function. It seems that the mount calls aren't done foreground/blocking, and almost as if the tar processes are timing out the writes.

Similar to what you're seeing perhaps. I don't think it's a cfengine issue fortunately. I haven't had a chance to sit down with this and resolve it yet, but I have a hunch it's dependent on vendor-applied patches to autofs.

/eli

Pletan, Ray wrote:
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/*


------------------------------------------------------------------------

_______________________________________________
Help-cfengine mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-cfengine





reply via email to

[Prev in Thread] Current Thread [Next in Thread]