Top
Systemwalker Software Configuration Manager Reference Guide
Systemwalker

1.2.3 swcfmg_patch_importrpmpolicy (Linux Patch Management Target Definition Import Command)

Description

This command imports RPM package definitions subject to Linux patch management.

Edit the files exported using the swcfmg_patch_exportrpmpolicy command (the Linux patch management target definition export command), and then use this command to add or update the definitions.

Synopsis

[Windows]

swcfmg_patch_importrpmpolicy.exe -f <Input file path> [-e <Input file character encoding>]

[Linux]

swcfmg_patch_importrpmpolicy -f <Input file path> [-e <Input file character encoding>]

Options

-f <Input file path>

The RPM package definitions subject to Linux patch management will be registered using the data entered in the specified input file.

The input file uses CSV format. Refer to "2.7 Linux Patch Management Target Configuration File" for information on the input file.

-e <Input file character encoding>

Specify the character encoding for the input file.

The following character encoding can be specified. Use uppercase letters.

  • UTF-8

If this option is omitted, the character encoding for the environment in which this command is to be executed will be used in the input file.

Return Value

Return value

Meaning

0

The command has terminated normally.

10

There is a parameter error.

20

There is an error with the specified input path.

30

The specified character encoding is incorrect.

40

The command cannot analyze the Linux patch management target configuration file.

100

Systemwalker Software Configuration Manager is not running.

101

A command that cannot be executed at the same time as this command is executing.

102

You do not have the privileges required to execute this command.

110

A write error has occurred.

200

Setup has not been performed.

255

A system error has occurred.

Command Location

Admin server

[Windows]

<Systemwalker Software Configuration Manager installation directory>\SWCFMGM\bin

[Linux]

/opt/FJSVcfmgm/bin

Privilege Required/Execution Environment

[Windows]

[Linux]

Cautions

Example

[Windows]

swcfmg_patch_importrpmpolicy.exe -f C:\work\linuxpatchpolicy.csv

[Linux]

swcfmg_patch_importrpmpolicy -f /tmp/linuxpatchpolicy.csv