Custom Query (1145 matches)


Show under each result:

Results (220 - 222 of 1145)

Ticket Resolution Summary Owner Reporter
#618 fixed nmh users lose if they don't delegate credentials broder

Reported by broder, 14 years ago.


If an nmh user logs in without delegating their credentials or any other authentication mechanism that leaves them without tokens, your dotfiles won't be able to read ~/.config/debathena/nmh-in-path, so they will conclude that your nmh-in-path file doesn't say "yes" and leave nmh out of your path.

We should work around this by checking for the existence of that file, rather than its contents, since the directory should be system:anyuser l.

#627 fixed byobu postinst interacts poorly with NSS_NONLOCAL_IGNORE broder

Reported by broder, 14 years ago.


Debathena wraps dpkg to set NSS_NONLOCAL_IGNORE=ignore (so that when dpkg tries to create new local system users, they don't conflict with Hesiod users):

From /usr/bin/dpkg.debathena:

/usr/bin/dpkg.debathena-orig "$@"

byobu attempts to trigger a profile reload on upgrade by trying to create a file for each user with an active screen session:

From /var/lib/dpkg/info/byobu.postinst:

# Notify users that they should reload their profile
if [ -d "$DIR" ]; then
        for d in "$DIR"/*; do
                [ -d "$d" ] || continue
                touch "$d/$PKG.reload-required"
                u=$(echo "$d" | sed "s:^.*/S-::")
                chown $u "$d/$PKG.reload-required"
                chmod 700 "$d/$PKG.reload-required"

Unfortunately, because NSS_NONLOCAL_IGNORE means that non-local users don't exist, the byobu postinst attempts to chown files to nonexistant users:

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up byobu (2.68-0ubuntu1.1) ...
chown: invalid user: `geofft'
dpkg: error processing byobu (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
Reading package lists... Done
#628 fixed Use the default Xsession for kiosk mode broder

Reported by broder, 14 years ago.


Currently, the kiosk mode starts with a custom xinitrc, which overrides /etc/X11/Xsession. This costs us some nice things, including potentially useful things like registering a ConsoleKit? session (/etc/X11/Xsession.d/90consolekit)

We can bend a normal Xsession to do what we want by suppressing the gnome-panel and nautilus from launching, which we can do by setting the gconf key /desktop/gnome/session/required_components_list = [windowmanager]

Most of the applications in /etc/xdg/autostart should be harmless, if they even start at all for an unprivileged account without a panel. For those that are problematic, we can suppress them by creating files in ~kiosk@mit/.local/share/autostart that override the files in /etc/xdg/autostart.

This should make it much easier to start up the kiosk session, and would give us cleaner integration with the rest of the system.

Note: See TracQuery for help on using queries.