[systemd-devel] [bug?] screen not working correctly under systemd

microcai microcai at fedoraproject.org
Thu May 19 00:20:04 PDT 2011


于 2011年05月19日 15:10, Michał Piotrowski 写道:
> W dniu 19 maja 2011 09:05 użytkownik microcai
> <microcai at fedoraproject.org> napisał:
>> 于 2011年05月19日 14:50, Michał Piotrowski 写道:
>>> Hi,
>>>
>>> 2011/5/19 microcai <microcai at fedoraproject.org>:
>>>> 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
>>>> systemd-devel at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
> 
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110519/4f125bd9/attachment-0001.pgp>


More information about the systemd-devel mailing list