IBM Support

IV33130: SETCLOCK RETURNED WITH "STIME FAILED" BY NON-ROOT USER APPLIES TO AIX 6100-06

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When setclock is run by user without root authority,
    it will displays the local date and time as designed, but
    it will also failed with information "stime failed: Not
    owner"
    and exit with 1.
    
    This problem happen on 61 and 71, but not 53.
    
    $ setclock localhost
    Wed Oct 31 03:24:49 2012
    stime failed: Not owner
    $ echo $?
    1
    

Local fix

Problem summary

  • setclock throws below error when run as non-root user:
    stime failed: Operation not permitted.
    

Problem conclusion

  • Modified code to suppress the unnecessary error message when
    run as non-root user.
    

Temporary fix

Comments

  • 6100-06 - use AIX APAR IV33130
    6100-07 - use AIX APAR IV40534
    6100-08 - use AIX APAR IV38763
    7100-00 - use AIX APAR IV41906
    7100-01 - use AIX APAR IV41480
    7100-02 - use AIX APAR IV38943
    

APAR Information

  • APAR number

    IV33130

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2012-12-07

  • Closed date

    2013-03-12

  • Last modified date

    2013-11-24

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U857748

       UP13/08/01 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
24 November 2013