trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2015

Re: [trinity-devel] Bug 1998 - systemd - user session tracking/multiseat implementation required

From: Michele Calgaro <michele.calgaro@...>
Date: Fri, 11 Sep 2015 23:22:28 +0900
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 09/02/2015 03:59 AM, David C. Rankin wrote:
> On 08/31/2015 09:44 AM, Michele Calgaro wrote:
>> Ran from /etc/init.d/tdm-trinity
> 
> Michele,
> 
> Would you be so kind as to post how tde is launched from tdm-trinity? If you are still using init scripts, then
> you will probably find in lines 7-10 you are calling tdm directly:
> 
> 7     start) 8        #Check for running tdm, start when not running 9        stat_busy "Starting TDE Desktop
> Manager (tdm)" 10        [ -z "$PID" ] && /opt/trinity/bin/tdm &> /dev/null
> 
> Different distros handle init scrip wrappers with systemd in different ways. I've looked at the debian wiki and
> can't tell how they are doing it. This is where the session management issue comes up. In a pure-systemd
> environment, there are no init scripts -- period. For example, on arch:
> 
> 13:44 valkyrie:~> ls -al /etc/init.d ls: cannot access /etc/init.d: No such file or directory
> 
> systemd handles all processes directly through a service file. I would wager that debian has an additional layer 
> between tdm and systemd that provides what ConsoleKit did in the past. Can you check to see how debian handles 
> init-script/systemd integration.
> 
> 
- From dmesg I got
systemd-sysv-generator[179]: Overwriting existing symlink /run/systemd/generator.late/tdm-trinity.service with real
service
I little search on google pointed me here:
http://www.freedesktop.org/software/systemd/man/systemd-sysv-generator.html
So that's how systemd runs sysV init script on Debian I guess ;-)
Cheers
  Michele
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJV8uOkAAoJECp1t8qK3tXPLtkP/0OcXlFlWU8M8ZsJevKkbCz0
wM08sjeEkxygdPeWJ/zvgrIKGolImJa0bHPhWR45CcVGP+1qfLVyKVTZYj6f6fL5
IU+9WVb2s7w4sxDU0b35vy4ixMslYUI01G120LWAeVNofEp0jPSP++JXwzOIN/aD
jUWeav+6bYLIP/Uzvj02dinN0S+0RVCrxSpjdpWlFsHDDIF0+x2q1woDVmjiHV15
UpRm5DFy/X6uCbdWt16BMkOFCLzbdLQ2r6U3tljPYfBMptUKoX3QcRuH2irS14Lj
0HlXm87EQ3J+HRe+q2U6zg4bWqUwntlAh/o9KFHE8c1i1iJzOWmV83gHGAw+QU6h
l0ef8NwE3oexGMntujjj0H7YgblnE7OwxlCCpIVaa7D9CCTnvS3msU+lalntoC4M
AViRksnugmITysh01q0KKScS3a2PyieEe2vSVyHM/UgEgJjXtQC3aG9BhCAVO6aC
piU/xsAMT1RkBouOpAbc7QATke6XoFS5k4m6uHO/qWE67myNXLDiqkyISmNqQZD5
0thvhGhyLh/0mcPfAEsoI7pg5t4enkHkiDYqzFpCXJLeGnpvt6/D0XN2GPrhHOEN
zyuywgyG48YDNpSodr57C/QehvsK9lPutTu13tGemeySHeFZZvV0d05etj4cK/7s
oMQAPs3IDEAcl0vlL3i0
=xNmd
-----END PGP SIGNATURE-----