<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [weston-launch] default pam configuration breaks on fedora 19"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=67837">67837</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[weston-launch] default pam configuration breaks on fedora 19
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>joe.konno@linux.intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>weston
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After building wayland and weston 1.2.0, weston-launch does not work "out of
the box" on a (fairly) pristine Fedora 19 installation. "Fairly" because I
disabled selinux shortly after installation.

The first error encountered (stdout/stderr weston-launch):

  failed to open pam session: 14: Cannot make/remove an entry for the specified
session

And /var/log/secure:

  Aug  6 10:18:30 $host weston-launch: pam_loginuid(login:session):
set_loginuid failed
  Aug  6 10:18:30 $host weston-launch: pam_unix(login:session): session opened
for user $user by (uid=1000)

I did a web search, found a cheap work-around for the pam issue here:
  <a href="https://ask.fedoraproject.org/question/25453/weston-launch-start-problem/">https://ask.fedoraproject.org/question/25453/weston-launch-start-problem/</a>

Which entails commenting out a line in the default pam configuration file:
  # #weston-launch# session    required     pam_loginuid.so

--

The expectation is that weston-launch "just works" with sufficient permissions
(all documented) are granted. However, that is not the case on Fedora 19.

--

# yum list installed | grep -e "xkbcommon" -e "pam"
libxkbcommon.x86_64                      0.3.0-1.fc19                  @fedora  
libxkbfile.x86_64                        1.0.8-3.fc19                  @fedora  
pam.x86_64                               1.1.6-12.fc19                 @updates</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>