title: Problem in installation of snapd on Oracle Linux Server 7.6 (based on RHEL 7.6) using yum
body: <p>First step is - <code>sudo yum install snapd</code> <br>
  This seems to work fine download the dependencies and all and setup is completed <br>
  Installed Version : snapd.x86_64 0:2.45-1.el7 <br>
  Second step is - <code>sudo systemctl enable --now snapd.socket</code> <br>
  Gives output as &gt; Created symlink from /etc/systemd/system/sockets.target.wants/snapd.socket to /usr/lib/systemd/system/snapd.socket. <br>
  Now checking status - <code>sudo systemctl status snapd</code> gives: <br></p>
  <pre><code>   ● snapd.service - Snap Daemon
     Loaded: loaded (/usr/lib/systemd/system/snapd.service; disabled; vendor preset: disabled)
     Active: failed (Result: start-limit) since Mon 2020-12-07 11:17:28 IST; 16min ago
   Main PID: 5726 (code=exited, status=1/FAILURE)
  
  systemd[1]: snapd.service holdoff time over, scheduling restart.
  systemd[1]: Stopped Snap Daemon.
  systemd[1]: start request repeated too quickly for snapd.service
  systemd[1]: Failed to start Snap Daemon.
  systemd[1]: Unit snapd.service entered failed state.
  systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  systemd[1]: snapd.service failed.
  systemd[1]: start request repeated too quickly for snapd.service
  systemd[1]: Failed to start Snap Daemon.
  systemd[1]: snapd.service failed.
  </code></pre>
  <p>Possible Solutions tried- 1) Re-installation after purge, 2) enabled socket and service after reboot again.</p>
  <p><code>journalctl -u snapd.service</code> output:</p>
  <pre><code>-- Logs begin at Wed 2020-12-09 11:21:36 IST, end at Thu 2020-12-17 12:40:16 IST. --
  Dec 17 12:36:45 whf00jfw systemd[1]: Starting Snap Daemon...
  Dec 17 12:36:45 whf00jfw snapd[4639]: AppArmor status: apparmor not enabled
  Dec 17 12:36:45 whf00jfw snapd[4639]: daemon.go:343: started snapd/2.45-1.el7 (series 16; classic; devmode) ol/7.6 (amd64) linux/4.14.35-1902.304.6.el7uek.
  Dec 17 12:36:46 whf00jfw snapd[4639]: daemon.go:436: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
  Dec 17 12:36:46 whf00jfw snapd[4639]: cannot run daemon: state startup errors: [cannot obtain snap-seccomp version information: fork/exec /usr/lib/snapd/snap
  Dec 17 12:36:46 whf00jfw systemd[1]: snapd.service: main process exited, code=exited, status=1/FAILURE
  Dec 17 12:36:46 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:36:46 whf00jfw systemd[1]: Unit snapd.service entered failed state.
  Dec 17 12:36:46 whf00jfw systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  Dec 17 12:36:46 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:36:46 whf00jfw systemd[1]: snapd.service holdoff time over, scheduling restart.
  Dec 17 12:36:46 whf00jfw snapd[4673]: AppArmor status: apparmor not enabled
  Dec 17 12:36:46 whf00jfw systemd[1]: Stopped Snap Daemon.
  Dec 17 12:36:46 whf00jfw systemd[1]: Starting Snap Daemon...
  Dec 17 12:36:46 whf00jfw snapd[4673]: daemon.go:343: started snapd/2.45-1.el7 (series 16; classic; devmode) ol/7.6 (amd64) linux/4.14.35-1902.304.6.el7uek.
  Dec 17 12:36:46 whf00jfw snapd[4673]: daemon.go:436: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
  Dec 17 12:36:46 whf00jfw snapd[4673]: cannot run daemon: state startup errors: [cannot obtain snap-seccomp version information: fork/exec /usr/lib/snapd/snap
  Dec 17 12:36:46 whf00jfw systemd[1]: snapd.service: main process exited, code=exited, status=1/FAILURE
  Dec 17 12:36:46 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:36:46 whf00jfw systemd[1]: Unit snapd.service entered failed state.
  Dec 17 12:36:46 whf00jfw systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  Dec 17 12:36:46 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:36:46 whf00jfw systemd[1]: snapd.service holdoff time over, scheduling restart.
  Dec 17 12:36:46 whf00jfw systemd[1]: Stopped Snap Daemon.
  Dec 17 12:36:46 whf00jfw systemd[1]: Starting Snap Daemon...
  Dec 17 12:36:46 whf00jfw snapd[4699]: AppArmor status: apparmor not enabled
  Dec 17 12:36:46 whf00jfw snapd[4699]: daemon.go:343: started snapd/2.45-1.el7 (series 16; classic; devmode) ol/7.6 (amd64) linux/4.14.35-1902.304.6.el7uek.
  Dec 17 12:36:46 whf00jfw snapd[4699]: daemon.go:436: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
  Dec 17 12:36:46 whf00jfw snapd[4699]: cannot run daemon: state startup errors: [cannot obtain snap-seccomp version information: fork/exec /usr/lib/snapd/snap
  Dec 17 12:36:46 whf00jfw systemd[1]: snapd.service: main process exited, code=exited, status=1/FAILURE
  Dec 17 12:36:46 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:36:46 whf00jfw systemd[1]: Unit snapd.service entered failed state.
  Dec 17 12:36:46 whf00jfw systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  Dec 17 12:36:46 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:36:46 whf00jfw systemd[1]: snapd.service holdoff time over, scheduling restart.
  Dec 17 12:36:46 whf00jfw systemd[1]: Stopped Snap Daemon.
  Dec 17 12:36:46 whf00jfw systemd[1]: Starting Snap Daemon...
  Dec 17 12:36:46 whf00jfw snapd[4745]: AppArmor status: apparmor not enabled
  Dec 17 12:36:46 whf00jfw snapd[4745]: daemon.go:343: started snapd/2.45-1.el7 (series 16; classic; devmode) ol/7.6 (amd64) linux/4.14.35-1902.304.6.el7uek.
  Dec 17 12:36:46 whf00jfw snapd[4745]: daemon.go:436: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
  Dec 17 12:36:46 whf00jfw snapd[4745]: cannot run daemon: state startup errors: [cannot obtain snap-seccomp version information: fork/exec /usr/lib/snapd/snap
  Dec 17 12:36:46 whf00jfw systemd[1]: snapd.service: main process exited, code=exited, status=1/FAILURE
  Dec 17 12:36:46 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:36:46 whf00jfw systemd[1]: Unit snapd.service entered failed state.
  Dec 17 12:36:46 whf00jfw systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  Dec 17 12:36:46 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:36:47 whf00jfw systemd[1]: snapd.service holdoff time over, scheduling restart.
  Dec 17 12:36:47 whf00jfw systemd[1]: Stopped Snap Daemon.
  Dec 17 12:36:47 whf00jfw systemd[1]: Starting Snap Daemon...
  Dec 17 12:36:47 whf00jfw snapd[4775]: AppArmor status: apparmor not enabled
  Dec 17 12:36:47 whf00jfw snapd[4775]: daemon.go:343: started snapd/2.45-1.el7 (series 16; classic; devmode) ol/7.6 (amd64) linux/4.14.35-1902.304.6.el7uek.
  Dec 17 12:36:47 whf00jfw snapd[4775]: daemon.go:436: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
  Dec 17 12:36:47 whf00jfw snapd[4775]: cannot run daemon: state startup errors: [cannot obtain snap-seccomp version information: fork/exec /usr/lib/snapd/snap
  Dec 17 12:36:47 whf00jfw systemd[1]: snapd.service: main process exited, code=exited, status=1/FAILURE
  Dec 17 12:36:47 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:36:47 whf00jfw systemd[1]: Unit snapd.service entered failed state.
  Dec 17 12:36:47 whf00jfw systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  Dec 17 12:36:47 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:36:47 whf00jfw systemd[1]: snapd.service holdoff time over, scheduling restart.
  Dec 17 12:36:47 whf00jfw systemd[1]: Stopped Snap Daemon.
  Dec 17 12:36:47 whf00jfw systemd[1]: start request repeated too quickly for snapd.service
  Dec 17 12:36:47 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:36:47 whf00jfw systemd[1]: Unit snapd.service entered failed state.
  Dec 17 12:36:47 whf00jfw systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  Dec 17 12:36:47 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:36:47 whf00jfw systemd[1]: start request repeated too quickly for snapd.service
  Dec 17 12:36:47 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:36:47 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:40:15 whf00jfw systemd[1]: Starting Snap Daemon...
  Dec 17 12:40:15 whf00jfw snapd[5826]: AppArmor status: apparmor not enabled
  Dec 17 12:40:15 whf00jfw snapd[5826]: daemon.go:343: started snapd/2.45-1.el7 (series 16; classic; devmode) ol/7.6 (amd64) linux/4.14.35-1902.304.6.el7uek.
  Dec 17 12:40:15 whf00jfw snapd[5826]: daemon.go:436: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
  Dec 17 12:40:15 whf00jfw snapd[5826]: cannot run daemon: state startup errors: [cannot obtain snap-seccomp version information: fork/exec /usr/lib/snapd/snap
  Dec 17 12:40:15 whf00jfw systemd[1]: snapd.service: main process exited, code=exited, status=1/FAILURE
  Dec 17 12:40:15 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:40:15 whf00jfw systemd[1]: Unit snapd.service entered failed state.
  Dec 17 12:40:15 whf00jfw systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  Dec 17 12:40:15 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:40:15 whf00jfw systemd[1]: snapd.service holdoff time over, scheduling restart.
  Dec 17 12:40:15 whf00jfw systemd[1]: Stopped Snap Daemon.
  Dec 17 12:40:15 whf00jfw systemd[1]: Starting Snap Daemon...
  Dec 17 12:40:15 whf00jfw snapd[5855]: AppArmor status: apparmor not enabled
  Dec 17 12:40:15 whf00jfw snapd[5855]: daemon.go:343: started snapd/2.45-1.el7 (series 16; classic; devmode) ol/7.6 (amd64) linux/4.14.35-1902.304.6.el7uek.
  Dec 17 12:40:15 whf00jfw snapd[5855]: daemon.go:436: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
  Dec 17 12:40:15 whf00jfw snapd[5855]: cannot run daemon: state startup errors: [cannot obtain snap-seccomp version information: fork/exec /usr/lib/snapd/snap
  Dec 17 12:40:15 whf00jfw systemd[1]: snapd.service: main process exited, code=exited, status=1/FAILURE
  Dec 17 12:40:15 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:40:15 whf00jfw systemd[1]: Unit snapd.service entered failed state.
  Dec 17 12:40:15 whf00jfw systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  Dec 17 12:40:15 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:40:16 whf00jfw systemd[1]: snapd.service holdoff time over, scheduling restart.
  Dec 17 12:40:16 whf00jfw systemd[1]: Stopped Snap Daemon.
  Dec 17 12:40:16 whf00jfw systemd[1]: Starting Snap Daemon...
  Dec 17 12:40:16 whf00jfw snapd[5952]: AppArmor status: apparmor not enabled
  Dec 17 12:40:16 whf00jfw snapd[5952]: daemon.go:343: started snapd/2.45-1.el7 (series 16; classic; devmode) ol/7.6 (amd64) linux/4.14.35-1902.304.6.el7uek.
  Dec 17 12:40:16 whf00jfw snapd[5952]: daemon.go:436: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
  Dec 17 12:40:16 whf00jfw snapd[5952]: cannot run daemon: state startup errors: [cannot obtain snap-seccomp version information: fork/exec /usr/lib/snapd/snap
  Dec 17 12:40:16 whf00jfw systemd[1]: snapd.service: main process exited, code=exited, status=1/FAILURE
  Dec 17 12:40:16 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:40:16 whf00jfw systemd[1]: Unit snapd.service entered failed state.
  Dec 17 12:40:16 whf00jfw systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  Dec 17 12:40:16 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:40:16 whf00jfw systemd[1]: snapd.service holdoff time over, scheduling restart.
  Dec 17 12:40:16 whf00jfw systemd[1]: Stopped Snap Daemon.
  Dec 17 12:40:16 whf00jfw systemd[1]: Starting Snap Daemon...
  Dec 17 12:40:16 whf00jfw snapd[6154]: AppArmor status: apparmor not enabled
  Dec 17 12:40:16 whf00jfw snapd[6154]: daemon.go:343: started snapd/2.45-1.el7 (series 16; classic; devmode) ol/7.6 (amd64) linux/4.14.35-1902.304.6.el7uek.
  Dec 17 12:40:16 whf00jfw snapd[6154]: daemon.go:436: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
  Dec 17 12:40:16 whf00jfw snapd[6154]: cannot run daemon: state startup errors: [cannot obtain snap-seccomp version information: fork/exec /usr/lib/snapd/snap
  Dec 17 12:40:16 whf00jfw systemd[1]: snapd.service: main process exited, code=exited, status=1/FAILURE
  Dec 17 12:40:16 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:40:16 whf00jfw systemd[1]: Unit snapd.service entered failed state.
  Dec 17 12:40:16 whf00jfw systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  Dec 17 12:40:16 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:40:16 whf00jfw systemd[1]: snapd.service holdoff time over, scheduling restart.
  Dec 17 12:40:16 whf00jfw systemd[1]: Stopped Snap Daemon.
  Dec 17 12:40:16 whf00jfw systemd[1]: Starting Snap Daemon...
  Dec 17 12:40:16 whf00jfw snapd[6260]: AppArmor status: apparmor not enabled
  Dec 17 12:40:16 whf00jfw snapd[6260]: daemon.go:343: started snapd/2.45-1.el7 (series 16; classic; devmode) ol/7.6 (amd64) linux/4.14.35-1902.304.6.el7uek.
  Dec 17 12:40:16 whf00jfw snapd[6260]: daemon.go:436: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
  Dec 17 12:40:16 whf00jfw snapd[6260]: cannot run daemon: state startup errors: [cannot obtain snap-seccomp version information: fork/exec /usr/lib/snapd/snap
  Dec 17 12:40:16 whf00jfw systemd[1]: snapd.service: main process exited, code=exited, status=1/FAILURE
  Dec 17 12:40:16 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:40:16 whf00jfw systemd[1]: Unit snapd.service entered failed state.
  Dec 17 12:40:16 whf00jfw systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  Dec 17 12:40:16 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:40:16 whf00jfw systemd[1]: snapd.service holdoff time over, scheduling restart.
  Dec 17 12:40:16 whf00jfw systemd[1]: Stopped Snap Daemon.
  Dec 17 12:40:16 whf00jfw systemd[1]: start request repeated too quickly for snapd.service
  Dec 17 12:40:16 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:40:16 whf00jfw systemd[1]: Unit snapd.service entered failed state.
  Dec 17 12:40:16 whf00jfw systemd[1]: Triggering OnFailure= dependencies of snapd.service.
  Dec 17 12:40:16 whf00jfw systemd[1]: snapd.service failed.
  Dec 17 12:40:16 whf00jfw systemd[1]: start request repeated too quickly for snapd.service
  Dec 17 12:40:16 whf00jfw systemd[1]: Failed to start Snap Daemon.
  Dec 17 12:40:16 whf00jfw systemd[1]: snapd.service failed.
  </code></pre>