From: Naveen N. R. <nav...@li...> - 2015-05-15 05:32:25
|
On 2015/05/14 09:16PM, Kamalesh Babulal wrote: > > > On 05/14/2015 04:29 PM, Naveen N. Rao wrote: > >>Teach snap to ignore deprecated sysctl network files, while > >>>gathering information from /proc. Reading deprecated file, > >>>throws warnings in /var/log/message like: > >>>kernel: process `snap' is using deprecated sysctl (syscall) > >>>net.ipv6.neigh.default.retrans_time; Use net.ipv6.neigh.default.retrans_time_ms instead.` > >Are you sure you want to ignore these just to prevent those warnings? > >Those could still be used by older applications and kernel will still > >effect changes based on these. > > Both retrans_time and retrans_time_ms behave synonymously. i.e., if you > modify one file the value gets reflected in another. > We can avoid the warning from snap, by copying the non deprecated version > and still we could have the required debugging > information. Ah, nice. Assuming we're only skipping these files under /proc/sys and/or chances of similarly named files in paths we care about is none: Acked-by: Naveen N. Rao <nav...@li...> Thanks, Naveen |