/run/screen in systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am running fresh install of fedora 28 and I am trying to set up a minecraft server for my kids following the systemd service file outlined here https://minecraft.gamepedia.com/Tutorials/Server_startup_script then command being called is "ExecStart=/bin/sh -c '/usr/bin/screen -DmS mc-server /usr/bin/java ..". I have written service files in the past so I have a basic understanding of systemd, However I have never tried to use screen in systemd. When I try to start the service I get an error "Directory '/run/screen' must have mode 777." to see if it worked I ran chmod and the service starts fine but then when I run "screen -ls" I get "Directory '/run/screen' must have mode 775." which is what /run/screen was set to originally. 

What is causing the need for 777 from systemd? and how would I fix it? I really don't like the idea of having anything set to 777 and I have tried to find a solution online. There are many references to strace causing issues but that is not installed. And other articles said to check permissions of /usr/bin/screen so here is what I have

-rwxr-sr-x. 1 root screen 501248 Feb  9 14:10 /usr/bin/screen
drwxrwxrwx.  3 root   screen    60 Jun  3 14:31 /run/screen

.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/DTKOHHGM67IKTP4TTQG5XADSYXU3NPGW/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux