Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279568 - [patch] net-dns/bind allow autodetecting number of CPUs
Summary: [patch] net-dns/bind allow autodetecting number of CPUs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-29 09:09 UTC by Matus UHLAR - fantomas
Modified: 2009-11-12 08:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/init.d/named patch (init.d-named,694 bytes, patch)
2009-07-29 12:16 UTC, Matus UHLAR - fantomas
Details | Diff
/etc/conf.d/named patch (conf.d-named,408 bytes, patch)
2009-07-29 12:18 UTC, Matus UHLAR - fantomas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matus UHLAR - fantomas 2009-07-29 09:09:36 UTC
conf.d and init.d scripts require admin to manually set the number of CPUs available. It would be better to allow bind to autodetect the correct value by skipping the "-n $CPU" option.
Comment 1 Matus UHLAR - fantomas 2009-07-29 12:16:51 UTC
Created attachment 199552 [details, diff]
/etc/init.d/named patch

this patch removes use of "-n" option when CPU is not defined
Comment 2 Matus UHLAR - fantomas 2009-07-29 12:18:34 UTC
Created attachment 199553 [details, diff]
/etc/conf.d/named patch

thich patch changes conf.d/named not to use CPU by default and provides comment about autodetection for bind admins.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-11-12 08:40:40 UTC
Fixed for 9.6.1-r1 thanks for report and patch.