Changeset 1919 for trunk/server/fedora


Ignore:
Timestamp:
Jun 28, 2011, 2:45:06 PM (13 years ago)
Author:
mitchb
Message:
statoverride yum post-transaction action

o Name the file as we'd discussed
o Fill in missing entry
o Don't clutter it with the documentation that's in the sample
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/yum/post-actions/statoverride.action

    r1918 r1919  
    1 #action_key:transaction_state:command
    2 # action_key can be: pkgglob, /path/to/file (wildcards allowed)
    3 # transaction_state can be: install,update,remove,any
    4 # command can be: any shell command
    5 #  the following variables are allowed to be passed to any command:
    6 #   $name - package name
    7 #   $arch - package arch
    8 #   $ver - package version
    9 #   $rel - package release
    10 #   $epoch - package epoch
    11 #   $repoid - package repository id
    12 #   $state - text string of state of the package in the transaction set
    13 #
    14 # file matches cannot be used with removes b/c we don't have the info available
    151/bin/cgexec:any:chmod -f ug-s /bin/cgexec
    162/bin/fusermount:any:chmod -f ug-s /bin/fusermount
     
    184/bin/su:any:chmod -f ug-s /bin/su
    195/bin/umount:any:chmod -f ug-s /bin/umount
     6/sbin/mount.nfs:any:chmod -f ug-s /sbin/mount.nfs
    207/sbin/netreport:any:chmod -f ug-s /sbin/netreport
    218/usr/bin/chage:any:chmod -f ug-s /usr/bin/chage
Note: See TracChangeset for help on using the changeset viewer.