Comment 17 for bug 2039268

Revision history for this message
Steve Langasek (vorlon) wrote :

moving the generator aside and replacing it with the following script:

cd /lib/systemd
mv system-generators/snapd-generator .
cat > system-generators/snapd-generator <<EOF
#!/bin/sh

exec > /tmp/lp.2039268 2>&1
cat /proc/self/mountinfo

exec strace -ff -s256 -o /tmp/trace-2039268 /lib/systemd/snapd-generator "\$@"
EOF
chmod a+x system-generators/snapd-generator

It looks like this unit isn't actually generated by the snapd generator in the snapd deb, but maybe by the copy in the snapd snap? which could explain why /proc/self/mountinfo is different, but I don't understand how or why this would be executed.