Bug#715141:

2014-05-23 Thread Bram Schoenmakers
Another way to fix this bug is to add additional configuration:

[apt_all]
user root

Because the update is performed as root by the cronjob, the plugin
statefile is written to
/var/lib/munin-node/plugin-state/root/plugin-apt.state. Without this
configuration item, munin_run would look in
/var/lib/munin-node/plugin-state/nobody/plugin-apt.state

By default, there is only an entry for the 'apt' plugin, so 'apt_full'
was missing.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#310442: rdiff-backup: no way to recover from full filesystem

2011-12-13 Thread Bram Schoenmakers
Another way to work-around this problem is to add a large (empty) file
on the backup volume (dd if=/dev/zero of=/backup/blob count=1000
bs=1M). Then, whenever rdiff-backup fails when the device becomes
full, remove that file and you can run --check-destination-dir to fix
up the repository.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#578721: nagios-nrpe-plugin: Timeout option is not working whichever integer is specified

2011-11-01 Thread Bram Schoenmakers
I see the same problem in Squeeze, plugins time out no matter what
timeout value I specify.

But indeed, the parameters seem to be obeyed when running the command
from the shell (as the same user as the Nagios process). It only
ignores (additional) parameters when invoked by the Nagios process. I
created a wrapper script around the check_nrpe plugin to print the
command's arguments, and all parameters seem to be passed along just
fine. Something seems to go wrong inside the check_nrpe command,
probably there's some difference in the environment.

Kind regards,

Bram Schoenmakers



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#587829:

2011-05-26 Thread Bram Schoenmakers
I believe this bug appeared in Chrome / Chromium 11, see
http://code.google.com/p/chromium/issues/detail?id=77274 for the full
story.

Chrome would hang from time to time, and quitting it left three chrome
processes behind. It appeared that the gecko-mediaplayer plugin was
causing some kind of race condition, disabling it seemed to work
indeed. It was believed that the gecko-mediaplayer was fixed
(therefore it was unblacklisted for Chrome 11). It only seems to occur
when gecko-mediaplayer was compiled with GConf support.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#383543: mysql-server: logrotate script fails if mysqld is not running

2011-01-19 Thread Bram Schoenmakers
Apologies for bringing this up after such a long time, but it seems
that this bug is present without 3rd party packages involved. The
Akonadi daemon, part of KDE 4, launches its own instance and affects
the output of ps cax | grep mysqld :

  /usr/sbin/mysqld
--defaults-file=/home/bram/.local/share/akonadi//mysql.conf
--datadir=/home/bram/.local/share/akonadi/db_data/socket=/home/bram/.local/share/akonadi/db_misc/mysql.socket

To fix this in /etc/logrotate.d/mysql-server, I check for the
existence of the socket on its main location:

  if ps cax | grep -q mysqld; then

becomes

  if [ -S '/var/run/mysqld/mysqld.sock' ]; then

But I wonder if this solution applies in general, but at least it
supports Debian's default settings.

-- 
Bram Schoenmakers



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#600599: Additional information

2010-10-25 Thread Bram Schoenmakers
The problem persists with the kernel which entered testing today
(2.6.32-26). Looking back at the logs I see that version 2.6.32-23 was
still working. This one came with the installation, the Debian
installer for testing (Build: 9 October 2010).

Also, I found out that disabling KMS actually make this problem go away. I added

radeon.modeset=0

to my boot flags and now the system boots properly. However, with KMS
disabled my monitor loses the signal when X is started, but that's
another problem.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#341212: playground/utils/rsibreak/src

2005-12-01 Thread Bram Schoenmakers
SVN commit 484800 by bram:

Feature added: Suspend RSIBreak with the docker's popup menu. Handy if you're 
playing a game for example.

CCMAIL:[EMAIL PROTECTED]



 AMhi16-action-rsibreakx.png  
 AMhi32-action-rsibreakx.png  
 M  +24 -1 rsidock.cpp  
 M  +16 -2 rsidock.h  
 M  +3 -1  rsitimer.cpp  
 M  +3 -0  rsitimer.h  
 M  +8 -0  rsiwidget.cpp  


** trunk/playground/utils/rsibreak/src/hi16-action-rsibreakx.png #property 
svn:mime-type
   + application/octet-stream
** trunk/playground/utils/rsibreak/src/hi32-action-rsibreakx.png #property 
svn:mime-type
   + application/octet-stream
--- trunk/playground/utils/rsibreak/src/rsidock.cpp #484799:484800
@@ -33,7 +33,7 @@
 #include 
 
 RSIDock::RSIDock( QWidget *parent, const char *name )
