Gentoo Archives: gentoo-user

From: Alejandro Bednarik <elcorreodeale@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to avoid NetworkManager logs <info> in terminals
Date: Sun, 17 Feb 2008 20:08:21
Message-Id: 60a795cd0802171208g583ffd7o8565c1777ddbc2e8@mail.gmail.com
In Reply to: Re: [gentoo-user] How to avoid NetworkManager logs in terminals by Iain Buchanan
1 2008/2/16, Iain Buchanan <iaindb@××××××××××××.au>:
2 >
3 >
4 > On Fri, 2008-02-15 at 13:13 -0200, Alejandro Bednarik wrote:
5 > > 2008/2/14, Iain Buchanan <iaindb@××××××××××××.au>:
6 >
7 > [snip]
8 >
9 > > > > The start-stop daemon have the parameter --quiet
10 > > > > I double check /etc/rc and the VERBOSE option for this kind of
11 > > > > services is off
12 > > > > i tried adding a /dev/null >& at the end of the start-stop daemon
13 > > > > call, but didn't work.
14 > > >
15 > > >
16 > > > not quite sure what "/dev/null >&" would do. I tried this with
17 > > > net.eth0:
18 > > > sudo /etc/init.d/net.eth0 restart >/dev/null
19 > > >
20 > > > and it got rid of all the output. To be sure, you could add 2>&1
21 > > > sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1
22 >
23 > [snip]
24 >
25 > > This is my tty1 after i start Networkmanager (not net.eth0, which are
26 > > different services)
27 >
28 > yes, I know :) I was just using net.eth0 as an example because I was
29 > too lazy to install networkmanager and see for myself!
30 >
31 > > and connect to a wireless network. The same happend when
32 > > i bootup my system. I need my tty's to work and plus all thi info is odd
33 > and
34 > > useless
35 >
36 > [snip]
37 >
38 > > Cheers, and thank for help us!
39 >
40 > Did you try my suggestion?
41 >
42 > > > sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1
43 >
44 > did it help? (substitute net.eth0 with NetworkManager ;)
45 >
46 > It looks like all the output comes from this line in the init script
47 > (again, only looking in the source, so YMMV)
48 > start-stop-daemon --start --quiet --exec ${processname}
49 >
50 > try adding
51 > >/dev/null 2>&1
52 > to the end of it.
53 >
54 > HTH,
55 > --
56 > Iain Buchanan <iaindb at netspace dot net dot au>
57 >
58 > Its name is Public Opinion. It is held in reverence. It settles
59 > everything.
60 > Some think it is the voice of God.
61 > -- Mark Twain
62 >
63 > --
64 > gentoo-user@l.g.o mailing list
65
66
67
68 Hi!
69 about sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 I tried this before
70 send this email, but the NetworkManager logs <info> and <debug> in the tty1
71 anyway, the only change is that i don't see any output in the terminal i run
72 the command.
73 about start-stop-daemon --start --quiet --exec ${processname} yes, i also
74 tried your suggestion before send the email, but with the same bad result.
75 I not sure but for me, the parameter console=tty1 i have in the the kernel
76 line i use in grub have something to do (i use fbsplash and fbcondecor), but
77 is not the only reason, i check sabayon linux which use NetworkManager,
78 fbsplash and fbconvecor just like the way i do, but NM don't do the same.
79
80 Many thanks for your help!
81 Cheers!

Replies

Subject Author
Re: [gentoo-user] How to avoid NetworkManager logs <info> in terminals Iain Buchanan <iaindb@××××××××××××.au>