[Bug 1490005] [NEW] cron logging level 4 not clear for understanding

2015-08-28 Thread Alexander S. Gryanko
Public bug reported:

I turned on logging level 4 for cron(logging failed jobs). I think it's
not clear for understanding which job has been failed:

Aug 28 21:58:22 x05 CRON[14697]: (CRON) error (grandchild #14709 failed with 
exit status 1)
Aug 28 22:03:30 x05 CRON[17572]: (CRON) error (grandchild #17599 failed with 
exit status 255)
Aug 28 22:06:52 x05 CRON[17560]: (CRON) error (grandchild #17579 failed with 
exit status 1)
Aug 28 22:09:33 x05 CRON[17575]: (CRON) error (grandchild #17595 failed with 
exit status 1)

This format will be much better:

Aug 28 22:16:01 x05 CRON[22722]: (root) ERR ([22726]ls /nowhere is failed 
withstatus 2)
Aug 28 22:17:01 x05 CRON[23005]: (root) ERR ([23009]ls /nowhere is failed 
withstatus 2)
Aug 28 22:18:01 x05 CRON[23165]: (root) ERR ([23169]ls /nowhere is failed 
withstatus 2)
Aug 28 22:19:01 x05 CRON[23313]: (root) ERR ([23317]ls /nowhere is failed 
withstatus 2)

My small patch to fix this:

--- cron-3.0pl1.orig/do_command.c   2015-08-28 22:35:08.036188131 +0300
+++ cron-3.0pl1.orig-new/do_command.c   2015-08-28 22:03:22.305031093 +0300
@@ -491,18 +491,24 @@ child_process(e, u)
getpid(), pid, WEXITSTATUS(waiter)))

if (log_level  CRON_LOG_JOBFAILED) {
+char *x;
+char logcmd[MAX_COMMAND + 8];
+   snprintf(logcmd, sizeof(logcmd), [%d] %s, (int) 
job_pid, e-cmd);
+   x = mkprints((u_char *)logcmd, strlen(logcmd));
+
if (WIFEXITED(waiter)  WEXITSTATUS(waiter)) {
status = waiter;
-   snprintf(msg, 256, grandchild #%d failed with 
exit 
-   status %d, pid, WEXITSTATUS(waiter));
-   log_it(CRON, getpid(), error, msg);
+   snprintf(msg, 256, %s is failed with
+   status %d, x, WEXITSTATUS(waiter));
+   log_it(usernm, getpid(), ERR, msg);
} else if (WIFSIGNALED(waiter)) {
status = waiter;
-   snprintf(msg, 256, grandchild #%d terminated 
by signal
-%d%s, pid, WTERMSIG(waiter),
+   snprintf(msg, 256, %s terminated by signal
+%d%s, x, WTERMSIG(waiter),
WCOREDUMP(waiter) ? , dumped core : 
);
-   log_it(CRON, getpid(), error, msg);
+   log_it(usernm, getpid(), ERR, msg);
}
+free(x);
}
}

** Affects: cron (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490005

Title:
  cron logging level 4 not clear for understanding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1490005/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 582809] Re: Synaptics Clickpad touchpad buttons are not working

2011-05-11 Thread Alexander S. Gryanko
@Mohegan:

Remove #defines from patch as David describes in #153, but sometimes
kernel will crash

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/582809

Title:
  Synaptics Clickpad touchpad buttons are not working

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 582809] Re: Synaptics Clickpad touchpad buttons are not working

2011-05-10 Thread Alexander S. Gryanko
For building latest synaptics package:
- sudo apt-get build-dep xserver-xorg-input-synaptics
- apply patches from SuSe
- dpkg-buildpackage -b

After that install custom package:
- dpkg -i ../xserver-xorg-input-synaptics-[ur package version].deb
- echo xserver-xorg-input-synaptics** hold | sudo tee dpkg —set-selections  
  # prevent package upgrade

For dkms(It's not good idea for using enable/disable touchpad, cuz sometimes 
kernel crashes):
- get kernel source by apt-get
- make dir smth like /usr/src/psmouse and copy /usr/src/linux-source-[ur 
version]/drivers/input/mouse to it.
- make file dkms.conf:

PACKAGE_NAME=psmouse
PACKAGE_VERSION=ur kernel version___
CLEAN=rm -f *.*o

BUILT_MODULE_NAME[0]=psmouse
MAKE[0]=make -C $kernel_source_dir 
M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build/src psmouse.ko
BUILT_MODULE_LOCATION[0]=mouse
DEST_MODULE_LOCATION[0]=/updates

AUTOINSTALL=yes

- sudo dkms add -m psmouse -v [ur kernel version]
- sudo dkms build -m psmouse -v [ur kernel version]
- sudo dkms install -m psmouse -v [ur kernel version]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/582809

Title:
  Synaptics Clickpad touchpad buttons are not working

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 582809] Re: Synaptics Clickpad touchpad buttons are not working

2011-04-25 Thread Alexander S. Gryanko
David,

I don't know where I need to set MOUSE_PS2_SYNAPTICS_LED option for dkms
module, but I commented out definitions of this option and built psmouse
package. Thanks.

http://ompldr.org/vOGV6cg/psmouse-dkms_2.6.38-7-generic_all.deb

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/582809

Title:
  Synaptics Clickpad touchpad buttons are not working

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 582809] Re: Synaptics Clickpad touchpad buttons are not working

2011-04-22 Thread Alexander S. Gryanko
Aadu:

Which version of xorg-input-synaptics in your system?

http://ompldr.org/vOGRtNQ/xserver-xorg-input-
synaptics_1.3.99+git20110116.0e27ce3a-0ubuntu11_amd64.deb

I've built deb for Ubuntu 11.04 AMD64 with David's patches. On next week
I will try to test led on 4320s.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/582809

Title:
  Synaptics Clickpad touchpad buttons are not working

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 582809] Re: Synaptics Clickpad touchpad buttons are not working

2011-04-16 Thread Alexander S. Gryanko
David ,

There is no psmouse::synaptics file.

Please, show me your `dmesg | grep Synaptics` output.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/582809

Title:
  Synaptics Clickpad touchpad buttons are not working

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 582809] Re: Synaptics Clickpad touchpad buttons are not working

2011-04-15 Thread Alexander S. Gryanko
Hi David Härdeman,

Thanks for SuSe patches. On HP 4320 dd(with disabled two-fingers
scroll) and right button works fine.

I've patched psmouse for 2.6.38-7, but LED doesn't work by double
tapping on it.

Synaptics LED (288):0
Synaptics LED Status (289): 0
Synaptics LED Dobule Tap (290): 1

Did you change smth in a LED patch?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/582809

Title:
  Synaptics Clickpad touchpad buttons are not working

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 753585] [NEW] FuzzyFlakes hangs the system

2011-04-07 Thread Alexander S. Gryanko
Public bug reported:

Binary package hint: compiz

Screen lock(or compiz) hangs the system. If start a new shell session by
pressing CTRL + ALT + F1, kill gnome-screensaver and run 'compiz
--replace' and 'unity --replace' all works fine again.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.4git20110322-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
CompizPlugins: 
[core,bailer,detection,composite,opengl,decor,snap,resize,vpswitch,grid,compiztoolbox,regex,place,mousepoll,gnomecompat,animation,move,imgpng,unitymtgrabhandles,wall,session,expo,workarounds,ezoom,staticswitcher,fade,scale,unityshell]
Date: Thu Apr  7 17:50:16 2011
DistroCodename: natty
DistroVariant: ubuntu
InstallationMedia: Ubuntu 10.04 LTS Lucid Lynx - Release amd64 (20100429)
InstallationMedia_: Ubuntu 10.04 LTS Lucid Lynx - Release amd64 (20100429)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature_: Ubuntu 2.6.38-7.39-generic 2.6.38
SourcePackage: compiz
UpgradeStatus: Upgraded to natty on 2011-03-31 (6 days ago)
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu1

** Affects: compiz (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug natty running-unity ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/753585

Title:
  FuzzyFlakes hangs the system

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 753585] Re: FuzzyFlakes hangs the system

2011-04-07 Thread Alexander S. Gryanko
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/753585

Title:
  FuzzyFlakes hangs the system

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 753585] Re: FuzzyFlakes hangs the system

2011-04-07 Thread Alexander S. Gryanko
Compiz seg. fault dump.

** Attachment added: _usr_bin_compiz.1000.crash
   
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/753585/+attachment/1994375/+files/_usr_bin_compiz.1000.crash

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/753585

Title:
  FuzzyFlakes hangs the system

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 582809] Re: Synaptics Clickpad touchpad buttons are not working

2011-03-28 Thread Alexander S. Gryanko
LordBarman,

Suse Linux 11 is using 2.6.32 kernel, Ubuntu is using more newer
versions of kernel(10.10 - 2.6.35) and HP has buillt only i386 package,
there's no AMD64 drivers.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/582809

Title:
  Synaptics Clickpad touchpad buttons are not working

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 582809] Re: Synaptics Clickpad touchpad buttons are not working

2010-10-11 Thread Alexander S. Gryanko
With patch it's working better, but  Synaptics Touchpad, model: 1, fw:
7.4, id: 0x1e0b1, caps: 0xd04731/0xe4/0x5a0400 with tapping makes
two clicks instead of one.

-- 
Synaptics Clickpad touchpad buttons are not working
https://bugs.launchpad.net/bugs/582809
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs