We found the Drosophila E3 ligase and HOIL-1L interacting protein (HOIP) orthologue linear ubiquitin E3 ligase (LUBEL) to catalyse formation of M1-linked linear ubiquitin (M1-Ub) chains in flies in a signal-dependent manner upon bacterial infection. This evidence concerns the gene RNF31 and bacterial infectious disease.