-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostSession-Script gets terminated by SIGKILL (mint 18 MATE) #188
Comments
Hi, Do you know if this is a regression? I.e. did the issue occur in Mint 17.x? |
Hi, the issue did not occur in Mint 17.x. |
I couldn't find the cause for the regression (between Mint 17 and Mint 18). I'd be interested to know how you came to suspect mdm_slave_quick_exit (exit_code_to_use), please share your analysis on this. In any case I was able to reproduce the issue and confirm the fix. I tested as many use cases as I could and couldn't find any regression. |
Hello. |
Any updates? |
I also tried 2.0.15 package on clean Mint18 installation, but this is not fixed issue. |
I installed 18.1 Serena and it has this issue too. |
Reopening the issue and reverting the commit then. |
Hi, commenting out mdm_slave_quick_exit (exit_code_to_use); did not work in my tests. I noticed that sometimes the cups-browsed.service need up to 2 minutis to stop. In this case a /etc/mdm/PostSession/Default with a sleep of 60 seconds gets (often) executed. I recommend a sleep higher than 120s and a disabled cups-browsed.service for the testing environment. To disable the cups-browsed.service just do this: |
2.0.16 has the same issue, patching does not make it work. |
If i use a PostSession-Script in stock Mint 18 MATE, it will be killed on shutdown or restart while it's running
The problem is easily reproducable on a stock system, just insert some sleep in the
/etc/mdm/PostSession/Default
-File:The Log statement will sometimes work, but mostly the script gets killed before that.
If i comment the function call for
mdm_slave_quick_exit (exit_code_to_use);
in line 697 of daemon/slave.c (in functionterm_session_stop_and_quit
) the post session scripts gets executed until it does an exit by itself.The text was updated successfully, but these errors were encountered: