bug-cfengine
[Top][All Lists]
Advanced

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

/etc/shadow edits fail when /etc/vfstab edits occur


From: Anne Cross
Subject: /etc/shadow edits fail when /etc/vfstab edits occur
Date: Tue, 7 Dec 2004 15:59:06 -0500
User-agent: Mutt/1.4.2.1i

We're using Solaris 8, and upgraded cfengine from 2.1.0p1 to 2.1.11,
with Berkeley DB 3.3.11.  On Solaris 9, we had a similar problem going
from 2.1.10 to 2.1.11, same Berkeley DB.  The Sol8 version was compiled
with gcc 2.95.3, the Sol9 with gcc 3.4.0.
                                                                                
The following partial config worked before the upgrade, but does not
work now.  I've attached the -d1 output from running cfagent against
this partial config.
                                                                                
        -- Anne
                                                                                
Anne Cross
Systems Administrator, Tufts University
"They just tend to lunge at whatever looks interesting to them, write
 whatever they please, and let the chips fall where they may. So we
 may seem not merely arrogant, but completely unhinged." -- Neal 
Stephenson

----- begin included config -----

broadcast:
   sun4u|sun4m::
      ones

control:

   sun4u|sun4m::

      access = ( root )
      editfilesize = ( 0 ) #0 turns off the editfilesize limit.
      netmask = ( 255.255.255.0 ) #Sets the netmask if you use netconfig.
      timezone = ( EST )
      nfstype = ( nfs )
      EmptyResolveConf = ( false )

      sysadmin = ( address@hidden )
      smtpserver = ( mail.usg.tufts.edu )
      EmailMaxLines = ( inf )
      OutputPrefix = ( "" )

      SplayTime = ( 60 ) 
      MaxCfengines = ( 10 )

      ChecksumDatabase = ( /var/cfengine/cfdb )
      ChecksumPurge = ( off )
      ChecksumUpdates = ( off )

      DefaultCopyType = ( checksum )
      DeleteNonUserFiles = ( false )
      Exclamation = ( on )
      ExcludeLink = ( RCS *,v )
      ExpireAfter = ( 60 )
      HostnameKeys = ( off )
      Inform = ( on )
      ShowActions = ( off )

      AddInstallable = ( nrpeCopy
                         eximConfigureCopy
                         eximDatabaseUpdate
                       )

      CFMaster = ( cfd.usg.tufts.edu )
      sourcedir = ( /local/cfengine/ )

      actionsequence = ( editfiles )

editfiles:

   sun4u::

      { /etc/vfstab

        SetLine "## A Test Comment"
        AppendIfNoLineMatching "^## A Test.*"

      }

      { /etc/shadow

        SetLine "test:NP:::::::"
        AppendIfNoLineMatching "^test:.*"

      }

#######################################################################

Attachment: log-vfstab-shadow
Description: Text document


reply via email to

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