I’m trying to run GNS3 as a daemon, I’ve done this before on Ubuntu, but on Fedora it seems a bit different.
What I’ve done so far:
sudo nano /etc/systemd/system/gns3.service
In the file:
[Unit]
Description=GNS3 Server
[Service]
ExecStart=/usr/bin/gns3-server
[Install]
WantedBy=multi-user.target
After:
sudo chmod +x /etc/systemd/system/gns3.service
sudo systemctl enable gns3
sudo systemctl start gns3
When I try to confirm if the service is running, I get this output:
sudo systemctl status gns3
Active: failed (Result: exit-code) since Thu 2021-08-05 10:59:41 CDT; 15min ago
Aug 05 10:59:41 gns3s2 systemd[17669]: gns3.service: Failed to locate executable /usr/bin/gns3-server: No such file o>
Aug 05 10:59:41 gns3s2 systemd[17669]: gns3.service: Failed at step EXEC spawning /usr/bin/gns3-server: No such file >
Aug 05 10:59:41 gns3s2 systemd[1]: gns3.service: Main process exited, code=exited, status=203/EXEC
Aug 05 10:59:41 gns3s2 systemd[1]: gns3.service: Failed with result 'exit-code'.
I can navigate to the file and launch it manually without any issues.
[gns3s2@gns3s2 ~]$ which gns3-server
/usr/bin/which: no gns3-server in (/home/gns3s2/.local/bin:/home/gns3s2/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin)
&
which ll /usr/bin/gns3-server:
[gns3s2@gns3s2 ~]$ which ll /usr/bin/gns3-server
alias ll='ls -l --color=auto'
/usr/bin/ls
/usr/bin/which: no gns3-server in (/usr/bin)
Or from guides like the one I linked above, hopefully that answers your question
I’m not entirely sure who maintains the official repo (when you install GNS3 and run the commands “dnf install update”) but there are very little guides covering GNS3 on Fedora. I would like that to change, that would be awesome because I am loving fedora so far!