Bug#573571: Potential fix for cwd bug

2018-12-20 Thread Dmitry Bogatov
control: tags -1 +fixed-upstream [2018-12-18 10:54] Jesse Smith > >> diff --git a/insserv.c b/insserv.c > >> index e109341..4df4cdc 100644 > >> --- a/insserv.c > >> +++ b/insserv.c > >> [...] > > I am not familiar with code, but why insserv need to save current > > directory in first place?

Bug#573571: Potential fix for cwd bug

2018-12-18 Thread Jesse Smith
On 12/18/18 9:18 AM, Dmitry Bogatov wrote: > [2018-12-16 12:35] Jesse Smith >> I did some poking around and believe I've found the issue with isserv >> jumping out whenever the current working directory (cwd) is not accessible. >> >> Basically, in the pushd() function there are two checks - one

Bug#573571: Potential fix for cwd bug

2018-12-18 Thread Dmitry Bogatov
[2018-12-16 12:35] Jesse Smith > I did some poking around and believe I've found the issue with isserv > jumping out whenever the current working directory (cwd) is not accessible. > > Basically, in the pushd() function there are two checks - one to see if > we can save the cwd, and another

Bug#573571: Potential fix for cwd bug

2018-12-16 Thread Jesse Smith
I did some poking around and believe I've found the issue with isserv jumping out whenever the current working directory (cwd) is not accessible. Basically, in the pushd() function there are two checks - one to see if we can save the cwd, and another check to see if we can change to /etc/init.d.