[Bug 1322682] Re: -D variables not honored
It seems https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1470687 will resolve this issue? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/1322682 Title: -D variables not honored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1322682/+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 1322682] Re: -D variables not honored
For what I can tell this is still an issue with the version of autofs in Vivid which will become Ubuntu 15.04 and also in the Debian version of the package. Subsequently, it would be helpful if you were to submit this bug to Debian. Thanks! ** Changed in: autofs (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/1322682 Title: -D variables not honored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1322682/+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 1322682] Re: -D variables not honored
Landon's suggestion appears to be a fix for us too (thanks!). I did alter the source package so I don't have to remember that should the package have to be rebuilt one day. I set DEB_LDFLAGS_SET on the main call to debhelper. I've included a patch to be precise. That does not appear to be a good solution by Lintian's standards, so I will not mark this as a solution for this bug. This is just a quick fix for us. ** Patch added: patch implementing Landon's suggestion inside of debian/rules https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1322682/+attachment/4314389/+files/no-symbolic-functions.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/1322682 Title: -D variables not honored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1322682/+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 1322682] Re: -D variables not honored
The attachment patch implementing Landon's suggestion inside of debian/rules seems to be a patch. If it isn't, please remove the patch flag from the attachment, remove the patch tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/1322682 Title: -D variables not honored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1322682/+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 1322682] Re: -D variables not honored
I experienced this problem when updating a client from Ubuntu 12.04 to 14.04. Our file server is running SunOS 5.11 but the symptom is the same. For us, It's not a source code problem but the way modules/parse_sun.c is compiled. Here's the gcc line for parse_sun from a default debuild of the Ubuntu 14.04 autofs package source: gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -s -lpthread -s -lpthread -shared -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DSSS_LIB_DIR=\/usr/lib/x86_64-linux-gnu/sssd/modules\ -I../include -I../lib -fPIC -D_GNU_SOURCE -DAUTOFS_LIB_DIR=\/usr/lib/x86_64-linux- gnu/autofs\ -DAUTOFS_MAP_DIR=\/etc\ -o parse_sun.so parse_sun.c ../lib/autofs.a -lnsl If I remove the '-Wl,-Bsymbolic-functions' chunk from that gcc line and run it manually, then copy the resulting parse_sun.so to /usr/lib/x86_64 -linux-gnu/autofs/, it works. Then /usr/sbin/automount starts following the -D flags again. I was able to create a working package bumping the version in the changelog (no need to alter source) then running: DEB_LDFLAGS_SET='-Wl,-z,relro' debuild That reduces the default dpkg-buildflags from -Wl,-Bsymbolic-functions -Wl,-z,relro to -Wl,-z,relro to remove the problematic 'symbolic-functions' linker option that was causing the problem for me. You could try it under a Linux NFS server. I suspect it'll fix the problem in whatever library is causing the same issue for automounting Linux servers. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/1322682 Title: -D variables not honored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1322682/+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 1322682] Re: -D variables not honored
Neither environment variables nor ones specified on command line seemed to work. Building 5.0.9 seems to have fixed the issue for us. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/1322682 Title: -D variables not honored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1322682/+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 1322682] Re: -D variables not honored
The way I used to test it: echo /test /etc/auto.test /etc/auto.master echo 'test1 ${MYPATH}' /etc/auto.test echo 'OPTIONS=-DMYPATH=:/tmp' /etc/defaults/autofs service autofs restart automount -l debug /test in the logs you'll see: Jul 16 00:13:00 automount[7338]: attempting to mount entry /test/test1 Jul 16 00:13:00 automount[7338]: dev_ioctl_send_fail: token = 7 Jul 16 00:13:00 automount[7338]: failed to mount /test/test1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/1322682 Title: -D variables not honored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1322682/+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 1322682] Re: -D variables not honored
Sorry, there was a typo in the following line: echo 'OPTIONS=-DMYPATH=:/tmp' /etc/defaults/autofs -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/1322682 Title: -D variables not honored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1322682/+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 1322682] Re: -D variables not honored
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: autofs (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/1322682 Title: -D variables not honored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1322682/+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