Question:
Suppose a party has a Dustman - and said party comes under attack by a horde of ghouls (though, they don't attack a the Dustman until he attacks them first) - the Dustman helps the party both physically and via spells to dispatch the ghouls...
has he broken the undead truce? eg. If the party encounters other hostile undead, will they now attack the Dustman as well?
He has broken the Truce. Aiding those attacking the undead will permit mindless undead to attack the Dustman.
I believe the Truce is not utterly lost once ever broken, and that the effects of the broken truce will only extend to those undead with knowledge of the broken truce. Mindless undead do not communicate among themselves, this will generally speaking only extend the duration of a single encounter, to those mindless undead that actually witnessed the breaking of the pact. Free-willed undead or a necromancer able to communicate with other undead might be able to spread the word more. On the other hand, you might wish to regard the Dead Truce as something as strict as a paladin's code, and require the equivalent of an atonement to be reestablished in force once ever broken.