Changeset 516 for yum/trunk/docs


Ignore:
Timestamp:
Feb 3, 2015, 9:39:54 AM (11 years ago)
Author:
Yuri Dario
Message:

yum: update trunk to 3.4.3.

Location:
yum/trunk
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • yum/trunk

  • yum/trunk/docs/yum.8

    r2 r516  
    2424.I \fR * update [package1] [package2] [\&.\&.\&.]
    2525.br
     26.I \fR * update-to [package1] [package2] [\&.\&.\&.]
     27.br
    2628.I \fR * check\-update
    2729.br
    2830.I \fR * upgrade [package1] [package2] [\&.\&.\&.]
     31.br
     32.I \fR * upgrade-to [package1] [package2] [\&.\&.\&.]
     33.br
     34.I \fR * distribution-synchronization [package1] [package2] [\&.\&.\&.]
    2935.br
    3036.I \fR * remove | erase package1 [package2] [\&.\&.\&.]
     
    4046.I \fR * makecache
    4147.br
    42 .I \fR * groupinstall group1 [group2] [\&.\&.\&.]
    43 .br
    44 .I \fR * groupupdate group1 [group2] [\&.\&.\&.]
    45 .br
    46 .I \fR * grouplist [hidden] [groupwildcard] [\&.\&.\&.]
    47 .br
    48 .I \fR * groupremove group1 [group2] [\&.\&.\&.]
    49 .br
    50 .I \fR * groupinfo group1 [\&.\&.\&.]
     48.I \fR * groups  [\&.\&.\&.]
    5149.br
    5250.I \fR * search string1 [string2] [\&.\&.\&.]
     
    5755.br
    5856.I \fR * localinstall rpmfile1 [rpmfile2] [\&.\&.\&.]
    59 .br
    60 .I \fR * localupdate rpmfile1 [rpmfile2] [\&.\&.\&.]
     57    (maintained for legacy reasons only - use install)
     58.br
     59.I \fR * localupdate rpmfile1 [rpmfile2] [\&.\&.\&.]
     60    (maintained for legacy reasons only - use update)
    6161.br
    6262.I \fR * reinstall package1 [package2] [\&.\&.\&.]
     
    6868.I \fR * repolist [all|enabled|disabled]
    6969.br
    70 .I \fR * version [all|installed|available|group-*|grouplist|groupinfo]
    71 .br
    72 .I \fR * history [info|list|summary|redo|undo|new]
     70.I \fR * version [ all | installed | available | group-* | nogroups* | grouplist | groupinfo ]
     71.br
     72.I \fR * history [info|list|packages-list|summary|addon-info|redo|undo|rollback|new]
    7373.br
    7474.I \fR * check
     
    8888If no package matches the given package name(s), they are assumed to be a shell
    8989glob and any matches are then installed\&. If the name starts with an
    90 @ character the rest of the name is used as though passed to the groupinstall command\&. If the name is a file, then install works
     90@ character the rest of the name is used as though passed to the groupinstall
     91command\&. If the name starts with a - character, then a search is done within
     92the transaction and any matches are removed. If the name is a file, then install works
    9193like localinstall\&. If the name doesn't match a package, then package
    9294"provides" are searched (Eg. "_sqlitecache.so()(64bit)") as are
     
    107109obsoletes in its calculations - this makes it better for distro\-version
    108110changes, for example: upgrading from somelinux 8.0 to somelinux 9.
     111
     112Note that "\fBupdate\fP" works on installed packages first, and only if there
     113are no matches does it look for available packages. The difference is most
     114noticable when you do "\fBupdate\fP foo-1-2" which will act exactly as
     115"\fBupdate\fP foo" if foo-1-2 is installed. You can use the "\fBupdate-to\fP"
     116if you'd prefer that nothing happen in the above case.
     117.IP
     118.IP "\fBupdate-to\fP"
     119This command works like "\fBupdate\fP" but always specifies the version of the
     120package we want to update to.
    109121.IP
    110122.IP "\fBcheck\-update\fP"
     
    120132for more details.
    121133.IP
     134.IP "\fBupgrade-to\fP"
     135This command works like "\fBupgrade\fP" but always specifies the version of the
     136package we want to update to.
     137.IP
     138.IP "\fBdistribution\-synchronization\fP or \fBdistro\-sync\fP"
     139Synchronizes the installed package set with the latest packages available, this
     140is done by either obsoleting, upgrading or downgrading as appropriate. This will
     141"normally" do the same thing as the upgrade command however if you have the
     142package FOO installed at version 4, and the latest available is only
     143version 3, then this command will \fBdowngrade\fP FOO to version 3.
     144
     145If you give the optional argument "full", then the command will also reinstall
     146packages where the install checksum and the available checksum do not match. And
     147remove old packages (can be used to sync. rpmdb versions). The optional argument
     148"different" can be used to specify the default operation.
     149
     150This command does not perform operations on groups, local packages or negative
     151selections.
     152.IP
    122153.IP "\fBremove\fP or \fBerase\fP"
    123154Are used to remove the specified packages from the system
     
    125156removed\&. remove operates on groups, files, provides and filelists just like
    126157the "install" command\&.(See \fBSpecifying package names\fP for more information)
     158
     159Note that "yum" is included in the protected_packages configuration, by default.
     160So you can't accidentally remove yum itself.
    127161.IP
    128162.IP "\fBlist\fP"
     
    137171.IP
    138172.IP "\fBsearch\fP"
    139 Is used to find any packages matching a string in the description, summary
    140 and package name fields of an rpm. Useful for finding a package
    141 you do not know by name but know by some word related to it.
     173This is used to find packages when you know something about the package but
     174aren't sure of it's name. By default search will try searching just package
     175names and summaries, but if that "fails" it will then try descriptions and url.
     176
     177Yum search orders the results so that those packages matching more terms will
     178appear first.
     179
     180You can force searching everything by specifying "all" as the first argument.
    142181.IP
    143182.IP "\fBinfo\fP"
     
    155194\fByum\fP repos.
    156195.IP
    157 .IP "\fBgroupinstall\fP"
    158 Is used to install all of the individual packages in a group, of the specified
     196.IP "\fBgroups\fP"
     197A command, new in 3.4.2, that collects all the subcommands that act on groups together.
     198
     199"\fBgroup install\fP" is used to install all of the individual packages in a group, of the specified
    159200types (this works as if you'd taken each of those package names and put them on
    160201the command line for a "yum install" command).
    161202 The group_package_types configuration option specifies which types will
    162203be installed.
    163 .IP
    164 .IP "\fBgroupupdate\fP"
    165 Is just an alias for groupinstall, which will do the right thing because
     204
     205"\fBgroup update\fP" is just an alias for groupinstall, which will do the right thing because
    166206"yum install X" and "yum update X" do the same thing, when X is already
    167207installed.
    168 .IP
    169 .IP "\fBgrouplist\fP"
    170 Is used to list the available groups from all \fByum\fP repos. Groups are marked
     208
     209"\fBgroup list\fP" is used to list the available groups from all \fByum\fP repos. Groups are marked
    171210as "installed" if all mandatory packages are installed, or if a group doesn't
    172211have any mandatory packages then it is installed if any of the optional or
     
    175214"user visible". If you pass the \-v option, to enable verbose mode, then the
    176215groupids are displayed.
    177 .IP
    178 .IP "\fBgroupremove\fP"
    179 Is used to remove all of the packages in a group, unlike "groupinstall" this
     216
     217"\fBgroup remove\fP" is used to remove all of the packages in a group, unlike "groupinstall" this
    180218will remove everything regardless of group_package_types. It is worth pointing
    181 out that packages can be in more than one group, so "groupinstall X Y" followed
    182 by "groupremove Y" does not do give you the same result as "groupinstall X".
    183 .IP
    184 .IP "\fBgroupinfo\fP"
    185 Is used to give the description and package list of a group (and which type
     219out that packages can be in more than one group, so "group install X Y" followed
     220by "group remove Y" does not do give you the same result as "group install X".
     221
     222The groupremove_leaf_only configuration changes the behaviour of this command
     223to only remove packages which aren't required by something else.
     224
     225"\fBgroup info\fP" is used to give the description and package list of a group (and which type
    186226those packages are marked as). Note that you can use the yum-filter-data and
    187227yum-list-data plugins to get/use the data the other way around (Ie. what
     
    189229mode, then the package names are matched against installed/available packages
    190230similar to the list command.
    191 .IP 
     231.IP
    192232.IP "\fBshell\fP"
    193233Is used to enter the 'yum shell', when a filename is specified the contents of
     
    201241Is used to install a set of local rpm files. If required the enabled
    202242repositories will be used to resolve dependencies. Note that the install command
    203 will do a local install, if given a filename.
     243will do a local install, if given a filename. This option is maintained for legacy
     244reasons only.
    204245.IP
    205246.IP "\fBlocalupdate\fP"
     
    208249the remaining specified packages will be ignored.
    209250If required the enabled repositories will be used to resolve dependencies. Note
    210 that the update command will do a local install, if given a filename.
     251that the update command will do a local update, if given a filename. This option is maintained for
     252legacy reasons only.
    211253.IP
    212254.IP "\fBreinstall\fP"
     
    221263should work (and thus. all the simple cases will work). Also this does not
    222264work for "installonly" packages, like Kernels. downgrade operates
    223 on groups, files, provides and filelists just like the "install" command\&.
     265on groups, files, provides, filelists and rpm files just like the "install" command\&.
    224266.IP
    225267.IP "\fBdeplist\fP"
    226268Produces a list of all dependencies and what packages provide those
    227 dependencies for the given packages.
     269dependencies for the given packages. As of 3.2.30 it now just shows the latest
     270version of each package that matches (this can be changed by
     271using --showduplicates) and it only shows the newest providers (which can be
     272changed by using --verbose).
    228273.IP
    229274.IP "\fBrepolist\fP"
     
    234279
    235280You can pass repo id or name arguments, or wildcards which to match against
    236 both of those. However if the ir or name matches exactly then the repo will
     281both of those. However if the id or name matches exactly then the repo will
    237282be listed even if you are listing enabled repos. and it is disabled.
    238283
     
    255300the yumdb. Note that this rpmdb version is now also used significantly within
    256301yum (esp. in yum history).
     302
     303The version command will now show "groups" of packages as a separate version,
     304and so takes sub-commands:
     305
     306"version grouplist" - List the defined version groups.
     307
     308"version groupinfo" - Get the complete list of packages within one or more version groups.
     309
     310"version installed" - This is the default, only show the version information for installed packages.
     311
     312"version available" - Only show the version information for available packages.
     313
     314"version all" - Show the version information for installed and available packages.
     315
     316"version nogroups | nogroups-*" - Just show the main version information.
     317
     318"version group-*" - Just show the grouped version information, if more arguments are given then only show the data for those groups.
     319
    257320.IP
    258321.IP "\fBhistory\fP"
    259322The history command allows the user to view what has happened in past
    260323transactions (assuming the history_record config. option is set). You can use
    261 info/list/summary to view what happened, undo/redo to act on that information
    262 and new to start a new history file.
     324info/list/packages-list/summary to view what happened, undo/redo/rollback to act
     325on that information and new to start a new history file.
    263326
    264327The info/list/summary commands take either a transaction id or a package (with
     
    266329no arguments. list can be passed the keyword "all" to list all the transactions.
    267330
    268 The undo/redo commands take either a transaction id or the keyword last and
    269 an offset from the last transaction (Eg. if you've done 250 transactions,
    270 "last" refers to transaction 250, and "last-4" refers to transaction 246).
     331The packages-list command takes a package  (with wildcards, as in
     332\fBSpecifying package names\fP).
     333
     334The undo/redo/rollback commands take either a single transaction id or the
     335keyword last and an offset from the last transaction (Eg. if you've done 250
     336transactions, "last" refers to transaction 250, and "last-4" refers to
     337transaction 246).
     338
     339The undo/redo commands act on the specified transaction, undo'ing or repeating
     340the work of that transaction. While the rollback command will undo all
     341transactions upto the point of the specified transaction. For example, if you
     342have 3 transactions, where package A; B and C where installed respectively.
     343Then "undo 1" will try to remove pacakge A, "redo 1" will try to install package
     344A (if it is not still installed), and "rollback 1" will try to remove packages
     345B and C. Note that after a "rollback 1" you will have a fourth transaction,
     346although the ending rpmdb version (see: yum version) should be the same in
     347transactions 1 and 4.
     348
     349The addon-info command takes a transaction ID, and the packages-list command
     350takes a package (with wildcards).
     351
     352In "history list" you can change the behaviour of the 2nd column via. the
     353configuration option history_list_view.
    271354
    272355In "history list" output the Altered column also gives some extra information
    273 if there was something not good with the transaction.
     356if there was something not good with the transaction (this is also shown at the
     357end of the package column in the packages-list command).
    274358
    275359.I \fB>\fR - The rpmdb was changed, outside yum, after the transaction.
     
    280364.br
    281365.I \fB#\fR - The transaction completed, but with a non-zero status.
     366.br
     367.I \fBE\fR - The transaction completed fine, but had warning/error output during the transaction.
     368.br
     369.I \fBP\fR - The transaction completed fine, but problems already existed in the rpmdb.
     370.br
     371.I \fBs\fR - The transaction completed fine, but --skip-broken was enabled and had to skip some packages.
    282372.br
    283373
     
    287377can pass the check command the arguments "dependencies" or "duplicates", to
    288378limit the checking that is performed (the default is "all" which does both).
     379
     380The info command can also take ranges of transaction ids, of the form
     381start..end, which will then display a merged history as if all the
     382transactions in the range had happened at once\&.
     383.br
     384Eg. "history info 1..4" will merge the first four transactions and display them
     385as a single transaction.
    289386.IP
    290387.IP "\fBhelp\fP"
     
    332429.IP "\fB\-C, \-\-cacheonly\fP"
    333430Tells yum to run entirely from system cache - does not download or
    334 update any headers unless it has to to perform the requested action.
     431update any headers unless it has to to perform the requested action. If you're
     432using this as a user yum will not use the tempcache for the user but will only
     433use the system cache in the system cachedir.
    335434.IP "\fB\-\-version\fP"
    336435Reports the \fByum\fP version number and installed package versions for
     
    341440.IP "\fB\-\-installroot=root\fP"
    342441Specifies an alternative installroot, relative to which all packages will be
    343 installed.
     442installed. Think of this like doing "chroot <root> yum" except using
     443\-\-installroot allows yum to work before the chroot is created.
     444Note: You may also want to use the option \-\-releasever=/ when creating the
     445installroot as otherwise the $releasever value is taken from the rpmdb within
     446the installroot (and thus. will be empty, before creation).
    344447.br
    345448Configuration Option: \fBinstallroot\fP
     
    397500.IP "\fB\-\-releasever=version\fP"
    398501Pretend the current release version is the given string. This is very useful
    399 when combined with \-\-installroot. Note that with the default upstream cachedir,
    400 of /var/cache/yum, using this option will corrupt your cache (and you can use
    401 $releasever in your cachedir configuration to stop this).
     502when combined with \-\-installroot. You can also use \-\-releasever=/ to take
     503the releasever information from outside the installroot.
     504Note that with the default upstream cachedir, of /var/cache/yum, using this
     505option will corrupt your cache (and you can use $releasever in your cachedir
     506configuration to stop this).
    402507.PP
    403508.IP "\fB\-t, \-\-tolerant\fP"
    404509This option currently does nothing.
    405510.br
     511.IP "\fB\-\-setopt=option=value\fP"
     512Set any config option in yum config or repo files. For options in the global
     513config just use: \-\-setopt=option=value for repo options use: \-\-setopt=repoid.option=value
     514.PP
     515
    406516.SH "LIST OPTIONS"
    407517The following are the ways which you can invoke \fByum\fP in list
     
    491601availability of packages. Using this option will force yum to download all the
    492602metadata the next time it is run.
    493 
    494 .IP "\fByum clean dbcache\fP"
    495 Eliminate the sqlite cache used for faster access to metadata.
    496 Using this option will force yum to download the sqlite metadata the next time
    497 it is run, or recreate the sqlite metadata if using an older repo.
    498603
    499604.IP "\fByum clean dbcache\fP"
  • yum/trunk/docs/yum.conf.5

    r2 r516  
    6363
    6464.IP
     65\fBprotected_packages\fR
     66This is a list of packages that yum should never completely remove. They are
     67protected via. Obsoletes as well as user/plugin removals.
     68
     69The default is: yum glob:/etc/yum/protected.d/*.conf
     70So any packages which should be protected can do so by including a file in
     71/etc/yum/protected.d with their package name in it.
     72
     73Also if this configuration is set to anything, then yum will protect the
     74package corresponding to the running version of the kernel.
     75
     76.IP
     77\fBprotected_multilib\fR
     78Either `1' or `0'. This tells yum whether or not it should perform a check to
     79make sure that multilib packages are the same version. For example, if this
     80option is off (rpm behaviour) pkgA-1.x86_64 and pkgA-2.i386 can be installed
     81at the same time. However this is very rarely desired.
     82Install only packages, like the kernel, are exempt from this check.
     83The default is `1'.
     84
     85.IP
    6586\fBlogfile\fR
    6687Full directory and file name for where yum should write its log file.
     
    7091Either `1' or `0'. This tells yum whether or not it should perform a GPG
    7192signature check on packages. When this is set in the [main] section it sets the
    72 default for all repositories. This option also determines whether or not an
    73 install of a package from a local RPM file will be GPG signature checked. The
    74 default is `0'.
     93default for all repositories.
     94The default is `0'.
     95
     96\fBlocalpkg_gpgcheck\fR
     97Either `1' or `0'. This tells yum whether or not it should perform a GPG
     98signature check on local packages (packages in a file, not in a repositoy).
     99The default is `0'.
    75100
    76101.IP
     
    124149.IP
    125150\fBinstallonlypkgs \fR
    126 List of packages that should only ever be installed, never updated. Kernels
    127 in particular fall into this category. Defaults to kernel, kernel-smp,
    128 kernel-bigmem, kernel-enterprise, kernel-debug, kernel-unsupported.
     151List of package provides that should only ever be installed, never updated.
     152Kernels in particular fall into this category. Defaults to kernel,
     153kernel-bigmem, kernel-enterprise, kernel-smp, kernel-modules, kernel-debug,
     154kernel-unsupported, kernel-source, kernel-devel, kernel-PAE, kernel-PAE-debug.
     155
     156Note that because these are provides, and not just package names, kernel-devel
     157will also apply to kernel-debug-devel, etc.
    129158
    130159.IP
     
    168197
    169198.IP
     199\fBgroupremove_leaf_only \fR
     200Either `0' or `1'. Used to determine yum's behaviour when the groupremove
     201command is run.  If \fBgroupremove_leaf_only\fR is `0' (default) then
     202all packages in the group will be removed.  If \fBgroupremove_leaf_only\fR is
     203`1' then only those packages in the group that aren't required by another
     204package will be removed.
     205
     206.IP
    170207\fBenable_group_conditionals\fR
    171208Either `0' or `1'. Determines whether yum will allow the use of conditionals
     
    199236\fBtsflags\fR
    200237Comma or space separated list of transaction flags to pass to the rpm
    201 transaction set. These include 'noscripts', 'notriggers', 'nodocs', 'test', and 'repackage'.
     238transaction set. These include 'noscripts', 'notriggers', 'nodocs', 'test', 'justdb' and 'nocontexts'. 'repackage' is also available but that does nothing
     239with newer rpm versions.
    202240You can set all/any of them. However, if you don't know what these do in the
    203241context of an rpm transaction set you're best leaving it alone. Default is
     
    270308.IP
    271309\fBsslverify \fR
    272 Boolean - should yum verify SSL certificates/hosts at all. Defaults to True
     310Boolean - should yum verify SSL certificates/hosts at all. Defaults to True.
     311
     312Note that the plugin yum-rhn-plugin will force this value to true, and may
     313alter other ssl settings (like hostname checking), even if it the machine
     314is not registered.
    273315
    274316.IP
     
    276318Path to the SSL client certificate yum should use to connect to repos/remote sites
    277319Defaults to none.
     320
     321Note that if you are using curl compiled against NSS (default in Fedora/RHEL),
     322curl treats sslclientcert values with the same basename as _identical_. This
     323version of yum will check that this isn't true and output an error when the
     324repositories "foo" and "bar" violate this, like so:
     325
     326sslclientcert basename shared between foo and bar
    278327
    279328.IP
     
    290339history undo/redo commands. Defaults to True.
    291340
     341Note that if history is recorded, yum uses that information to see if any
     342modifications to the rpmdb have been done outside of yum. These are always bad,
     343from yum's point of view, and so yum will issue a warning and automatically
     344run some of "yum check" to try and find some of the worst problems altering
     345the rpmdb might have caused.
     346.IP
     347This means that turning this option off will stop yum from being able to
     348detect when the rpmdb has changed and thus. it will never warn you or
     349automatically run "yum check". The problems will likely still be there, and
     350yumdb etc. will still be wrong but yum will not warn you about it.
     351
    292352.IP
    293353\fBhistory_record_packages \fR
     
    298358
    299359.IP
     360\fBhistory_list_view \fR
     361Which column of information to display in the "yum history list" command. There
     362are currently three options: users, cmds (or commands), auto.
     363
     364Older versions of yum acted like "users", which always outputs the user who
     365initiated the yum transaction. You can now specify "commands" which will instead
     366always output the command line of the transaction. You can also specify
     367"single-user-commands" which will display the users if there are more than one,
     368otherwise it will display the command line.
     369
     370You can also specify "default" which currently selects "single-user-commands".
     371
     372.IP
    300373\fBcommands\fR
    301374List of functional commands to run if no functional commands are specified
     
    305378.IP
    306379\fBsyslog_ident \fR
    307 XXX not implemented yet
     380Identification (program name) for syslog messages.
    308381
    309382.IP
    310383\fBsyslog_facility \fR
    311 XXX not implemented yet
     384Facility name for syslog messages, see syslog(3).  Default is `LOG_USER'.
     385
     386.IP
     387\fBsyslog_device \fR
     388Where to log syslog messages. Can be a local device (path) or a host:port
     389string to use a remote syslog.  If empty or points to a nonexistent device,
     390syslog logging is disabled.  Default is `/dev/log'.
    312391
    313392.IP
     
    322401\fBproxy_password \fR
    323402password for this proxy
     403
     404.IP
     405\fBusername \fR
     406username to use for basic authentication to a repo or really any url.
     407
     408.IP
     409\fBpassword \fR
     410password to use with the username for basic authentication.
    324411
    325412.IP
     
    347434lower the value of this option. You can also change from the default of using
    348435seconds to using days, hours or minutes by appending a d, h or m respectively.
    349 The default is 1.5 hours, to compliment yum-updatesd running once an hour.
     436The default is 6 hours, to compliment yum-updatesd running once an hour.
    350437It's also possible to use the word "never", meaning that the metadata will
    351438never expire. Note that when using a metalink file the metalink must always
     
    406493.IP
    407494\fBcolor \fR
    408 Display colorized output automatically, depending on the output terminal,
    409 always (using ANSI codes) or never.
     495Whether to display colorized output automatically, depending on the output
     496terminal, can be changed to always (using ANSI codes) or never.
     497Default is `auto'.
     498Possible values are: auto, never, always.
    410499Command-line option: \fB\-\-color\fP
    411500
     
    498587Default is `normal'.
    499588See color_list_installed_older for possible values.
     589
     590
     591.IP
     592\fBclean_requirements_on_remove \fR
     593When removing packages (by removal, update or obsoletion) go through each
     594package's dependencies. If any of them are no longer required by any other
     595package then also mark them to be removed.
     596Boolean (1, 0, True, False, yes,no) Defaults to False
     597
     598
    500599
    501600.SH "[repository] OPTIONS"
     
    592691
    593692.IP
     693\fBgpgcakey\fR
     694A URL pointing to the ASCII-armored CA key file for the repository. This is a normal
     695gpg public key - but this key will be used to validate detached signatures of all
     696other keys. The idea is you are asked to confirm import for this key. After that any other
     697gpg key needed for package or repository verification, if it has a detached signature which matches this
     698key will be automatically imported without user confirmation.
     699
     700.IP
    594701\fBexclude\fR
    595702Same as the [main] \fBexclude\fR option but only for this repository.
     
    697804If this is unset it inherits it from the global setting
    698805
     806
     807.IP
     808\fBusername \fR
     809username to use for basic authentication to a repo or really any url.
     810If this is unset it inherits it from the global setting
     811
     812.IP
     813\fBpassword \fR
     814password to use with the username for basic authentication.
     815If this is unset it inherits it from the global setting
     816
    699817.IP
    700818\fBcost \fR
     
    720838Included files may contain further include lines. Yum will abort with an error
    721839if an inclusion loop is detected.
     840
     841.SH "GLOB: FOR LIST OPTIONS"
     842.LP
     843Any of the configurations options which are a list of items can be specfied
     844using the glob syntax: \fBglob:/etc/path/somewhere.d/*.conf\fR. This
     845will read in all files matching that glob and include all lines in each file
     846(excluding comments and blank lines) as items in the list.
     847.LP
    722848
    723849.SH "VARIABLES"
     
    756882configuration file variable will not be replaced.
    757883
     884.LP
     885As of 3.2.28, any file in /etc/yum/vars is turned into a variable named after
     886the filename (or overrides any of the above variables).
     887
     888Note that no warnings/errors are given if the files are unreadable, so creating
     889files that only root can read may be confusing for users.
     890
     891Also note that only the first line will be read and all new line
     892characters are removed, as a convenience. However, no other checking is
     893performed on the data. This means it is possible to have bad character
     894data in any value.
    758895
    759896.SH "FILES"
     
    762899/etc/yum/repos.d/
    763900/etc/yum/pluginconf.d/
     901/etc/yum/protected.d
     902/etc/yum/vars
    764903
    765904.SH "SEE ALSO"
Note: See TracChangeset for help on using the changeset viewer.