This is the followup of "dcopserver starting twize".
As I am just creating a new Devuan+TDE ISO I ran into this naging problem again. When booting from the ISO created with refractasnapshot /etc/init.d/tde starts tdeinit twize in parallel. This leads to dcopserver running twize - sometimes one for root and one for $USER, sometimes both for $USER. My workaround for now: "service stop tdm; killall dcopserver" restarts TDE once.
Now my question is: where is that racecondition hidden that makes /etc/init.d/tde to start tdeinit twice in parallel? Any idea?
Nik
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On Wed March 13 2024 09:01:39 Dr. Nikolaus Klepp via tde-users wrote:
Now my question is: where is that racecondition hidden that makes /etc/init.d/tde to start tdeinit twice in parallel? Any idea?
Whence cometh /etc/init.d/tde? Devuan is Debian-based and in my Debian installs TDE is started by /etc/init.d/tdm via symlinks in /etc/rc?.d/
--Mike
Anno domini 2024 Wed, 13 Mar 09:45:20 -0700 Mike Bird via tde-users scripsit:
On Wed March 13 2024 09:01:39 Dr. Nikolaus Klepp via tde-users wrote:
Now my question is: where is that racecondition hidden that makes /etc/init.d/tde to start tdeinit twice in parallel? Any idea?
Whence cometh /etc/init.d/tde? Devuan is Debian-based and in my Debian installs TDE is started by /etc/init.d/tdm via symlinks in /etc/rc?.d/
my bad, it's a typo: should be /etc/init.d/tdm ... it's installed by tdm-trinity
Nik
--Mike ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On Wed March 13 2024 09:59:45 Dr. Nikolaus Klepp via tde-users wrote:
my bad, it's a typo: should be /etc/init.d/tdm ... it's installed by tdm-trinity
OK. Do your symlinks look exactly like this? Or do you have an "S" where a "K" should be?
# ls -l /etc/rc*.d/*tdm* lrwxrwxrwx 1 root root 13 Nov 21 2018 /etc/rc0.d/K01tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 Nov 21 2018 /etc/rc1.d/K01tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 Jul 7 2023 /etc/rc2.d/S10tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 Jul 7 2023 /etc/rc3.d/S10tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 Jul 7 2023 /etc/rc4.d/S10tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 Jul 7 2023 /etc/rc5.d/S10tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 Nov 21 2018 /etc/rc6.d/K01tdm -> ../init.d/tdm
Anno domini 2024 Wed, 13 Mar 10:16:09 -0700 Mike Bird via tde-users scripsit:
On Wed March 13 2024 09:59:45 Dr. Nikolaus Klepp via tde-users wrote:
my bad, it's a typo: should be /etc/init.d/tdm ... it's installed by tdm-trinity
OK. Do your symlinks look exactly like this? Or do you have an "S" where a "K" should be?
# ls -l /etc/rc*.d/*tdm* lrwxrwxrwx 1 root root 13 Nov 21 2018 /etc/rc0.d/K01tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 Nov 21 2018 /etc/rc1.d/K01tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 Jul 7 2023 /etc/rc2.d/S10tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 Jul 7 2023 /etc/rc3.d/S10tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 Jul 7 2023 /etc/rc4.d/S10tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 Jul 7 2023 /etc/rc5.d/S10tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 Nov 21 2018 /etc/rc6.d/K01tdm -> ../init.d/tdm
ls -l /etc/rc*.d/*tdm* lrwxrwxrwx 1 root root 13 15. Dez 18:12 /etc/rc0.d/K01tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 15. Dez 18:12 /etc/rc1.d/K01tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 15. Dez 18:12 /etc/rc2.d/S02tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 15. Dez 18:12 /etc/rc3.d/S02tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 15. Dez 18:12 /etc/rc4.d/S02tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 15. Dez 18:12 /etc/rc5.d/S02tdm -> ../init.d/tdm lrwxrwxrwx 1 root root 13 15. Dez 18:12 /etc/rc6.d/K01tdm -> ../init.d/tdm
So no surprise here.
tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On Wed March 13 2024 11:21:11 Dr. Nikolaus Klepp via tde-users wrote:
So no surprise here.
Do I understand correctly that you have a single instance of tdm starting two instance of tdeinit and dcopserver? You're probably stuck with poking around in /etc/trinity/tdm/* but there's a lot of stuff there. Even ignoring the comments and blank lines I have 179 lines of "code" in mine.
# find /etc/trinity/tdm -type f -not -name '*~' -exec cat {} + | sed 's/#.*$//' | grep -v '^ *$' | wc -l 179
Maybe check the modified dates to see what you have changed since install?
# ls -rtl /etc/trinity/tdm total 80 -rw-r--r-- 1 root root 184 May 19 2018 tdm.options -rwxr-xr-x 1 root root 285 Jul 26 2018 Xwilling -rwxr-xr-x 1 root root 624 Jul 26 2018 Xstartup -rwxr-xr-x 1 root root 160 Jul 26 2018 Xsetup -rwxr-xr-x 1 root root 1422 Jul 26 2018 Xsession -rwxr-xr-x 1 root root 487 Jul 26 2018 Xreset -rw-r--r-- 1 root root 1921 Jul 26 2018 Xaccess -rw-r--r-- 1 root root 22569 Jul 12 2019 tdmrc~ -rw-r--r-- 1 root root 1677 Apr 4 2023 tdmrc.dpkg-old -rw-r--r-- 1 root root 22999 Apr 12 2023 tdmrc
--Mike
Anno domini 2024 Wed, 13 Mar 11:56:09 -0700 Mike Bird via tde-users scripsit:
On Wed March 13 2024 11:21:11 Dr. Nikolaus Klepp via tde-users wrote:
So no surprise here.
Do I understand correctly that you have a single instance of tdm starting two instance of tdeinit and dcopserver?
yes, that looks like it. I can work around, but it is strange. The installation I'm taking the snapshot from works perfectly fine. If nothing helps I'll have to rebuild te image from scratch. Well ...
You're probably stuck with poking around in /etc/trinity/tdm/* but there's a lot of stuff there. Even ignoring the comments and blank lines I have 179 lines of "code" in mine.
# find /etc/trinity/tdm -type f -not -name '*~' -exec cat {} + | sed 's/#.*$//' | grep -v '^ *$' | wc -l 179
Maybe check the modified dates to see what you have changed since install?
# ls -rtl /etc/trinity/tdm total 80 -rw-r--r-- 1 root root 184 May 19 2018 tdm.options -rwxr-xr-x 1 root root 285 Jul 26 2018 Xwilling -rwxr-xr-x 1 root root 624 Jul 26 2018 Xstartup -rwxr-xr-x 1 root root 160 Jul 26 2018 Xsetup -rwxr-xr-x 1 root root 1422 Jul 26 2018 Xsession -rwxr-xr-x 1 root root 487 Jul 26 2018 Xreset -rw-r--r-- 1 root root 1921 Jul 26 2018 Xaccess -rw-r--r-- 1 root root 22569 Jul 12 2019 tdmrc~ -rw-r--r-- 1 root root 1677 Apr 4 2023 tdmrc.dpkg-old -rw-r--r-- 1 root root 22999 Apr 12 2023 tdmrc
--Mike ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...