Openbox iterates through all groups on startup. In our LDAP environment with activated user private groups, this slows down the startup of openbox significantly. Reproducible: Always Steps to Reproduce: 1. start openbox (or obconf) Actual Results: took a long time to get started Expected Results: appeared instantly The usage of getgrent is responsible for these delays. The patch supplied uses getgroups instead of getgrent, with performs much better and respects local nscd caches. our enviroment: getent group|wc -l 22831 getent passwd|wc -l 14592 patch available on: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808138 https://bugzilla.icculus.org/show_bug.cgi?id=5978
Created attachment 756148 [details, diff] replace getgrent -> getgroups