<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:ppaalanen@gmail.com" title="Pekka Paalanen <ppaalanen@gmail.com>"> <span class="fn">Pekka Paalanen</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Weston now silently quits when the user specifies to load desktop-shell.so"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87412">bug 87412</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>NOTABUG
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Weston now silently quits when the user specifies to load desktop-shell.so"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87412#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Weston now silently quits when the user specifies to load desktop-shell.so"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87412">bug 87412</a>
from <span class="vcard"><a class="email" href="mailto:ppaalanen@gmail.com" title="Pekka Paalanen <ppaalanen@gmail.com>"> <span class="fn">Pekka Paalanen</span></a>
</span></b>
<pre>We could also make Weston discriminate between module types (backend, shell,
generic) by having a type-specific symbol name instead of just "module_init",
which would help weston quit with a better error message. I still think
quitting is the right thing to do.
Closing.
If you want better errors, that would be a new report. Preferably a new Task in
Phab.fd.o.</pre>
</div>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Weston now silently quits when the user specifies to load desktop-shell.so"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87412#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Weston now silently quits when the user specifies to load desktop-shell.so"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87412">bug 87412</a>
from <span class="vcard"><a class="email" href="mailto:junk@humanoriented.com" title="Yong Bakos <junk@humanoriented.com>"> <span class="fn">Yong Bakos</span></a>
</span></b>
<pre>I'd like to vote for this bug to be closed.
The --modules option is documented, in its man, to be used only for testing. A
developer using the --modules option would know to simply re-run weston without
specifying the particular module.
End-users incorrectly passing an 'invalid' module as a --modules option would
be advised to observe what is documented in man.
The original context of this bug is due to incorrectly specifying a --shell
module as a --modules option.
Otherwise, to honor this use case, we'd have to implement additional logic in
compositor.c that:
1) Checks the module to be sure it is a valid option for --modules, and if it
isn't, prints a helpful message before quitting.
2) Ignores the loading of the valid, specified --modules module and continues,
rather than causing weston_load_module to return NULL and quitting.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>