Remove detection for scope properties, which have always been broken
Remove detection for scope properties, which have always been broken

The detection for scope properties (whether scope units support
DefaultDependencies= or Delegate=) has always been broken, since systemd
refuses to create scopes unless at least one PID is attached to it (and
this has been so since scope units were introduced in systemd v205.)

This can be seen in journal logs whenever a container is started with
libpod:

  Feb 11 15:08:07 myhost systemd[1]: libcontainer-12345-systemd-test-default-dependencies.scope: Scope has no PIDs. Refusing.
  Feb 11 15:08:07 myhost systemd[1]: libcontainer-12345-systemd-test-default-dependencies.scope: Scope has no PIDs. Refusing.

Since this logic never worked, just assume both attributes are supported
(which is what the code does when detection fails for this reason, since
it's looking for an "unknown attribute" or "read-only attribute" to mark
them as false) and skip the detection altogether.

Signed-off-by: Filipe Brandenburger <46f5a0051bcaac06293374f80c77669d4919a80b@google.com>

mikebrow/runc,dqminh/runc,mYmNeo/runc,adrianreber/runc,crosbymichael/runc,mheon/runc,estesp/runc,dqminh/runc,kolyshkin/runc,justincormack/runc,dqminh/runc,mheon/runc,rhatdan/runc,justincormack/runc,mikebrow/runc,opencontainers/runc,mYmNeo/runc,estesp/runc,opencontainers/runc,rhatdan/runc,opencontainers/runc,estesp/runc,kolyshkin/runc,mYmNeo/runc,xiaochenshen/runc,xiaochenshen/runc,rhatdan/runc,mheon/runc,crosbymichael/runc,kolyshkin/runc,justincormack/runc,adrianreber/runc,xiaochenshen/runc,kolyshkin/runc,opencontainers/runc,mikebrow/runc,rhatdan/runc,adrianreber/runc,dqminh/runc,crosbymichael/runc