Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/var/log/messages blowing up with error message
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 730

PostPosted: Fri Mar 29, 2019 1:56 pm    Post subject: /var/log/messages blowing up with error message Reply with quote

My /var/log/messages file is now 29G and growing. It is due to this error message:

Code:
Mar 29 09:49:18 localhost dbus-daemon[6484]: [session uid=1000 pid=6482] Activating service name='org.bluez.obex' requested by ':1.3' (uid=1000 pid=6529 comm="kded5 [kdeinit5]                                  " label="kernel")

My computer doesn't even have bluetooth so I'm not sure why this is happening in the first place. Any tips on:

1. how to reduce the log file safely
2. how to stop the message from appearing altogether?

My /var partition is starting to fill up and the rest of the system isn't working too well as a result. Thanks!

dq
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 730

PostPosted: Fri Mar 29, 2019 5:04 pm    Post subject: Reply with quote

Ok, fixed it by removing the bluez packages that were installed and using logrotate on /var/log/messages

However, I'm not sure how I got to this point. Any ideas? I want to prevent this again. Is there some -bluetooth flag I can turn off?

dq
Back to top
View user's profile Send private message
pietinger
n00b
n00b


Joined: 17 Oct 2006
Posts: 48

PostPosted: Fri Mar 29, 2019 9:52 pm    Post subject: Reply with quote

don quixada wrote:
Any ideas? I want to prevent this again. Is there some -bluetooth flag I can turn off?
Yes. In /etc/portage/make.conf in variable "USE="
It is a good Idea to deactivate all you didnt have or you will never use. It saves you from unnecessary compilations and complications :-) For me it is:
Code:
myREMOVE="-bluetooth -filemanager -ipv6 -ldap -multilib -modemmanager -networkmanager -ppp -qt4 -semantic-desktop -wext -wifi"
[...]
USE="${myREMOVE} ${myINTEL} ${mySYSTEM} ${myADD}"
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3076
Location: Illinois, USA

PostPosted: Sat Mar 30, 2019 12:58 am    Post subject: Reply with quote

pietinger wrote:
For me it is:
Code:
myREMOVE="-bluetooth -filemanager -ipv6 -ldap -multilib -modemmanager -networkmanager -ppp -qt4 -semantic-desktop -wext -wifi"
[...]
USE="${myREMOVE} ${myINTEL} ${mySYSTEM} ${myADD}"

I think my way is cleaner. A recent thread cautioned against defining custom variables in make.conf
Code:

#first as policy no RedHat stuff
USE="-acl -perl -caps -elogind -ldap -nls -libav -mysql -orc \
     -gnome -gnome-keyring -policykit -consolekit -udev -dbus -jack -pulseaudio  \
     -udev -udisks -upower -networkmanager"
#now remove other useless stuff
USE="$USE -accessibility -bluetooth -guile -qt4 -qt5 -ipv6 -tcl -tk -vala "
#now add stuff I want
USE="$USE alsa dvb dvd dvdr ffmpeg v4l ftp jpeg gbm \
     gstreamer python scanner sndfile samba sqlite suid tahoma truetype xpm \
     xv multislot split-usr gtk3  X"

It was pointed out in that thread that the backslashes for line continuation are no longer needed.
Back to top
View user's profile Send private message
pietinger
n00b
n00b


Joined: 17 Oct 2006
Posts: 48

PostPosted: Sat Mar 30, 2019 5:24 am    Post subject: Reply with quote

Tony0945 wrote:
I think my way is cleaner. A recent thread cautioned against defining custom variables in make.conf

Yes, I know the thread; and I know the problem. It was SYSTEM= and I had the same problem before some month. So I changed my variables (grown in 15 years gentoo) in "myXXX". But you are right, your way is cleaner and I will change my config in this way. Thank you very much.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Sat Mar 30, 2019 5:41 am    Post subject: Reply with quote

Tony0945 wrote:
pietinger wrote:
For me it is:
Code:
myREMOVE="-bluetooth -filemanager -ipv6 -ldap -multilib -modemmanager -networkmanager -ppp -qt4 -semantic-desktop -wext -wifi"
[...]
USE="${myREMOVE} ${myINTEL} ${mySYSTEM} ${myADD}"

I think my way is cleaner. A recent thread cautioned against defining custom variables in make.conf
Code:

#first as policy no RedHat stuff
USE="-acl -perl -caps -elogind -ldap -nls -libav -mysql -orc \
     -gnome -gnome-keyring -policykit -consolekit -udev -dbus -jack -pulseaudio  \
     -udev -udisks -upower -networkmanager"
#now remove other useless stuff
USE="$USE -accessibility -bluetooth -guile -qt4 -qt5 -ipv6 -tcl -tk -vala "
#now add stuff I want
USE="$USE alsa dvb dvd dvdr ffmpeg v4l ftp jpeg gbm \
     gstreamer python scanner sndfile samba sqlite suid tahoma truetype xpm \
     xv multislot split-usr gtk3  X"

It was pointed out in that thread that the backslashes for line continuation are no longer needed.

I don't set USE at all.
Code:
 ~ $ grep -hFR '*/*' /etc/portage/package.use/ | head -1
*/* -acl -berkdb -consolekit -fortran -gdbm -gstreamer -introspection -pam -policykit -suid -tcpd -udisks caps
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum