Skip to content

LaunchDaemon plist bug: io.macadmins.Outset.on-demand-privileged.plist (Version 4.2.0.21973) #72

@mbrotz

Description

@mbrotz

Describe the bug
The launch daemon plist Outset.app/Contents/Library/LaunchDaemons/io.macadmins.Outset.on-demand-privileged.plist is still using an array for the program key. This is incorrect. The array should be replaced with a simple string.

Current (incorrect) state of the plist file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>AssociatedBundleIdentifiers</key>
    <string>io.macadmins.Outset</string>
    <key>KeepAlive</key>
    <dict>
        <key>PathState</key>
        <dict>
            <key>/private/tmp/.io.macadmins.outset.ondemand-privileged.launchd</key>
            <true/>
        </dict>
    </dict>
    <key>Label</key>
    <string>io.macadmins.Outset.on-demand-privileged</string>
    <key>OnDemand</key>
    <true/>
    <key>Program</key>
    <array>
        <string>/usr/local/outset/Outset.app/Contents/MacOS/Outset</string>
    </array>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/outset/Outset.app/Contents/MacOS/Outset</string>
        <string>--on-demand-privileged</string>
    </array>
</dict>
</plist>

Fixed plist file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>AssociatedBundleIdentifiers</key>
    <string>io.macadmins.Outset</string>
    <key>KeepAlive</key>
    <dict>
        <key>PathState</key>
        <dict>
            <key>/private/tmp/.io.macadmins.outset.ondemand-privileged.launchd</key>
            <true/>
        </dict>
    </dict>
    <key>Label</key>
    <string>io.macadmins.Outset.on-demand-privileged</string>
    <key>OnDemand</key>
    <true/>
    <key>Program</key>
    <string>/usr/local/outset/Outset.app/Contents/MacOS/Outset</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/outset/Outset.app/Contents/MacOS/Outset</string>
        <string>--on-demand-privileged</string>
    </array>
</dict>
</plist>

Additional context
Outset version: 4.2.0.21973

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions