Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Avatar for Username

Поиск в поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее
Открытый

Thunderbird never removes the lock files when it shuts down - profiles.ini shows Path of /run/user/1000/doc/e1a4ab74/thunderbird

prhunt отвечено
lxvi

I am running Fedora 42 KDE spin ("plasma"). The "Discover Software Center" app offers Thunderbird as both a regular and a flatpak install, and I somewhat arbitrarily chose flatpak.

I am dealing with several legacy email accounts that have 20 years of messages, so I need to control where the profile was created, so immediately after installing I ran with -P to create a profile and specified a path name of /lore/jeff/thunderbird. /lore is the mountpoint of /dev/sda2 and it is in my /etc/fstab. /lore/jeff previously existed because that's where I put my Dropbox folder.

Every time I shut down TB and restart it later it always fails because lock and .parentlock are never deleted. Until now, I just dealt with it by deleting the files in bash, but today I wanted to make sure that TB always starts offline and decided that user.js would be the absolute safest way to guarantee that, so I pulled up profiles.ini to get a list of all profile paths to make sure that I put a copy of user.js in each and every one whether it's in use or not. What I discovered is that the profile I created does NOT have a Path of /lore/jeff/thunderbird but instead /run/user/1000/doc/e1a4ab74/thunderbird and not only that but at the very bottom of the file are these three lines [InstallBD520B11F73A6B64] Default=/run/user/1000/doc/e1a4ab74/thunderbird Locked=1

The interesting thing is that when I put user.js into the /run/user... path and then looked at /lore/jeff/thunderbird to check on lock and .parentlock, I see that there is magically a copy of user.js there. I'm not exactly sure what is going on because when I do `ls -ldi` on the two files, their inode numbers are vastly different. I don't know enough about how flatpak operates internally, but my gut tells me it has something to do with it, and my question that I'm finally getting around to asking is if I edit the profiles.ini file to use /lore/jeff/thunderbird in an attempt to get TB to correctly clean up the lock files, is that going to cause a problem because of whatever flatpak is doing? And should I complain to flatpak about it?

Thanks for reading :-)

I am running Fedora 42 KDE spin ("plasma"). The "Discover Software Center" app offers Thunderbird as both a regular and a flatpak install, and I somewhat arbitrarily chose flatpak. I am dealing with several legacy email accounts that have 20 years of messages, so I need to control where the profile was created, so immediately after installing I ran with -P to create a profile and specified a path name of /lore/jeff/thunderbird. /lore is the mountpoint of /dev/sda2 and it is in my /etc/fstab. /lore/jeff previously existed because that's where I put my Dropbox folder. Every time I shut down TB and restart it later it always fails because lock and .parentlock are never deleted. Until now, I just dealt with it by deleting the files in bash, but today I wanted to make sure that TB always starts offline and decided that user.js would be the absolute safest way to guarantee that, so I pulled up profiles.ini to get a list of all profile paths to make sure that I put a copy of user.js in each and every one whether it's in use or not. What I discovered is that the profile I created does NOT have a Path of /lore/jeff/thunderbird but instead /run/user/1000/doc/e1a4ab74/thunderbird and not only that but at the very bottom of the file are these three lines [InstallBD520B11F73A6B64] Default=/run/user/1000/doc/e1a4ab74/thunderbird Locked=1 The interesting thing is that when I put user.js into the /run/user... path and then looked at /lore/jeff/thunderbird to check on lock and .parentlock, I see that there is magically a copy of user.js there. I'm not exactly sure what is going on because when I do `ls -ldi` on the two files, their inode numbers are vastly different. I don't know enough about how flatpak operates internally, but my gut tells me it has something to do with it, and my question that I'm finally getting around to asking is if I edit the profiles.ini file to use /lore/jeff/thunderbird in an attempt to get TB to correctly clean up the lock files, is that going to cause a problem because of whatever flatpak is doing? And should I complain to flatpak about it? Thanks for reading :-)

Все ответы (2)

Here is the entire profiles.ini

cat .var/app/org.mozilla.Thunderbird/.thunderbird/profiles.ini [Profile2] Name=LXVI IsRelative=0 Path=/run/user/1000/doc/e1a4ab74/thunderbird

[Profile1] Name=default IsRelative=1 Path=f6hrxroh.default Default=1

[Profile0] Name=default-esr IsRelative=1 Path=gp2d367x.default-esr

[General] StartWithLastProfile=1 Version=2

[InstallBD520B11F73A6B64] Default=/run/user/1000/doc/e1a4ab74/thunderbird Locked=1

I am experiencing this behaviour as well.

Zorin Pro 18.1 Thunderbird 140.9.1esr (64-bit) Flatpak

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.