when running flexlm: /etc/init.d./flexlm start error: * Caching service dependencies ... [ ok ] * Starting lmgrd ... Cannot open "/var/log/flexlm.log" as log file (-1) freopen: Bad file descriptor [ !! ] * ERROR: flexlm failed to start -- Problem is that user created by Ebuild 'flexlm' has no write permissions for the '/var/log' folder. THerefore it's necessary to create a folder '/var/log/flexlm' with the permissions for 'flexlm' user. Reproducible: Always Actual Results: error
Created attachment 287501 [details] A unified patch fix
Also a change in default /etc/conf.d/flexlm is necessary before: LMLOG="/var/log/flexlm.log" after LMLOG="/var/log/flexlm/flexlm.log" Thanks!
Ian: Why are you changing permissions in pkg_config? Shouldn't this be done in src_install or pkg_postinst? If we do it in src_install, enewuser needs to be moved to pkg_setup.
Hello, This package has no maintainer so this bug may go unnoticed for a long time. Gentoo has a dedicated team for assisting users in maintaining orphaned packages. If you are interested in maintaining this package, please contact proxy-maint@gentoo.org. Kind regards, Markos
hmm, this is one of the first packages I looked at in the orphan package list. I also asked about it in dev-help. It's main problem is the new src url, I couldn't find it. The tip offered in the query in dev-help was to let it die, since I couldn't find it via google, and is why I did not update and invoke the tip I was given in Comment 3 and from that dev in that query in dev-help
+*flexlm-9.5-r2 (16 Apr 2012) + + 16 Apr 2012; Pacho Ramos <pacho@gentoo.org> +flexlm-9.5-r2.ebuild, + -flexlm-9.5-r1.ebuild: + Fix logfile permissions, bug #383787 by Dmitry Stepankov and Ian Delaney. +