Bug 1767 - garbage output on service internet {start,stop}
Summary: garbage output on service internet {start,stop}
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: initscripts (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Dmitry V. Levin
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-27 13:43 MSK by Sergey Vlasov
Modified: 2003-08-25 15:18 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(\"/bin/tput\", [\"tput\", \"hpa\", \"-8\"], ...

/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>&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>&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.