Question: Machine Gun Blues is by an American punk rock band that was formed in 1978 in what California city?

Context articles: Dwarves (band)
Rancid (band)
Tim McIlrath
Angry Samoans
Machine Gun Blues
Scotty Wilkins
Social Distortion 2010 Tour
Darby Crash
Crimpshrine
Social Distortion

Dwarves is an American punk rock band formed in Chicago, Illinois, as The Suburban Nightmare, in the mid-1980s.
 They are currently based in San Francisco, California.
 Formed as a garage punk band, their career subsequently saw them move in a hardcore direction before settling into an eclectic punk rock sound emphasizing intentionally shocking lyrics.
 They have been described as "one of the last true bastions of punk rock ideology in the contemporary musical age".
Rancid is an American punk rock band formed in Berkeley, California in 1991.
 Founded by 1980s punk veterans Tim Armstrong and Matt Freeman, who previously played in the highly influential ska punk band Operation Ivy, Rancid is often credited (along with Green Day and The Offspring) for reviving mainstream interest in punk rock in the United States and bringing punk rock into the mainstream during the mid-1990s.
 Over their 26 -year career, Rancid remained signed to an independent record label and retained much of its original fan-base, most of which was connected to its underground roots.
Timothy James "Tim" McIlrath (born November 3, 1978) is an American punk rock musician.
 He is the lead singer, rhythm guitarist, songwriter and co-founder of the American punk rock band Rise Against.
 McIlrath is known to support animal rights and actively promotes PETA with his band.
 He is also straight edge.
The Angry Samoans are an American punk rock band from the first wave of American punk, formed in August 1978 in Los Angeles, California by early 1970s rock writer "Metal" Mike Saunders, his sibling lead guitarist Bonze Blayk and Gregg Turner (another rock writer, for "Creem" from the late 1970s through the mid-1980s), along with original recruits Todd Homer (bass) and Bill Vockeroth (drums).
"Machine Gun Blues" is a song by Social Distortion.
 It was the first single from their seventh studio album, "Hard Times and Nursery Rhymes" (2011).
 The song was featured on Season 4, Episode 7 of "Sons of Anarchy".
 The song was also used by WWE to promote a feud between The Miz and Randy Orton at the 2011 WWE Royal Rumble.
Scotty Wilkins is an American punk rock singer and musician.
 Wilkins is most widely known as the singer for the Los Angeles punk rock band Hollywood Hate and previously, San Francisco punk rock band, Verbal Abuse.
 In the mid 1990s, Wilkins joined New York band, Electric Frankenstein.
 Wilkins' first serious band that toured was called Condemned to Death.
 His first attempt at being in a band was with local group, The Lonerz.
The Social Distortion 2010 Tour was a tour by Social Distortion and was the first tour to have David Hidalgo, Jr. on the drums.
 After spending two weeks in rehearsal, the band officially kicked off the tour on July 17, 2010 in Quebec City at the Festival d'été de Québec.
 During this tour, in late October, the band premiered Machine Gun Blues, the lead single from "Hard Times and Nursery Rhymes".
Darby Crash (formerly Bobby Pyn; born Jan Paul Beahm; September 26, 1958 – December 7, 1980) was an American punk rock vocalist and songwriter who, along with long-time friend Pat Smear (born Georg Ruthenberg), co-founded the punk rock band the Germs.
 He committed suicide by way of an intentional heroin overdose.
 In the years since his suicide at the age of 22, the Germs have attained legendary status among punk rock fans and musicians alike, as well as from the wider alternative rock and underground music community in general.
 Crash has come to be revered as a unique and talented songwriter; his myriad literary, musical and philosophical influences, which varied from Friedrich Nietzsche and David Bowie to Charles Manson and Adolf Hitler, resulted in lyrics that were unusually wordy and impressionistic in the realm of punk rock at the time, immediately setting Crash and his band apart from most other Los Angeles punk groups that sprang up in the late 1970s.
Crimpshrine was an American punk rock band from Berkeley, California.
 The group was formed in 1982 by Aaron Cometbus, founder of the seminal punk rock zine "Cometbus", and future Operation Ivy vocalist Jesse Michaels.
 They grew out of the East Bay scene, centered on 924 Gilman Street, and had an important influence on later East Bay bands such as Operation Ivy, Green Day and punk rock in general.
Social Distortion is an American punk rock band formed in 1978 in Fullerton, California.
 The band currently consists of Mike Ness (lead vocals, lead guitar), Jonny Wickersham (rhythm guitar, backing vocals), Brent Harding (bass, backing vocals), David Hidalgo Jr. (drums), and David Kalish (keyboards).