Next: , Previous: IRIX, Up: FAQS and Tips


3.5.6 LINUX

Q:
When I try to compile cfd I get this error
           /usr/lib/libwrap.a(options.o): In function `twist_option':
           options.o(.text+0x5f7): undefined reference to `deny_severity'
           /usr/lib/libwrap.a(options.o): In function `severity_option':
           options.o(.text+0x808): undefined reference to `deny_severity'
           options.o(.text+0x81c): undefined reference to `deny_severity'
           options.o(.text+0x821): undefined reference to `deny_severity'
           options.o(.text+0x826): undefined reference to `deny_severity'
           options.o(.text+0x82b): undefined reference to `allow_severity'
           make[1]: *** [cfd] Error 1
          
     

A:
There seems to be a problem with the distributed version of the TCP wrappers library. Edit the src/conf.h file and comment out the `#define HAVE_LIBWRAP 1' line. This means that you will not be able to use TCP wrappers security however. You might prefer to collect and compile a new version of TCP wrappers.
Q:
Linux insists on rebuilding the message of the day file each time it boots, but that means I keep losing the messages I leave there.
A:
Add the following to your configuration files to comment out the offending lines in the startup scripts:
          editfiles:
          
             linux::
          
              { /etc/rc.d/rc.S
          
              HashCommentLinesContaining "motd"
              }