Italy's new coalition government was sworn in on Sunday, but a ceremony symbolising a fresh start for the recession-wracked country was overshadowed by a shooting outside government headquarters.