于 2011年05月19日 15:10, Michał Piotrowski 写道: > W dniu 19 maja 2011 09:05 użytkownik microcai > <[email protected]> napisał: >> 于 2011年05月19日 14:50, Michał Piotrowski 写道: >>> Hi, >>> >>> 2011/5/19 microcai <[email protected]>: >>>> When you ssh to an systemd machine, and start a screen session, detach >>>> and logout. >>>> >>>> Then this screen session will be wipe out by systemd, so , when you >>>> login back, there will be no screen session out there. >>> >>> Works fine here - I use F15. systemd v26 >> >> I guess you use sshd.service, not sshd.socket. >> >> Fedora not using native systemd unit files. > > I've got a native ssh service
No, You should use sshd.socket , not sshd.service. Problems solved by using PAM and move screen to another cgroups. Thanks anyway. > > [Unit] > Description=OpenSSH server daemon > After=syslog.target network.target > > [Service] > Type=forking > ExecStart=/usr/sbin/sshd > > [Install] > WantedBy=multi-user.target > >> Only Gentoo with systemd overlay does. :) > > I have a few extra services that was not submited to > https://fedoraproject.org/wiki/User:Johannbg/QA/Systemd/compatability > :) > >> >>> >>>> >>>> >>>> Is this a bug? of screen or systemd? >>>> >>>> >>>> >>>> _______________________________________________ >>>> systemd-devel mailing list >>>> [email protected] >>>> http://lists.freedesktop.org/mailman/listinfo/systemd-devel >>>> >>>> >>> >>> >>> >> >> >> > > >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
