]> err.no Git - systemd/commit
unit: garbage collect units with load error
authorMichal Schmidt <mschmidt@redhat.com>
Mon, 5 Dec 2011 23:47:28 +0000 (00:47 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 5 Dec 2011 23:52:37 +0000 (00:52 +0100)
commit9a46fc3b9014de1bf0ed1f3004a536b08a19ebb3
tree79a8a216b6ca24d53314dd5da2a9b6e67bff5a7e
parentd380a3bcd14376ed72286e78dbcc871b7d6d2151
unit: garbage collect units with load error

Units that failed to load were never cleaned up. It was possible to
reach the 128K limit of units by attempting to load a bunch of nonsense.

Bug observed by Reartes Guillermo in
https://bugzilla.redhat.com/show_bug.cgi?id=680122
src/unit.c