]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
review fixups. release-0.7
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 15 Nov 2007 14:27:47 +0000 (14:27 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 15 Nov 2007 14:27:47 +0000 (14:27 +0000)
git-svn-id: file:///svn/unbound/trunk@748 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/unbound.c
doc/Changelog
doc/README

index ccdb156118fdea0553f586acc15d4067e21beee5..44791250683e00e79b811672cf6aa72c0684e3a2 100644 (file)
@@ -67,7 +67,7 @@ static void usage()
        printf("-c file config file to read instead of %s\n", CONFIGFILE);
        printf("        file format is described in unbound.conf(5).\n");
        printf("-d      do not fork into the background.\n");
-       printf("-v      verbose (multiple times increase verbosity)\n");
+       printf("-v      verbose (more times to increase verbosity)\n");
        printf("Version %s\n", PACKAGE_VERSION);
        printf("BSD licensed, see LICENSE in source package for details.\n");
        printf("Report bugs to %s\n", PACKAGE_BUGREPORT);
@@ -292,9 +292,11 @@ do_chroot(struct daemon* daemon, struct config_file* cfg, int debug_mode)
        }
        if(cfg->username && cfg->username[0]) {
                if(setgid(gid) != 0)
-                       fatal_exit("unable to set group id: %s", strerror(errno));
+                       fatal_exit("unable to set group id of %s: %s", 
+                               cfg->username, strerror(errno));
                if(setuid(uid) != 0)
-                       fatal_exit("unable to set user id: %s", strerror(errno));
+                       fatal_exit("unable to set user id of %s: %s", 
+                               cfg->username, strerror(errno));
                verbose(VERB_DETAIL, "drop user privileges, run as %s", 
                        cfg->username);
        }
index 444cd8fa156e8463e6a147264376fdc794ec7856..5cee78844bae54cb097743f352481bf47603c2d2 100644 (file)
@@ -1,3 +1,6 @@
+15 November 2007: Wouter
+       - review fixups from Jelte.
+
 14 November 2007: Wouter
        - testbed script does not recreate configure, since its in svn now.
        - fixup checkconf test so that it does not test 
index 47eec99407382a88fb2ca9b7805b313b19eabece..e49137a4d1a9d5ded95c82d6f1e5070a4206f190 100644 (file)
@@ -19,7 +19,7 @@ This software is under BSD license, see LICENSE for details.
 
 * Make and install: ./configure; make; make install
   * --with-ldns=/path/to/ldns
-       If ldns is not detected on the system, a prepackaged incuded tarball
+       If ldns is not detected on the system, a prepackaged tarball
        of the ldns library is used to compile and statically link against.
        If detected on the system, it will dynamically link against it.
   * --with-libevent=/path/to/libevent