Summary: | net-misc/netkit-rsh - install systemd unit? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | helgefje |
Component: | [OLD] Core system | Assignee: | Hank Leininger <hlein> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 448882 |
Description
helgefje
2014-04-02 21:20:37 UTC
In Fedora, they provide .service and .socket files (you need both kind of files): http://pkgs.fedoraproject.org/cgit/rsh.git/tree/ Regarding xinetd not working, it works fine for me for qpopper, and it shouldn't depend on openrc/systemd running as xinetd.service file simply runs xinetd as openrc script does (in summary, running "xinetd --foreground" should work for you) Maybe "systemctl status xinetd" shows some hints xinetd is working, but it doesn't seem to start the rsh daemon. So I am not sure why it is not working. I still have the /etc/xinet.d/rsh, which was working in OpenRC. I tried to download the fedora-files .service and .socket: /etc/systemd/system/rsh@.socket /etc/systemd/system/rsh.service systemctl start rsh.socket Job for rsh.socket failed. See 'systemctl status rsh.socket' and 'journalctl -xn' for details. systemctl status rsh.socket systemd[1]: rsh.socket failed to listen on sockets: Address already in use systemd[1]: Failed to listen on Remote Shell Facilities Activation Socket.muffe systemd[1]: Unit rsh.socket entered failed state. systemd[1]: Starting Remote Shell Facilities Activation Socket. systemd[1]: rsh.socket failed to listen on sockets: Address already in use ... Did you manage to start the rsh daemon using systemd? Not sure if that socket is meant to make the service started when someone tries to connect to the port Maybe you need to run systemctl enable for the sockets Thanks. I have tried that. Anyone who has started rsh daemon in systemd? (In reply to helgefje from comment #5) > Anyone who has started rsh daemon in systemd? I got this working on my own system, and uploaded the units to my devspace. http://dev.gentoo.org/~floppym/rsh/ A few pointers: 1. Stop any socket units you may have started. 2. Run systemctl reset-failed to clear out any failures that are hanging around from previous testing. Failure to do so will cause errors like this: systemd[1]: rshd.socket failed to queue service startup job (Maybe the service file is missing or not a template unit?): File exists 3. After replacing the unit files, run systemctl daemon-reload, and then start the socket units. One technical note: I had to add 0.0.0.0 to the ListenStream setting to force it to listen on an IPv4 socket. Otherwise, they throw errors like this. rshd[24516]: malformed "from" address (af 10) Please let me know if this works for you. I also want to note that rsh works perfectly fine for me on systemd using xinetd instead of the dedicated units. |