[Bug 1576341] Re: systemd in degraded state on startup in LXD containers
** Changed in: lvm2 (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1576341 Title: systemd in degraded state on startup in LXD containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1576341/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1621463] Re: Inconsistent naming of PHP7 apache module
** Changed in: php7.0 (Ubuntu) Status: Confirmed => Won't Fix ** Changed in: php7.0 (Ubuntu) Assignee: Nish Aravamudan (nacc) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1621463 Title: Inconsistent naming of PHP7 apache module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1621463/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1677329] Re: libpam-winbind: unable to dlopen
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1677329 Title: libpam-winbind: unable to dlopen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1677329/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1677329] Re: libpam-winbind: unable to dlopen
A quick pam_winbind authentication test worked with that modification to the patch: http://pastebin.ubuntu.com/24539032/ May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.0.100.1 user=BUGTEST\andreas May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:auth): [pamh: 0x558b74961800] ENTER: pam_sm_authenticate (flags: 0x0001) May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:auth): getting password (0x0389) May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:auth): pam_get_item returned a password May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:auth): Verify user 'BUGTEST\andreas' May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:auth): PAM config: krb5_ccache_type 'FILE' May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:auth): enabling krb5 login flag May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:auth): enabling cached login flag May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:auth): enabling request for a FILE krb5 ccache May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:auth): request wbcLogonUser succeeded May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:auth): user 'BUGTEST\andreas' granted access May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:auth): Returned user was 'BUGTEST\andreas' May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:auth): [pamh: 0x558b74961800] LEAVE: pam_sm_authenticate returning 0 (PAM_SUCCESS) May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: Accepted password for BUGTEST\\andreas from 10.0.100.1 port 51760 ssh2 May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:setcred): [pamh: 0x558b74961800] ENTER: pam_sm_setcred (flags: 0x0002) May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:setcred): PAM_ESTABLISH_CRED not implemented May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:setcred): [pamh: 0x558b74961800] LEAVE: pam_sm_setcred returning 0 (PAM_SUCCESS) May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_unix(sshd:session): session opened for user BUGTEST\andreas by (uid=0) May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:session): [pamh: 0x558b74961800] ENTER: pam_sm_open_session (flags: 0x) May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_winbind(sshd:session): [pamh: 0x558b74961800] LEAVE: pam_sm_open_session returning 0 (PAM_SUCCESS) May 8 21:13:25 zesty-pamwinbind-1677329 sshd[1221]: pam_systemd(sshd:session): Failed to create session: No such file or directory May 8 21:13:26 zesty-pamwinbind-1677329 sshd[1310]: pam_winbind(sshd:setcred): [pamh: 0x558b74961800] ENTER: pam_sm_setcred (flags: 0x0002) May 8 21:13:26 zesty-pamwinbind-1677329 sshd[1310]: pam_winbind(sshd:setcred): PAM_ESTABLISH_CRED not implemented May 8 21:13:26 zesty-pamwinbind-1677329 sshd[1310]: pam_winbind(sshd:setcred): [pamh: 0x558b74961800] LEAVE: pam_sm_setcred returning 0 (PAM_SUCCESS) and: andreas@nsn7:~$ ssh BUGTEST\\\andreas@10.0.100.99 Warning: Permanently added '10.0.100.99' (ECDSA) to the list of known hosts. BUGTEST\andreas@10.0.100.99's password: Welcome to Ubuntu 17.04 (GNU/Linux 4.4.0-77-generic x86_64) (...) Could not chdir to home directory /home/BUGTEST/andreas: No such file or directory BUGTEST\andreas@zesty-pamwinbind-1677329:/$ id uid=1(BUGTEST\andreas) gid=1(BUGTEST\none) groups=1(BUGTEST\none),10002(BUILTIN\users) BUGTEST\andreas@zesty-pamwinbind-1677329:/$ grep andreas /etc/passwd BUGTEST\andreas@zesty-pamwinbind-1677329:/$ There are many more things to test here, though. Namely, kerberos integration. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1677329 Title: libpam-winbind: unable to dlopen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1677329/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1576341] Re: systemd in degraded state on startup in LXD containers
I'm going to upload rbalint's fixes in the merges for open-iscsi and lvm2 I plan on doing this week. ** Changed in: open-iscsi (Ubuntu) Status: Fix Released => Triaged ** Changed in: open-iscsi (Ubuntu) Status: Triaged => In Progress ** Changed in: open-iscsi (Ubuntu) Assignee: (unassigned) => Nish Aravamudan (nacc) ** Changed in: lvm2 (Ubuntu) Status: Confirmed => In Progress ** Changed in: lvm2 (Ubuntu) Assignee: (unassigned) => Nish Aravamudan (nacc) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1576341 Title: systemd in degraded state on startup in LXD containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1576341/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 1576341] Re: systemd in degraded state on startup in LXD containers
On 08.05.2017 [11:25:03 -], Balint Reczey wrote: > >> 1.b i'd like another way to do that, but not sure what a better way would > >> be. > > > > Yeah, I spent some time looking at the CPC generater and it seems like > > this is pretty hard-coded: > > > > 999-cpc-fixes.chroot: > > ## -- > > # for maverick and newer, use LABEL= for the '/' entry in fstab > > if [ -n "${root_fs_label}" ]; then > >bl="[:blank:]" > >lstr="LABEL=${root_fs_label}" > >sed -i "s,^[^#${bl}]*\([${bl}]*/[${bl}].*\),${lstr}\1," > > "${rootd}/etc/fstab" > > fi > > cat > /etc/fstab << EOM > > LABEL=cloudimg-rootfs / ext4 defaults 0 0 > > EOM > > I think the cleanest solution would be providing images for containers > without this invalid fstab entry. I *think* containers and VMs use the same cloud image, so I don't think bifurcating for this one change is reasonable. > The second cleanest seems to be not starting > systemd-remount-fs.service in containers, or at least not in lxc. Except it's possible that a user might have other entries that should be remounted, possibly? When, say, passing real disks into the container? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1576341 Title: systemd in degraded state on startup in LXD containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1576341/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1674892] Re: zend_print_flat_zval_r doesn't consider reference
Set up LXD containers of 16.10 and 17.04. Ran the testcase in the description with the actual and expected results before/after the upgrade to the proposed versions. Testcase passes with the following versions: 16.10: # apt policy php7.0-cli php7.0-cli: Installed: 7.0.18-0ubuntu0.16.10.1 Candidate: 7.0.18-0ubuntu0.16.10.1 Version table: *** 7.0.18-0ubuntu0.16.10.1 500 500 http://archive.ubuntu.com/ubuntu yakkety-proposed/main amd64 Packages 100 /var/lib/dpkg/status 7.0.15-0ubuntu0.16.10.4 500 500 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 Packages 7.0.8-3ubuntu3 500 500 http://archive.ubuntu.com/ubuntu yakkety/main amd64 Packages 17.04: # apt policy php7.0-cli php7.0-cli: Installed: 7.0.18-0ubuntu0.17.04.1 Candidate: 7.0.18-0ubuntu0.17.04.1 Version table: *** 7.0.18-0ubuntu0.17.04.1 500 500 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 Packages 100 /var/lib/dpkg/status 7.0.15-1ubuntu4 500 500 http://archive.ubuntu.com/ubuntu zesty/main amd64 Packages Marking v-d. ** Tags removed: verification-needed ** Tags added: verification-done-yakkety verification-done-zesty -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php7.0 in Ubuntu. https://bugs.launchpad.net/bugs/1674892 Title: zend_print_flat_zval_r doesn't consider reference To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1674892/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1677329] Re: libpam-winbind: unable to dlopen
** Changed in: samba (Ubuntu Zesty) Status: New => In Progress ** Changed in: samba (Ubuntu Zesty) Assignee: (unassigned) => Andreas Hasenack (ahasenack) ** Changed in: samba (Ubuntu Zesty) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1677329 Title: libpam-winbind: unable to dlopen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1677329/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1677329] Re: libpam-winbind: unable to dlopen
** Changed in: samba (Ubuntu) Status: Confirmed => In Progress ** Changed in: samba (Ubuntu) Assignee: (unassigned) => Andreas Hasenack (ahasenack) ** Changed in: samba (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1677329 Title: libpam-winbind: unable to dlopen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1677329/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1677329] Re: libpam-winbind: unable to dlopen
And dpkg-shlibdeps is happy: http://pastebin.ubuntu.com/24536871/ ubuntu@andreas-zesty-samba-test:~/deb/samba/samba-4.5.8+dfsg⟫ dpkg-shlibdeps -v debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so >> Scanning debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so >> (for Depends field) Library libpthread.so.0 found in /lib/x86_64-linux-gnu/libpthread.so.0 Library libwbclient.so.0 found in debian/libwbclient0/usr/lib/x86_64-linux-gnu/libwbclient.so.0 Library libbsd.so.0 found in /lib/x86_64-linux-gnu/libbsd.so.0 Library libtalloc.so.2 found in /usr/lib/x86_64-linux-gnu/libtalloc.so.2 Library libpam.so.0 found in /lib/x86_64-linux-gnu/libpam.so.0 Library libc.so.6 found in /lib/x86_64-linux-gnu/libc.so.6 No associated package found for debian/libwbclient0/usr/lib/x86_64-linux-gnu/libwbclient.so.0 Using symbols file debian/libwbclient0/DEBIAN/symbols for libwbclient.so.0 Using symbols file /var/lib/dpkg/info/libc6:amd64.symbols for libc.so.6 Using symbols file /var/lib/dpkg/info/libtalloc2:amd64.symbols for libtalloc.so.2 Using symbols file /var/lib/dpkg/info/libc6:amd64.symbols for libpthread.so.0 Using symbols file /var/lib/dpkg/info/libbsd0:amd64.symbols for libbsd.so.0 Using symbols file /var/lib/dpkg/info/libpam0g:amd64.symbols for libpam.so.0 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1677329 Title: libpam-winbind: unable to dlopen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1677329/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1677329] Re: libpam-winbind: unable to dlopen
I just did a test build with this and pam_winbind worked for the super simple login test case: http://pastebin.ubuntu.com/24536839/ diff -Nru samba-4.5.8+dfsg/debian/patches/fix-1584485.patch samba-4.5.8+dfsg/debian/patches/fix-1584485.patch --- samba-4.5.8+dfsg/debian/patches/fix-1584485.patch 2017-02-09 00:28:33.0 + +++ samba-4.5.8+dfsg/debian/patches/fix-1584485.patch 2017-05-08 13:08:52.0 + @@ -83,7 +83,7 @@ bld.SAMBA_LIBRARY('pamwinbind', source='pam_winbind.c', - deps='talloc wbclient winbind-client tiniparser pam samba_intl', -+ deps='pamwinbind-static', ++ deps='wbclient pamwinbind-static', cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR, realname='pam_winbind.so', - install_path='${PAMMODULESDIR}' There are plenty of other code paths that have to be exercized. Maybe other libraries are missing. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1677329 Title: libpam-winbind: unable to dlopen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1677329/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1677329] Re: libpam-winbind: unable to dlopen
$ dpkg-shlibdeps -v debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so >> Scanning debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so >> (for Depends field) Library libpthread.so.0 found in /lib/x86_64-linux-gnu/libpthread.so.0 Library libbsd.so.0 found in /lib/x86_64-linux-gnu/libbsd.so.0 Library libtalloc.so.2 found in /usr/lib/x86_64-linux-gnu/libtalloc.so.2 Library libpam.so.0 found in /lib/x86_64-linux-gnu/libpam.so.0 Library libc.so.6 found in /lib/x86_64-linux-gnu/libc.so.6 Using symbols file /var/lib/dpkg/info/libpam0g:amd64.symbols for libpam.so.0 Using symbols file /var/lib/dpkg/info/libc6:amd64.symbols for libpthread.so.0 Using symbols file /var/lib/dpkg/info/libtalloc2:amd64.symbols for libtalloc.so.2 Using symbols file /var/lib/dpkg/info/libbsd0:amd64.symbols for libbsd.so.0 Using symbols file /var/lib/dpkg/info/libc6:amd64.symbols for libc.so.6 dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcCtxLookupName: it's probably a plugin dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcCtxChangeUserPasswordEx: it's probably a plugin dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcCtxCreate: it's probably a plugin dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcCtxInterfaceDetails: it's probably a plugin dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcCtxFree: it's probably a plugin dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcCtxLogonUser: it's probably a plugin dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcFreeMemory: it's probably a plugin dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcAddNamedBlob: it's probably a plugin dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcCtxLookupSid: it's probably a plugin dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcSidToStringBuf: it's probably a plugin dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcCtxLogoffUserEx: it's probably a plugin dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcErrorString: it's probably a plugin dpkg-shlibdeps: warning: debian/libpam-winbind/lib/x86_64-linux-gnu/security/pam_winbind.so contains an unresolvable reference to symbol wbcCtxGetpwnam: it's probably a plugin These missing symbols come from libwbclient. Note how wbcCtxFree is among them: that's the missing one you get when you copy the module to /lib/security. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1677329 Title: libpam-winbind: unable to dlopen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1677329/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs