Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374719 - app-admin/syslog-ng-3.2.4 init.d script uses deprecated --oknodo on reload
Summary: app-admin/syslog-ng-3.2.4 init.d script uses deprecated --oknodo on reload
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: s-s-d-deprecated
  Show dependency tree
 
Reported: 2011-07-10 16:51 UTC by Enno Gröper
Modified: 2011-09-22 16:34 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enno Gröper 2011-07-10 16:51:20 UTC
app-admin/syslog-ng-3.2.4 init.d script uses deprecated start-stop-daemon parameter "--oknodo" on reload:
start-stop-daemon --stop --oknodo --signal HUP \
            --pidfile /var/run/syslog-ng.pid

Reproducible: Always

Steps to Reproduce:
1./etc/init.d/syslog-ng reload
Actual Results:  
 * Reloading configuration and re-opening log files ...
 * WARNING: -o/--oknodo is deprecated and will be removed in the future   [ ok ]


Expected Results:  
 * Reloading configuration and re-opening log files ...  [ ok ]
Comment 1 Leho Kraav (:macmaN @lkraav) 2011-08-02 14:05:25 UTC
right, i'm struggling finding info about this deprecation. is the solution just removing --oknodo from init scripts?
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-09-21 13:19:43 UTC
(In reply to comment #1)
> right, i'm struggling finding info about this deprecation. is the solution just
> removing --oknodo from init scripts?

Yes, see the blocking bug.

Mr Bones, can we get this fixed soon? It is cluttering up the cron emails. Thanks.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2011-09-21 14:54:23 UTC
fixed.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-09-22 13:35:59 UTC
(In reply to comment #3)
> fixed.

Please revbump the ebuild so all users will get the update.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2011-09-22 15:36:36 UTC
No, that's a lot of recompiles to suppress a warning.
Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2011-09-22 16:30:25 UTC
(In reply to comment #5)
> No, that's a lot of recompiles to suppress a warning.

Er, yes it will take a recompile to suppress the warning; thats a downside of the current EAPI.

I don't see how that helps users who would like the warning to go away (how are they supposed to know that a recompile will fix the warning?)

-A
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2011-09-22 16:34:29 UTC
They'd probably go looking for, and find, this bug.  In the mean time, all the people who don't care about the warning aren't hassled by a functionally pointless rev bump.