Skip to content

salt.modules.system should play nice on solaris #30414

Closed

Description

@sjorge

the shutdown command on Solaris is different than on linux.
e.g.

# shutdown the system (poweroff)
shutdown -i5 -g0 -y

# reboot the system (reboot)
shutdown -i6 -g0 -y

Optionally -f can be passed to do a 'fastboot' but it depends on the hardware if it works.

Ideally the existing one should not be loaded on os_family = Solaris. And a solaris_system should take it's place.

More info here: http://illumos.org/man/1m/shutdown

Activity

  1. ssgward commented on Jan 19, 2016

    @ssgward

    @sjorge - thanks.

    Are you suggesting that documentation needs to be updated or the code needs to be changed to allow for different Shutdown command on Solaris?

  2. added this to the Blocked milestone on Jan 19, 2016
  3. added
    Question
    on Jan 19, 2016
  4. sjorge commented on Jan 19, 2016

    @sjorge
    ContributorAuthor

    I'll probably write a Solaris variant when I have more time.

    ~ sjorge

    On 19 Jan 2016, at 17:26, ssgward [email protected] wrote:

    @sjorge - thanks.

    Are you suggesting that documentation needs to be updated or the code needs to be changed to allow for different Shutdown command on Solaris?

    —
    Reply to this email directly or view it on GitHub.

  5. modified the milestones: Approved, Blocked on Jan 19, 2016
  6. added
    bug
    severity-medium
    P3
    Platform
    and removed
    Question
    on Jan 19, 2016
  7. added a commit that references this issue on Jan 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Platformbugseverity-medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions