Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd warning #156

Closed
gifnksm opened this issue Apr 24, 2021 · 1 comment
Closed

systemd warning #156

gifnksm opened this issue Apr 24, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@gifnksm
Copy link

gifnksm commented Apr 24, 2021

Windows version (build number): 20H2 (19042.928)

Find this by running Windows 10 Pro 20H2 (19042.928)

Linux distribution: Arch Linux

I use ArchWSL to install Arch Linux.

Genie version:
The output of genie --version

$ genie --version
1.39

I use my custom PKGBUILD to install genie.

Describe the bug

systemd emits the following warnings

$ genie -b
inside
$ systemctl --version
systemd 248 (248-5-arch)
+PAM +AUDIT -SELINUX -APPARMOR -IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified
$ sudo systemctl daemon-reload
$ systemctl status wslg-xwayland.socket
○ wslg-xwayland.socket
     Loaded: loaded (/usr/lib/systemd/system/wslg-xwayland.socket; enabled; vendor preset: disabled)
     Active: inactive (dead)
   Triggers: ● wslg-xwayland.service
     Listen: /tmp/.X11-unix/X0 (Stream)

 4月 24 11:54:26 surface-wsl systemd[1]: /usr/lib/systemd/system/wslg-xwayland.socket:3: Unknown key name 'Requires' in section 'Socket', ignoring.
 4月 24 11:54:26 surface-wsl systemd[1]: /usr/lib/systemd/system/wslg-xwayland.socket:4: Unknown key name 'After' in section 'Socket', ignoring.
...

Requires= & After= should belong to Unit section, not Socket section.
see systemd.socket(5) and systemd.unit(5).

@gifnksm gifnksm added the bug Something isn't working label Apr 24, 2021
@cerebrate
Copy link
Member

cerebrate commented Apr 27, 2021

Oops!

Thanks for catching that. For some reason the warnings didn't show up with my (Debian) systemd...

Fixed in 1.40.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants