Hi there,

I upgraded from 18.04 to 20.04 early since I use the same machine as a
server for many purposes and needed some new features not related with
audio production.

The upgrade went smooth and my system is stable except I got an annoying
popup windows at every boot asking to send a bug report.

In /var/crash/, I can find a crash report related to 'autojack' that says:
Traceback:
Traceback (most recent call last):
  File "/usr/bin/autojack", line 966, in <module>
main()
  File "/usr/bin/autojack", line 909, in main
os.makedirs(logpath)
  File "/usr/lib/python3.8/os.py", line 223, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/var/lib/sendmail/.log'

Running 'journalctl -b | grep autojack' returned 3 times the line 'Started
Studio autojack session daemon.'

I understood that this 'autojack' was called at each user session opening
which is not expected in my setup because I have my main user (say 'user1')
opening its session as autologin at boot, plus some program runned by
another user of mine (say 'user2') through '/etc/rc.local' with ' su -l
user2 -c "command" ', plus the mysterious user 'smmsp' (related to
sendmail, explaining what is found in the above crash log) opening and
closing a session at boot.

I have been able to solve this issue by adding 'ConditionUser=user1' to the
[Unit] section of '/usr/lib/systemd/user/studio.service'.

Note that I only use 'user1' for audio production but 'user2' also need to
be in 'audio' group for other purposes.

Don't you agree that this 'studio.service' behaviour is not the expected
one, i.e. does it need to be run for every user session? I think that my
workaround is dirty and might not withstand upcoming updates.

Long live Ubuntu Studio!

DjZU
-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users

Reply via email to