-: KSystemTray( parent, name )
+: KSystemTray( parent, name ), m_suspended( false )
 {
   kdDebug() << "Entering RSIDock" << endl;
   QPixmap dockPixmap = KSystemTray::loadIcon( "rsibreak0" );
@@ -44,6 +44,9 @@
   contextMenu()->insertItem(SmallIcon("configure"),
  i18n("Configure RSIBreak..."), this,
  SLOT(slotConfigure()));
+  mSuspendItem = contextMenu()->insertItem(SmallIcon("player_pause"),
+ i18n("Suspend RSIBreak"), this,
+ SLOT(slotSuspend()));
   contextMenu()->insertSeparator();
   contextMenu()->insertItem(i18n("Report Bug..."), this,
  SLOT(slotReportBug()));
@@ -125,4 +128,24 @@
 emit breakRequest();
 }
 
+void RSIDock::slotSuspend()
+{
+  if( m_suspended )
+  {
+emit unsuspend();
+
+setPixmap( KSystemTray::loadIcon( "rsibreak0" ) );
+contextMenu()->changeItem( mSuspendItem, SmallIcon( "player_pause" ), 
i18n("Suspend RSIBreak") );
+  }
+  else
+  {
+emit suspend();
+
+setPixmap( KSystemTray::loadIcon( "rsibreakx" ) );
+contextMenu()->changeItem( mSuspendItem, SmallIcon( "player_play" ), i18n( 
"Resume RSIBreak" ) );
+  }
+
+  m_suspended = !m_suspended;
+}
+
 #include "rsidock.moc"
--- trunk/playground/utils/rsibreak/src/rsidock.h #484799:484800
@@ -29,11 +29,11 @@
 class KGlobalAccel;
 #include 
 
-/** 
+/**
  * @class RSIDock
  * This class is resonsible for putting rsibreak in the system tray
  * and provide a proper menu when right clicked on the icon.
- * 
+ *
  * Originaly this file was copied from KSynaptics
  * @author Nadeem Hasan <[EMAIL PROTECTED]>
  * @author Tom Albers <[EMAIL PROTECTED]>
@@ -87,16 +87,30 @@
  */
 void breakRequest();
 
+/**
+ * Suspend RSIbreak on user's request.
+*/
+void suspend();
+
+/**
+ * Restart RSIbreak again after suspensing.
+*/
+void unsuspend();
+
 private slots:
 void slotConfigure();
 void slotAboutKDE();
 void slotAboutRSIBreak();
 void slotReportBug();
 void slotBreakRequest();
+void slotSuspend();
 
 private:
 KGlobalAccel* m_accel;
 QString   m_currentIcon;
+
+int mSuspendItem;
+bool m_suspended;
 };
 
 #endif // RSIDOCK_H
--- trunk/playground/utils/rsibreak/src/rsitimer.cpp #484799:484800
@@ -37,7 +37,7 @@
 
 RSITimer::RSITimer( QObject *parent, const char *name )
 : QObject( parent, name ), m_idleLong( false ), m_targetReached( false ),
-  m_needBreak( 0 ), m_idleIndex( 0 )
+  m_suspended( false ), m_needBreak( 0 ), m_idleIndex( 0 )
 {
 kdDebug() << "Entering RSITimer::RSITimer" << endl;
 
@@ -173,6 +173,7 @@
 emit minimize();
 m_timer_max->stop();
 m_needBreak=false;
+m_suspended=true;
 }
 
 void RSITimer::slotRestart( )
@@ -185,6 +186,7 @@
 
 emit minimize();
 startMinimizeTimer();
+m_suspended=false;
 }
 
 
--- trunk/playground/utils/rsibreak/src/rsitimer.h #484799:484800
@@ -42,6 +42,8 @@
 RSITimer( QObject *parent = 0, const char *name = 0 );
 ~RSITimer();
 
+bool isSuspended() const { return m_suspended; }
+
 public slots:
 void slotMinimize();
 void slotMaximize();
@@ -72,6 +74,7 @@
 boolm_idleLong;
 boolm_targetReached;
 boolm_idleDetection;
+boolm_suspended;
 
 int m_needBreak;
 int m_timeMaximized;
--- trunk/playground/utils/rsibreak/src/rsiwidget.cpp #484799:484800
@@ -82,6 +82,9 @@
 connect( m_tray, SIGNAL( dialogEntered() ), m_timer, SLOT( slotStop() ) );
 connect( m_tray, SIGNAL( dialogLeft() ), m_timer, SLOT( slotRestart() ) );
 connect( m_tray, SIGNAL( breakRequest() ), m_timer, SLOT( slotMaximize() ) 
);
+connect( m_tray, SIGNAL( suspend() ), m_timer, SLOT( slotStop() ) );
+connect( m_tray, SIGNAL( suspend() ), m_popup, SLOT( hide() ) );
+connect( m_tray, SIGNAL( unsuspend() ), m_timer, SLOT( slotRestart() ) );
 
 srand ( time(NULL) );
 
@@ -268,6 +271,11 @@
 QToolTip::add(m_tray, i18n("On