Bug#690314: /etc/init.d/rc may execute S## or K## scripts twice if starts with upper case characters

2012-10-15 Thread Reichel, Philip
Hello, thank you for your quick answer, I have the following logic in my rc script: level=${s#/etc/rc$runlevel.d/S} level=${level%%[a-z]*} which explains the error on my machine (not entirely the same logic as you used below). I extracted and checked the package contents of sysv

Bug#690314: /etc/init.d/rc may execute S## or K## scripts twice if starts with upper case characters

2012-10-12 Thread Reichel, Philip
Package: sysv-rc Version: 2.86.ds1-61 /etc/init.d/rc may execute S## or K## scripts twice if starts with upper case characters. /etc/init.d/rc execution loop works in principle as follows: generate alphabetically ordered list of all S* or K* files in the rc*.d directory set current level numbe