Skip to main content

Posts

Showing posts with the label bug

Dansguardian: Unable to getgrnam(): Success, Error opening/creating log file.

Even after you have successfully installed dansguardian in your system, you may a get an error 'Unable to getgrnam(): Success' when you try to run dansguardian. Follow these steps to solve this problem. 1. Check whether the user 'nobody' exists. $ cat /etc/passwd see whether 'nobody' is listed. If not found add it. 2. Check whether the group ' nogroup' exits. $ cat /etc/group see whether ' nogroup' is listed. If not found add it. 3. Now open the dansguardian.conf and edit: $ sudo vi /etc/dansguardian/dansguardian.conf uncomment and change # daemongroup = 'nobody' to daemongroup = 'nogroup' If you try to run dansguardian now you may get a error message like this: Error opening/creating log file. (check ownership and access rights). I am running as nobody and I am trying to open /var/log/dansguardian//access.log 4. Now change the permissions on your log files. $ sudo chown -R nobody:nogroup /var/log/dansguardian/ replace ...

Bug #376879: grub2 installer modifies grub 0.97 menu.lst incorrectly and fails to chainload grub2

It was discovered on Jaunty. After installing grub2, it modifies the currently installed grub 0.97 menu.lst configuration file to chainload grub2 to allow one to test grub2 before committing to it as the default boot loader. However, grub2 modifies the menu.lst entry and adds the incorrect command to select the partition to boot from to chain load grub2. It uses: root 7cce46fe-4883-44bb-939b-58b9483f2739 and should be: uuid 7cce46fe-4883-44bb-939b-58b9483f2739 I suspect it was originally correct before grub 0.97 has UUID support added. To test and install grub2 correctly see here.