Purging maas-rack-controller crashes when removing authbind configuration

Bug #1647981 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Undecided
Unassigned

Bug Description

maas-rack-controller.postrm contains:

        # Remove authbind
        MAAS_UID="`id -u maas`"
        if [ -f "/etc/authbind/byuid/$MAAS_UID" ]; then
            rm -rf /etc/authbind/byuid/$MAAS_UID
        fi

However, the `maas` user may not exist by the time this is called.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers