id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,fix_version,see_also 627,byobu postinst interacts poorly with NSS_NONLOCAL_IGNORE,broder,,"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: {{{ #!/bin/sh export NSS_NONLOCAL_IGNORE=ignore /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 DIR=""/var/run/screen"" 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"" done fi }}} 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: byobu 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: byobu Reading package lists... Done }}}",defect,closed,normal,The Distant Future,--,fixed,,,,