[systemd-devel] Systemd stops

Jay D Bhatt jay.bhatt at igate.com
Mon Jun 23 23:50:37 PDT 2014


Hi Colin,

I am using ttymxc3 as I have LVDS with the board, so, I think tty1 should not conflict as I will be using console=ttymxc3?

 Also, I think there is some problem with systemd-logind.service it doesn't ask for login or password nor does it display the shell prompt, because after starting Login Services, it stops, so after some what debugging, I think login.service file has some problems.

Can you let me know what lines should be added to systemd-logind.service, so it will ask login and password or at the least will display the shell prompt directly?

Current service file has some things as below:
Systemd-logind.service
[Unit]
Description=Login Service
Wants=user.slice
After=nss-user-lookup.target user.slice

[Service]
ExecStart=/usr/lib/systemd/systemd-logind
Restart=always
RestartSec=0
BusName=org.freedesktop.login1
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG

# Increase the default a bit in order to allow many simultaneous
# logins since we keep one fd open per session.
LimitNOFILE=16384

My user service file named user-session-launch at .service is as below:
 [Unit]
Description=User Session Launcher
After=systemd-user-sessions.service systemd-logind.service
Requires=systemd-logind.service

[Service]
ExecStart=/usr/bin/user-session-launch %i

[Install]
WantedBy=graphical.target

Thanks,
Jay

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information contained and transmitted by this e-mail is confidential and proprietary to IGATE and its affiliates and is intended for use only by the recipient. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or mailadmin at igate.com <mailto:mailadmin at igate.com>. IGATE does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of IGATE. IGATE is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While IGATE has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about IGATE please visit www.igate.com <http://www.igate.com>.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the systemd-devel mailing list