You are not logged in.
Hi so this is happening after I did something and here is the auditd record of it.
I can see that it is wpa_supplicant creating it but I am not sure how to take it away.
Last edited by goosestepping (2020-03-10 15:29:39)
Offline
Why is that -O option there? Read the man page for what that does and it should become clear why a directory /-d is being created and populated.
Alternatively, why is there a '-d' option put between the -O and it's required argument? I suspect, as you've told us noting about what you've done to end up in this state, that you modified a wpa_supplicant service file or some other recommended command line to add a -d debug flag, but you put it in completely the wrong place.
Last edited by Trilby (2020-03-10 12:49:24)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Why is that -O option there? Read the man page for what that does and it should become clear why a directory /-d is being created and populated.
Alternatively, why is there a '-d' option put between the -O and it's required argument? I suspect, as you've told us noting about what you've done to end up in this state, that you modified a wpa_supplicant service file or some other recommended command line to add a -d debug flag, but you put it in completely the wrong place.
$ pacman -Qo /usr/lib/systemd/system/wpa_supplicant.service
/usr/lib/systemd/system/wpa_supplicant.service ist in wpa_supplicant 2:2.9-7 enthalten
$ cat /usr/lib/systemd/system/wpa_supplicant.service
[Unit]
Description=WPA supplicant
Before=network.target
After=dbus.service
Wants=network.target
IgnoreOnIsolate=true
[Service]
Type=dbus
BusName=fi.w1.wpa_supplicant1
ExecStart=/usr/bin/wpa_supplicant -u -s -O /run/wpa_supplicant
[Install]
WantedBy=multi-user.target
Alias=dbus-fi.w1.wpa_supplicant1.serviceEdit: Oops, yes, the -d is indeed missing in the original service unit.
Last edited by schard (2020-03-10 12:55:34)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Yes, what is that supposed to show? Like I noted, in the service file, -O is followed by a required argument. In the OP's command line, that has been changed. The path argument provided to -O is '-d', so a directory /-d is created.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Yes, Trilby, as mentioned in the edit, I missed that there was the -d in OP's command line after the -O flag. The post should have answered the first paragraph of your post, and I only skipped the second one. My mistake.
@OP, what Trilby is saying, if you wanted to add the debug mode to wpa_supplicant, don't do it between the -O flag and its required parameter, but before it or after the path (/run/wpa_supplicant).
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Thanks, so how do i undo this?
Oh cool I reverted the service file and it's fixed.
Last edited by goosestepping (2020-03-10 15:28:52)
Offline