Skip to content

pkexec swhkd turn off the wifi on start #174

@timgreen

Description

@timgreen

Version Information:

  • Distribution Information ( run uname -a )

Debian 5.18.16

  • swhkd version ( swhkd -V )

swhkd 1.2.1

Describe the bug:
pkexec swhkd turn off the wifi on start. I have to enable it manually after.

Note

  • It turns off the wifi (not disconnect)
  • Reload config is fine.

Expected behavior:
Don't turn off wifi

Actual behavior:

❯ pkexec swhkd -d -c ~/.config/swhkd/swhkdrc
[2022-11-28T13:34:22Z TRACE swhkd] Logger initialized.
[2022-11-28T13:34:22Z TRACE swhkd] Invoking UID: 85819
[2022-11-28T13:34:22Z TRACE swhkd] Setting process umask.
[2022-11-28T13:34:22Z ERROR swhkd] XDG_RUNTIME_DIR has not been set.
[2022-11-28T13:34:22Z TRACE swhkd] Reading /run/swhkd/swhkd_85819.pid file and checking for running instances.
[2022-11-28T13:34:22Z DEBUG swhkd] Previous PID: 1559337
[2022-11-28T13:34:23Z WARN  swhkd] Running swhkd as root!
[2022-11-28T13:34:23Z DEBUG swhkd::perms] Setting initgroups...
[2022-11-28T13:34:23Z DEBUG swhkd::perms] Setting EGID...
[2022-11-28T13:34:23Z DEBUG swhkd::perms] Setting EUID...
[2022-11-28T13:34:23Z DEBUG swhkd] Using config file path: "/home/timgreen/.config/swhkd/swhkdrc"
[2022-11-28T13:34:23Z DEBUG swhkd::perms] Setting EGID...
[2022-11-28T13:34:23Z DEBUG swhkd::perms] Setting EUID...
[2022-11-28T13:34:23Z DEBUG swhkd::perms] Setting initgroups...
[2022-11-28T13:34:23Z TRACE swhkd] Attempting to find all keyboard file descriptors.
[2022-11-28T13:34:23Z TRACE swhkd] Other: sof-hda-dsp HDMI/DP,pcm=5
[2022-11-28T13:34:23Z TRACE swhkd] Other: sof-hda-dsp HDMI/DP,pcm=4
[2022-11-28T13:34:23Z TRACE swhkd] Other: sof-hda-dsp HDMI/DP,pcm=3
[2022-11-28T13:34:23Z TRACE swhkd] Other: sof-hda-dsp Headphone
[2022-11-28T13:34:23Z TRACE swhkd] Other: sof-hda-dsp Mic
[2022-11-28T13:34:23Z TRACE swhkd] Other: Integrated RGB Camera: Integrat
[2022-11-28T13:34:23Z TRACE swhkd] Other: ELAN067A:00 04F3:3197 Touchpad
[2022-11-28T13:34:23Z TRACE swhkd] Other: ELAN067A:00 04F3:3197 Mouse
[2022-11-28T13:34:23Z TRACE swhkd] Other: Integrated RGB Camera: Integrat
[2022-11-28T13:34:23Z TRACE swhkd] Other: ThinkPad Extra Buttons
[2022-11-28T13:34:23Z TRACE swhkd] Other: Wacom Pen and multitouch sensor Finger
[2022-11-28T13:34:23Z TRACE swhkd] Other: Wacom Pen and multitouch sensor Pen
[2022-11-28T13:34:23Z TRACE swhkd] Other: TPPS/2 Elan TrackPoint
[2022-11-28T13:34:23Z TRACE swhkd] Other: Video Bus
[2022-11-28T13:34:23Z TRACE swhkd] Other: Power Button
[2022-11-28T13:34:23Z TRACE swhkd] Other: Lid Switch
[2022-11-28T13:34:24Z TRACE swhkd] Other: PC Speaker
[2022-11-28T13:34:24Z TRACE swhkd] Other: Sleep Button
[2022-11-28T13:34:24Z DEBUG swhkd] Keyboard: AT Translated Set 2 keyboard
[2022-11-28T13:34:24Z DEBUG swhkd] 1 Keyboard device(s) detected.
[2022-11-28T13:34:24Z ERROR swhkd] XDG_RUNTIME_DIR has not been set.
[2022-11-28T13:34:37Z DEBUG swhkd] state_modifiers: {

To Reproduce:
Just run pkexec swhkd

Additional information:
Anything else you'd like us to know ?

Happy to grab other logs to happy debugging.

Metadata

Metadata

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions