https://qa.mandrakesoft.com/show_bug.cgi?id=698

           Product: rpm-helper
         Component: rpm-helper
           Summary: add-service fail to add new service
           Version: 0.7.1-1mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


After a fresh install of some packages which uses %_post_service
in scriptlet, installation will fail with the following message:

  /usr/share/rpm-helper/add-service: line 27: [: : integer expression expected

Thus chkconfig is not executed. add-service line 27 contains:

  if [ -n "$SECURE_LEVEL" -a "$SECURE_LEVEL" -gt 3 ]; then

$SECURE_LEVEL *can* be undefined (e.g. msec not installed), and
that breaks the "$SECURE_LEVEL" -gt 3 part.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to