[Bug 1322682] Re: -D variables not honored

Paul Kilgo paulkilgo at gmail.com
Sat Feb 7 17:58:18 UTC 2015


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
Foundations Bugs, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1322682

Title:
  -D variables not honored

Status in autofs package in Ubuntu:
  Confirmed

Bug description:
  Within /etc/default/autofs I have:
  OPTIONS="-DOSREL=2.6"

  running ps I get:
  root      3474     1  0 09:16 ?        00:00:00 /usr/sbin/automount -DOSREL=2.6

  
  My map looks like this:
  bin FILER:/vol/usrlocal/&/$ARCH/${OSNAME}$OSREL

  
  But automount won't use the OSREL:
  May 23 09:41:29 xco-ubuntu1404 automount[3474]: >> mount.nfs: access denied by server while mounting FILER:/vol/usrlocal/bin/x86_64/Linux3.13.0-24-generic

  This setup works fine under RHEL4-7  and according to the
  documentation should work fine under ubuntu.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: autofs 5.0.7-3ubuntu3
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  Date: Fri May 23 09:42:14 2014
  ProcEnviron:
   TERM=ansi
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: autofs
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1322682/+subscriptions



More information about the foundations-bugs mailing list