Bug 1767

Summary: garbage output on service internet {start,stop}
Product: Sisyphus Reporter: Sergey Vlasov <vsu>
Component: initscriptsAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P5    
Version: unstable   
Hardware: all   
OS: Linux   

Description Sergey Vlasov 2002-12-27 13:43:32 MSK
# service internet start
Checking internet connections to start at boot tput: invalid option -- 8
usage: tput [-V] [-S] [-T term] capname
[  OK  ]

This error also happens at boot and shutdown time.

strace shows:
execve(\&quot;/bin/tput\&quot;, [\&quot;tput\&quot;, \&quot;hpa\&quot;, \&quot;-8\&quot;], ...

/etc/rc.d/init.d/internet is not owned by any package - apparently it was created by the ALT Linux Master 2.0 installer.
---

---

Comment 1 Dmitry V. Levin 2002-12-27 13:53:47 MSK
/etc/rc.d/init.d/internet shouldn\'t be created.
Comment 2 Dmitry V. Levin 2002-12-27 13:53:47 MSK
/etc/rc.d/init.d/internet shouldn\'t be created.
Comment 3 Sergey Vlasov 2002-12-27 14:36:09 MSK
In fact, the problem is not specific to /etc/rc.d/init.d/internet - the same error happens when the output is redirected to a pipe:

# service autofs restart 2&gt;&amp;1|cat 
Stopping automounter: tput: invalid option -- 8
usage: tput [-V] [-S] [-T term] capname
[  OK  ]
Starting automounter: tput: invalid option -- 8
usage: tput [-V] [-S] [-T term] capname
[  OK  ]
Comment 4 Sergey Vlasov 2002-12-27 14:36:09 MSK
In fact, the problem is not specific to /etc/rc.d/init.d/internet - the same error happens when the output is redirected to a pipe:

# service autofs restart 2&gt;&amp;1|cat 
Stopping automounter: tput: invalid option -- 8
usage: tput [-V] [-S] [-T term] capname
[  OK  ]
Starting automounter: tput: invalid option -- 8
usage: tput [-V] [-S] [-T term] capname
[  OK  ]
Comment 5 Dmitry V. Levin 2002-12-28 02:30:55 MSK
There is a bug in MOVE_TO_COL() function in /etc/rc.d/init.d/outformat;
Fixed in upcoming initscripts package.
Comment 6 Dmitry V. Levin 2002-12-28 02:30:55 MSK
There is a bug in MOVE_TO_COL() function in /etc/rc.d/init.d/outformat;
Fixed in upcoming initscripts package.