Bug#1017856: new upstream folder syntax/shared is not packaged

2022-08-21 Thread Gianluigi Tiesi
Package: vim-runtime
Version: 2:9.0.0229-1
Severity: normal

Hi,
after upgrading to vim 2:9.0.0229-1, I've discovered that typescript syntax is 
broken:

Error detected while processing 
/home/sherpya/.vimrc[1]../usr/share/vim/vim90/syntax/syntax.vim[43]..BufRead 
Autocommands for "*.ts"..FileType Autocommands for "*"..Syntax Autocommands for 
"*"..function 5_SynSet[25]..script 
/usr/share/vim/vim90/syntax/typescript.vim:
line   38:
E484: Can't open file /usr/share/vim/vim90/syntax/shared/typescriptcommon.vim

Looks like upstream added runtime/syntax/shared folder with the missing file 
(only one for now)

The readme in that directory says:

This directory "runtime/syntax/shared" contains Vim script files that are
generated or used by more then one syntax file.

Regards

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-21-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim  2:9.0.0229-1

vim-runtime suggests no packages.

-- no debconf information



Bug#1005311: forcing dependency is not enough, at least for optirun

2022-02-14 Thread Gianluigi Tiesi

optirun glxinfo

optirun glxinfo
[ 1566.529702] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Unable to locate/open config directory: 
"/etc/bumblebee/xorg.conf.d"


[ 1566.529735] [ERROR]Aborting because fallback start is disabled.


in xorg log:

[  1566.527] (II) NVIDIA dlloader X Driver  470.103.01  Thu Jan  6 12:18:33 UTC 
2022
[  1566.527] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  1566.529] (EE) No devices detected.
[  1566.529] (EE)
Fatal server error:
[  1566.529] (EE) no screens found(EE)
[  1566.529] (EE)

perhaps nvidia module loads:

[ 1566.540788] nvidia :01:00.0: enabling device ( -> 0003)
[ 1566.540886] nvidia :01:00.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=none:owns=none
[ 1566.587576] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  470.103.01  Thu 
Jan  6 12:10:04 UTC 2022


--
Gianluigi Tiesi 
Chief Technology Officer
Netfarm S.r.l. - https://www.netfarm.it/
Free Software: https://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#999914: virtualbox-qt: file picker on Linux KDE Plasma does not handle mouse, unusable

2021-11-18 Thread Gianluigi Tiesi
Package: virtualbox-qt
Severity: important
Tags: upstream patch

VirtualBox file picker dialog (ISO or HDD selection, etc)
does not handle mouse events when running on KDE Plasma 5.
All dialog elements are not clickable. You can still use it with keyboard. 

original report: https://www.virtualbox.org/ticket/20222

last comment has a proper fix:

https://build.opensuse.org/package/view_file/Virtualization/virtualbox/vb-6.1.16-modal-dialog-parent.patch?expand=1

Regards


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-18-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages virtualbox-qt depends on:
ii  libc6 2.32-4
ii  libgcc-s1 11.2.0-10
ii  libgl11.3.4-2+b1
pn  libqt5core5a  
pn  libqt5gui5 | libqt5gui5-gles  
pn  libqt5opengl5 
pn  libqt5printsupport5   
pn  libqt5widgets5
pn  libqt5x11extras5  
ii  libstdc++611.2.0-10
ii  libx11-6  2:1.7.2-2+b1
ii  libxcb1   1.14-3
ii  libxext6  2:1.3.4-1
pn  virtualbox

virtualbox-qt recommends no packages.

virtualbox-qt suggests no packages.



Bug#981187: Please upgrade to 460.39 it fixes a problem with power management

2021-01-27 Thread Gianluigi Tiesi
Source: nvidia-graphics-drivers
Severity: important
Tags: upstream


Hi, nvidia team finally fixed a nasty bug that prevent auto suspend
of hybrid cards, the fix is in 460.39

More informations at the forum post:

https://forums.developer.nvidia.com/t/pci-express-runtime-d3-power-management-broken-by-commit-4d03e3cc59828/164901/25

Regads



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-13-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



Bug#979013: Broken left click on Lenovo X1 Extreme Gen2 Touchpad (5.10 should improve it instead)

2021-01-10 Thread Gianluigi Tiesi

Hi,

looking at the kernel sources as a workaround I need to pass

psmouse.synaptics_intertouch=0 instead

because =1 now act as non set



--
Gianluigi Tiesi 
Chief Technology Officer
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#979013: Broken left click on Lenovo X1 Extreme Gen2 Touchpad (5.10 should improve it instead)

2021-01-10 Thread Gianluigi Tiesi

Bug still present int 5.10.5-1

Unfortunately I cannot find any info on the internet

mainly searching:

rmi4_physical rmi4-00: Failed to read irqs, code=-6


Can this bug be forwarded to upstream?


Regards

--
Gianluigi Tiesi 
Chief Technology Officer
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#979013: Broken left click on Lenovo X1 Extreme Gen2 Touchpad (5.10 should improve it instead)

2021-01-01 Thread Gianluigi Tiesi
Package: linux-image-5.10.0-1-amd64
Severity: important
Tags: upstream
X-Debbugs-Cc: sher...@netfarm.it

Hi, I'm using kde on sid, and switched from linux-image-5.9.0-5-amd64 5.9.15-1
to linux-image-5.10.0-1-amd64 5.10.4-1

now the touchpad left click looks broken, it like it need a more pressure and 
it acts after a small delay,
the touchpad works fine on Windows and on kernel 5.9.15

5.10 supposed to improve the x1 extreme touchpad, and indeed Xorg detects it 
differently:

[   702.989] (II) Using input driver 'synaptics' for 'Synaptics TM3512-010'
[   702.989] (**) Synaptics TM3512-010: always reports core events
[   702.989] (**) Option "Device" "/dev/input/event5"
[   703.023] (--) synaptics: Synaptics TM3512-010: x-axis range 0 - 1163 (res 
12)
[   703.023] (--) synaptics: Synaptics TM3512-010: y-axis range 0 - 778 (res 12)
[   703.023] (--) synaptics: Synaptics TM3512-010: pressure range 0 - 255
[   703.023] (II) synaptics: Synaptics TM3512-010: device does not report 
finger width.
[   703.023] (--) synaptics: Synaptics TM3512-010: buttons: double triple
[   703.023] (--) synaptics: Synaptics TM3512-010: Vendor 0x6cb Product 0
[   703.023] (--) synaptics: Synaptics TM3512-010: invalid finger width range.  
defaulting to 0 - 15
[   703.023] (--) synaptics: Synaptics TM3512-010: touchpad found
[   703.023] (**) Synaptics TM3512-010: always reports core events
[   703.055] (**) Option "config_info" 
"udev:/sys/devices/rmi4-00/input/input6/event5"
[   703.055] (II) XINPUT: Adding extended input device "Synaptics TM3512-010" 
(type: TOUCHPAD, id 16)
[   703.055] (**) synaptics: Synaptics TM3512-010: (accel) MinSpeed is now 
constant deceleration 2.5
[   703.055] (**) synaptics: Synaptics TM3512-010: (accel) MaxSpeed is now 1.75
[   703.055] (**) synaptics: Synaptics TM3512-010: (accel) AccelFactor is now 
0.143
[   703.055] (**) Synaptics TM3512-010: (accel) keeping acceleration scheme 1
[   703.055] (**) Synaptics TM3512-010: (accel) acceleration profile 1
[   703.055] (**) Synaptics TM3512-010: (accel) acceleration factor: 2.000
[   703.055] (**) Synaptics TM3512-010: (accel) acceleration threshold: 4
[   703.056] (--) synaptics: Synaptics TM3512-010: touchpad found
[   703.057] (II) config/udev: Adding input device Synaptics TM3512-010 
(/dev/input/mouse0)
[   703.057] (**) Synaptics TM3512-010: Ignoring device from InputClass 
"touchpad ignore duplicates"


while on kernel 5.9:

[11.238] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics 
TouchPad'
[11.238] (**) SynPS/2 Synaptics TouchPad: always reports core events
[11.238] (**) Option "Device" "/dev/input/event1"
[11.270] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1266 - 
5678 (res 0)
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1160 - 
4690 (res 0)
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 
15
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double 
triple
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[11.270] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[11.270] (**) SynPS/2 Synaptics TouchPad: always reports core events
[11.302] (**) Option "config_info" 
"udev:/sys/devices/platform/i8042/serio1/input/input3/event1"
[11.302] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics 
TouchPad" (type: TOUCHPAD, id 15)
[11.302] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is 
now constant deceleration 2.5
[11.302] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is 
now 1.75
[11.302] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is 
now 0.035
[11.302] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration 
scheme 1
[11.302] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[11.302] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[11.302] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[11.303] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[11.304] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad 
(/dev/input/mouse0)
[11.304] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass 
"touchpad ignore duplicates"

I've tried to tweak some settings on kde input control panel but without success

kernel logs (5.9):

Jan  1 23:26:21 esperia vmunix: [4.531110] psmouse serio1: synaptics: 
queried max coordinates: x [..5678], y [..4690]
Jan  1 23:26:21 esperia vmunix: [4.560885] psmouse serio1: synaptics: 
queried min coordinates: x [1266..], y [1160..]
Jan  1 23:26:21 esperia vmunix: [4.560889] psmouse serio1: synaptics: Your 
touchpad (PNP: LEN0402 

Bug#897936: libvirt-daemon-system should not depend on policykit-1

2020-12-23 Thread Gianluigi Tiesi
Package: libvirt-daemon-system
Followup-For: Bug #897936
X-Debbugs-Cc: sher...@netfarm.it

Please downgrade policykit-1 to recommends,
for root managed only runs without problems

I've used equivs to make a fake policykit-1 package


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-13-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libvirt-daemon-system depends on:
ii  adduser  3.118
ii  debconf [debconf-2.0]1.5.74
ii  gettext-base 0.21-3
pn  iptables | firewalld 
ii  libc62.31-6
ii  libgcc-s110.2.1-1
ii  libglib2.0-0 2.66.4-1
pn  libvirt-clients  
pn  libvirt-daemon   
pn  libvirt-daemon-system-systemd | libvirt-daemon-system-s  
pn  libvirt0 
ii  libxml2  2.9.10+dfsg-6.3+b1
pn  logrotate
pn  policykit-1  

Versions of packages libvirt-daemon-system recommends:
pn  dmidecode 
pn  dnsmasq-base  
ii  iproute2  5.10.0-1
pn  mdevctl   
pn  parted

Versions of packages libvirt-daemon-system suggests:
pn  apparmor
pn  auditd  
pn  nfs-common  
pn  open-iscsi  
pn  pm-utils
pn  radvd   
pn  systemd 
pn  systemtap   
pn  zfsutils



Bug#968101: init script is broken and does not correctly shutdown squid

2020-08-08 Thread Gianluigi Tiesi
Package: squid
Severity: important

Hi,

in the initscript I see:

PIDFILE=/run/NAME.pid

it should be $NAME.pid or squid.pid

Regards


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-10-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages squid depends on:
ii  adduser  3.118
ii  libc62.31-3
ii  libcap2  1:2.42-2
ii  libcom-err2  1.45.6-1
ii  libcrypt11:4.4.16-1
ii  libdb5.3 5.3.28+dfsg1-0.6
ii  libdbi-perl  1.643-2
pn  libecap3 
ii  libexpat12.2.9-1
ii  libgcc-s110.2.0-3
ii  libgnutls30  3.6.14-2+b1
ii  libgssapi-krb5-2 1.17-10
ii  libkrb5-31.17-10
ii  libldap-2.4-22.4.50+dfsg-1+b1
ii  libltdl7 2.4.6-14
pn  libnetfilter-conntrack3  
ii  libnettle8   3.6-2
ii  libpam0g 1.3.1-5
ii  libsasl2-2   2.1.27+dfsg-2
ii  libstdc++6   10.2.0-3
ii  libsystemd0  246-2
ii  libxml2  2.9.10+dfsg-5+b1
pn  logrotate
ii  lsb-base 11.1.0
ii  netbase  6.1
pn  squid-common 

Versions of packages squid recommends:
ii  ca-certificates  20200601
ii  libcap2-bin  1:2.42-2

Versions of packages squid suggests:
pn  apparmor 
pn  resolvconf   
pn  smbclient
pn  squid-cgi
pn  squid-purge  
pn  squidclient  
pn  ufw  
pn  winbind  



Bug#868220: ifupdown should support vlan-aware bridges

2020-06-02 Thread Gianluigi Tiesi
Package: bridge-utils
Followup-For: Bug #868220

Looks like bridge-utils already does it in:
/lib/bridge-utils/ifupdown.sh

# Activate VLAN filtering on VLAN aware bridges
  if [ "$IF_BRIDGE_VLAN_AWARE" = "yes" ]; then
ip link set dev $IFACE type bridge vlan_filtering 1
  else
ip link set dev $IFACE type bridge vlan_filtering 0
  fi


the problem is I get operation not supported when setting vlan_filtering 0
on my bridge, does the else really make sense here?


Regards


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages bridge-utils depends on:
ii  libc6  2.30-8

bridge-utils recommends no packages.

Versions of packages bridge-utils suggests:
ii  ifupdown  0.8.35+b1



Bug#943949: localepurge should never dpkg-exclude /usr/share/aptitude/help.txt (also mine-help.txt)

2019-11-01 Thread Gianluigi Tiesi
Package: localepurge
Version: 0.7.3.8
Severity: wishlist

Currently localepurge dpkg-exclude-s /usr/share/aptitude/help.txt
(I suppose if english locale is not selected)

I think it should be never excluded like normal man pages,
without that file aptitude is unable to display help
using ? key

Regards



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages localepurge depends on:
ii  debconf [debconf-2.0]  1.5.73
ii  locales2.29-2
ii  perl   5.30.0-9
ii  procps 2:3.3.15-2+b1
ii  ucf3.0038+nmu1

localepurge recommends no packages.

Versions of packages localepurge suggests:
pn  bleachbit  
pn  debfoster  
ii  deborphan  1.7.32

-- debconf information:
* localepurge/none_selected: true
  localepurge/verbose: false
  localepurge/remove_no:
* localepurge/nopurge: en_US.UTF-8
  localepurge/dontbothernew: true
* localepurge/mandelete: true
  localepurge/showfreedspace: true
* localepurge/use-dpkg-feature: true
  localepurge/quickndirtycalc: false



Bug#940713: please set memory.use_hierarchy=1 in mount script

2019-09-19 Thread Gianluigi Tiesi
Package: cgroupfs-mount
Severity: wishlist


Hi,
I'm using lxc that warns about use_hierarchy not being enabled
for memory cgroup:

You can find some infos in report like this:
https://github.com/lxc/lxc/issues/236


I've added the following code before exit in /usr/bin/cgroupfs-mount

if [ -e /sys/fs/cgroup/memory/memory.use_hierarchy ]; then
echo 1 > /sys/fs/cgroup/memory/memory.use_hierarchy
fi


systemd already setups in a suitable way the memory cgroup

Thanks
Regards



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages cgroupfs-mount depends on:
ii  lsb-base  11.1.0

cgroupfs-mount recommends no packages.

cgroupfs-mount suggests no packages.



Bug#934454: Exception: 'NoneType' object has no attribute 'dependencies' if a package is disabled by pinning

2019-08-11 Thread Gianluigi Tiesi
Package: unattended-upgrades
Version: 1.11.2
Severity: important

I've just upgraded to buster and /usr/bin/unattended-upgrade now fails with an 
error:

Exception: 'NoneType' object has no attribute 'dependencies'


the problem is in transitive_dependencies():

for dep in pkg.candidate.dependencies:


pkg.candidate is None when the package is systemd (uninstalled).

I have /etc/apt/preferences.d/systemd as follow:

Package: systemd
Pin: release *
Pin-Priority: -1

version in stretch of the package was working fine


I've added:

if pkg.candidate is None:
return acc


before the for-loop

Regards


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages unattended-upgrades depends on:
ii  debconf [debconf-2.0]  1.5.73
ii  lsb-base   10.2019051400
ii  lsb-release10.2019051400
ii  python33.7.3-1
ii  python3-apt1.8.4
pn  python3-dbus   
pn  python3-distro-info
ii  ucf3.0038+nmu1
ii  xz-utils   5.2.4-1

Versions of packages unattended-upgrades recommends:
ii  cron [cron-daemon]  3.0pl1-134

Versions of packages unattended-upgrades suggests:
pn  bsd-mailx   
pn  default-mta | mail-transport-agent  
ii  needrestart 3.4-5
pn  powermgmt-base  
pn  python3-gi  



Bug#933802: /usr/bin/mandb: SIGSEGV, Segmentation fault on updating database.

2019-08-03 Thread Gianluigi Tiesi
2.8.5-2 works fine, 2.8.6 does not expose always the problem, and doing 
an update with 2.8.6 after a successful cache creation by 2.8.5, does 
not crashes mandb


--
Gianluigi Tiesi 
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#928096: systemd does not play well with nfs root - unable to shutdown/reboot

2019-06-05 Thread Gianluigi Tiesi

On 6/5/19 12:01 PM, Luca Boccassi wrote:

On Wed, 2019-06-05 at 11:56 +0200, Gianluigi Tiesi wrote:

On 4/28/19 8:14 PM, Luca Boccassi wrote:

If you have tried with debian live iso too, I don't think this has
anything to do with live-build?


Isn't debian live iso made using live-build?
Unfortunately I was not able to make a non systemd live iso


It does not, it uses live-wrapper. Did you see this problem with
official debian live images? Or custom-built with live-build?



Both, but a build (live-build) made some days before reporting the bug 
was working


--
Gianluigi Tiesi 
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#928096: systemd does not play well with nfs root - unable to shutdown/reboot

2019-06-05 Thread Gianluigi Tiesi

On 4/28/19 8:14 PM, Luca Boccassi wrote:

If you have tried with debian live iso too, I don't think this has
anything to do with live-build?


Isn't debian live iso made using live-build?
Unfortunately I was not able to make a non systemd live iso


--
Gianluigi Tiesi 
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#930019: default-jre wants to uninstall sysvinit-core to install systemd

2019-06-05 Thread Gianluigi Tiesi
Package: default-jre
Version: 2:1.11-71
Severity: important

I've just installed buster and I'm using sysvinit-core instead of systemd,
when I ask to install default-jre (without recommends) apt-get asks me
to remove sysvinit-core and install systemd.

Blacklisting systemd with apt pinning makes apt-get to install default-jre
without touching sysvinit-core, but not always.

Once I've got this error:

The following packages have unmet dependencies:
 default-jre : Depends: openjdk-11-jre but it is not going to be installed

Regards


-- System Information:
Debian Release: 10.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages default-jre depends on:
ii  default-jre-headless  2:1.11-71
pn  openjdk-11-jre

default-jre recommends no packages.

default-jre suggests no packages.



Bug#928096: systemd does not play well with nfs root - unable to shutdown/reboot

2019-04-27 Thread Gianluigi Tiesi
Package: live-build
Version: 1:20190311
Severity: normal

Hi, I'm playing with images using nfs root, my host is debian sid amd64,
I build images for buster amd64

I'm using qemu:

kvm \
-m 2048 \
-vga qxl \
-serial stdio \
-usb -device usb-tablet \
-soundhw hda \
-netdev 
user,id=net0,host=192.168.76.1,net=192.168.76.0/24,dhcpstart=192.168.76.9 \
-device e1000,netdev=net0 \
-drive file=disk.img,if=ide,format=qcow2 \
-kernel binary/live/vmlinuz \
-initrd binary/live/initrd.img \
-append "boot=live persistence components netboot=nfs locales=it_IT.UTF-8 
nfsroot=192.168.76.1:/home/sherpya/live-default/binary console=ttyS0,115200 
console=tty"


/etc/exports:

/home/sherpya/live-default/binary 
*(ro,async,no_root_squash,no_subtree_check,insecure)

The system works fine but I'm unable to shutdown or reboot:

[  OK  ] Reached target Reboot.
[   72.684441] systemd-shutdow: 51 output lines suppressed due to ratelimiting
[   77.162859] nfs: server 192.168.76.1 not responding, still trying
[   77.164759] nfs: server 192.168.76.1 not responding, still trying
[   77.170156] nfs: server 192.168.76.1 not responding, still trying
[  116.073320] systemd-journald[517]: Failed to send WATCHDOG=1 notification 
message: Connection refused
[  236.055922] systemd-journald[517]: Failed to send WATCHDOG=1 notification 
message: Transport endpoint is not connected
[  242.509427] INFO: task systemd-shutdow:1 blocked for more than 120 seconds.
[  242.513657]   Not tainted 4.19.0-4-amd64 #1 Debian 4.19.28-2
[  242.516653] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[  242.520144] systemd-shutdow D0 1  0 0x
[  242.522682] Call Trace:
[  242.523495]  ? __schedule+0x2a2/0x870
[  242.524414]  schedule+0x28/0x80
[  242.525263]  io_schedule+0x12/0x40
[  242.526140]  __lock_page_or_retry+0x305/0x340
[  242.527137]  ? page_cache_tree_insert+0xe0/0xe0
[  242.528157]  filemap_fault+0x18d/0x770
[  242.529136]  ? alloc_set_pte+0x494/0x560
[  242.530229]  ? filemap_map_pages+0x139/0x3a0
[  242.531329]  ext4_filemap_fault+0x2c/0x40 [ext4]
[  242.532422]  __do_fault+0x36/0x130
[  242.533341]  __handle_mm_fault+0xe6f/0x1280
[  242.534325]  ? isolate_lru_page+0x1c7/0x260
[  242.535299]  handle_mm_fault+0xda/0x200
[  242.536332]  __get_user_pages+0x240/0x6d0
[  242.537369]  populate_vma_page_range+0x6d/0x70
[  242.538413]  __mm_populate+0x9d/0x140
[  242.539315]  __x64_sys_mlockall+0xf1/0x180
[  242.540298]  do_syscall_64+0x53/0x100
[  242.541210]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  242.542361] RIP: 0033:0x7ff5f7803717
[  242.543360] Code: Bad RIP value.
[  242.544234] RSP: 002b:7ffea0b288f8 EFLAGS: 0246 ORIG_RAX: 
0097
[  242.545776] RAX: ffda RBX:  RCX: 7ff5f7803717
[  242.547204] RDX: 0007 RSI: 55b0fbbd028e RDI: 0003
[  242.548865] RBP: 55b0fbbd3420 R08: 021f R09: 55b0fd399290
[  242.550633] R10:  R11: 0246 R12: 
[  242.553432] R13: 7ffea0b28c80 R14:  R15: 
[  296.047709] systemd-journald[517]: Failed to send WATCHDOG=1 notification 
message: Transport endpoint is not connected

In a previous build (some days ago) it was working.
I have the same problem using files from debian live iso

I suppose the system cannot shutdown ethernet if the root is on nfs, and nfs 
live mount cannot
be unmounted.

I've seen around someone suggesting to make systemd ignore interface shutdown 
problems


-- Package-specific info:

-- System Information:
Debian Release: 10.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages live-build depends on:
ii  debootstrap  1.0.114

Versions of packages live-build recommends:
ii  apt-utils   1.8.0
ii  bzip2   1.0.6-9
ii  cpio2.12+dfsg-9
ii  file1:5.35-4
pn  live-boot-doc   
pn  live-config-doc 
pn  live-manual-html | live-manual  
ii  wget1.20.1-1.1
ii  xz-utils5.2.4-1

Versions of packages live-build suggests:
ii  e2fsprogs  1.45.0-1
pn  mtd-utils  
pn  parted 

-- no debconf information



Bug#924617: update to new upstream (0.74)

2019-03-14 Thread Gianluigi Tiesi
Source: poppler
Severity: normal

I'm using calibre and I get a lot of problems when converting pdf files,
or files that use pdf as intermediate format.

the problem is fixed in this commit:


commit 903983bbd921a5139e3cd6de227b571870c764d8
Author: Greg Knight 
Date:   Sun Nov 25 15:47:18 2018 -0500

gooString::fromInt: Repair the return value.
formatInt renders from "right to left" and returns the position of
the most significant digit in 'p' - which is not generally equal to
'buf' in the case of GooString::fromInt (unless you're rendering a
24-digit number.)

This repairs several issues in pdftohtml


to fix my problem this commit is enough but I believe there are other
fixes too

Regards



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



Bug#915361: udev refuses to start with sysvinit because it misdetects a container

2018-12-02 Thread Gianluigi Tiesi
Package: udev
Severity: grave

After upgrading kernel from 4.18.0-2 to 4.18.0-3 udev refuses to start if using 
sysvinit scripts

if [ -w /sys ]; then
  log_warning_msg "udev does not support containers, not started"
  exit 0
fi

/sys is mounted rw and it misdetects a container


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages udev depends on:
ii  adduser  3.118
ii  libacl1  2.2.52-3+b1
ii  libblkid12.32.1-0.2
ii  libc62.28-1
pn  libkmod2 
ii  libselinux1  2.8-1+b1
ii  libudev1 239-14
ii  lsb-base 10.2018112800
ii  util-linux   2.32.1-0.2

udev recommends no packages.

udev suggests no packages.



Bug#866124: closed by Ondřej Surý (Bug#866124: fixed in cyrus-imapd 2.5.11-1)

2018-10-02 Thread Gianluigi Tiesi

On 10/02/2018 11:09 AM, Debian Bug Tracking System wrote:

This is an automatic notification regarding your Bug report
which was filed against the src:cyrus-imapd package:

#866124: cyrus childs exit after 5-6 seconds of activity

It has been closed by Ondřej Surý .

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Ondřej Surý 
 by
replying to this email.




Hi,

specifically fixed in 
https://github.com/cyrusimap/cyrus-imapd/commit/865199dce1291c612c5b5f3f5957b7800ba863b9


Will be included in stable?

Regards

--
Gianluigi Tiesi 
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#908955: /usr/lib/libglide3.so.3: undefined symbol: __LINE__

2018-09-16 Thread Gianluigi Tiesi
Package: libglide3
Version: 2002.04.10ds1-12
Severity: grave


I known no one has such a card to test it, but I've just got one
compiling xdraw3.o with -fdollars-in-identifiers causes __LINE__ to became
an undefined symbol even if specifying -x assembler-with-cpp
because is used as $__LINE__


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libglide3 depends on:
ii  debconf [debconf-2.0]  1.5.69
ii  libc6  2.27-6
ii  libx11-6   2:1.6.6-1
ii  libxext6   2:1.3.3-1+b2
ii  libxxf86dga1   2:1.1.4-1+b3
ii  libxxf86vm11:1.1.4-1+b2
pn  pciutils   

libglide3 recommends no packages.

libglide3 suggests no packages.



Bug#908396: firefox-esr: stopped working after upgrade from 59 to 60

2018-09-16 Thread Gianluigi Tiesi
Package: firefox-esr
Version: 60.2.0esr-1
Followup-For: Bug #908396

I get illegal instruction on AMD Duron 900 mhz

flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow 3dnowprefetch vmmcall


crashes here:

0xb354526f  movsd  -0x18(%ebp),%xmm0

looks like an sse/sse2 instruction

if it's not possible to fix, I would suggest at least a note in the readme

Regards


-- Package-specific info:

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages firefox-esr depends on:
ii  debianutils   4.8.6
ii  fontconfig2.13.0-5
ii  libatk1.0-0   2.30.0-1
ii  libc6 2.27-6
ii  libcairo-gobject2 1.15.12-1
ii  libcairo2 1.15.12-1
ii  libdbus-1-3   1.12.10-1
ii  libdbus-glib-1-2  0.110-3
ii  libevent-2.1-62.1.8-stable-4
ii  libffi6   3.2.1-8
ii  libfontconfig12.13.0-5
ii  libfreetype6  2.8.1-2
ii  libgcc1   1:8.2.0-6
ii  libgdk-pixbuf2.0-02.38.0+dfsg-5
ii  libglib2.0-0  2.58.0-3
ii  libgtk-3-03.24.0-3
ii  libhunspell-1.6-0 1.6.2-1+b1
ii  libjsoncpp1   1.7.4-3
ii  libnspr4  2:4.20-1
ii  libnss3   2:3.39-1
ii  libpango-1.0-01.42.4-3
ii  libsqlite3-0  3.25.0-1
ii  libstartup-notification0  0.12-5
ii  libstdc++68.2.0-6
ii  libvpx5   1.7.0-3
ii  libx11-6  2:1.6.6-1
ii  libx11-xcb1   2:1.6.6-1
ii  libxcb-shm0   1.13-3
ii  libxcb1   1.13-3
ii  libxcomposite11:0.4.4-2
ii  libxdamage1   1:1.1.4-3
ii  libxext6  2:1.3.3-1+b2
ii  libxfixes31:5.0.3-1
ii  libxrender1   1:0.9.10-1
ii  libxt61:1.1.5-1
ii  procps2:3.3.15-2
ii  zlib1g1:1.2.11.dfsg-1

Versions of packages firefox-esr recommends:
ii  libavcodec57  7:3.4.3-1
ii  libavcodec58  7:4.0.2-1+b1

Versions of packages firefox-esr suggests:
ii  fonts-lmodern  2.004.5-5
pn  fonts-stix | otf-stix  
ii  libcanberra0   0.30-6
ii  libgssapi-krb5-2   1.16-2
ii  libgtk2.0-02.24.32-3

-- no debconf information



Bug#903800: linux-image-4.9.0-7-amd64: general protection fault / kernel panic at boot

2018-07-15 Thread Gianluigi Tiesi
Source: linux
Version: 4.9.110-1
Followup-For: Bug #903800

I have same problems but on dum0, server reboots forever, by adding
no reboot the screen goes black just after the hypervisor loads (instead of
reboot)

This happens on i7-2600 and i7-4770

4.9.0-6 worked fine

I've also upgraded bios but same results



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-7-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



Bug#893562: please add -static-libstdc++ and -static-libgcc to target

2018-03-19 Thread Gianluigi Tiesi
Package: gdb-mingw-w64-target
Version: 10.5
Severity: wishlist

Hi, it would be nice to have libgcc and libstdc++ static linked on
the target gdbserver, it's more easy to debug without two additional
dll, I've added:

-static-libstdc++ -static-libgcc

to

DEB_LDFLAGS_MAINT_APPEND

the executable size is increased by rougly 100-200k

Regards



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



Bug#890726: Acknowledgement (please apply pr 69506 to fix link with --image-base,0x140000000)

2018-02-17 Thread Gianluigi Tiesi

link to the complete patch:

https://github.com/gcc-mirror/gcc/commit/f47fc7ef7f52cd095e636d4f93cca052427f3f0a.patch

--
Gianluigi Tiesi <sher...@netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#890726: please apply pr 69506 to fix link with --image-base,0x140000000

2018-02-17 Thread Gianluigi Tiesi
Package: g++-mingw-w64-x86-64
Version: 7.2.0-20+20.2
Severity: wishlist
Tags: upstream patch

While compiling ffmpeg for x86_64 I get undefined symbols to some itm functions

ffmpeg ticket:

https://trac.ffmpeg.org/ticket/5895


gcc bug:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69506

I've attached the patch

Regards



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages g++-mingw-w64-x86-64 depends on:
pn  gcc-mingw-w64-base
pn  gcc-mingw-w64-x86-64  
ii  libc6 2.26-6
ii  libgcc1   1:8-20180207-2
ii  libgmp10  2:6.1.2+dfsg-2
ii  libisl15  0.18-1
ii  libmpc3   1.1.0-1
ii  libmpfr6  4.0.1-1
ii  libstdc++68-20180207-2
ii  zlib1g1:1.2.8.dfsg-5

g++-mingw-w64-x86-64 recommends no packages.

Versions of packages g++-mingw-w64-x86-64 suggests:
pn  gcc-7-locales  
--- a/src/libstdc++-v3/config/os/mingw32-w64/os_defines.h   2018-02-18 
04:15:06.958285232 +0100
+++ b/src/libstdc++-v3/config/os/mingw32-w64/os_defines.h   2018-02-18 
04:15:09.474273133 +0100
@@ -76,6 +76,8 @@
 
 #ifdef __x86_64__
 #define _GLIBCXX_LLP64 1
+// See libstdc++/69506
+#define _GLIBCXX_USE_WEAK_REF 0
 #endif
 
 // Enable use of GetModuleHandleEx (requires Windows XP/2003) in


Bug#890092: Info received (Bug#890092: Acknowledgement (i386 libgcc and libstdc++ illegal instruction on i586))

2018-02-10 Thread Gianluigi Tiesi

upstream bug:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84148


--
Gianluigi Tiesi <sher...@netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#890092: Acknowledgement (i386 libgcc and libstdc++ illegal instruction on i586)

2018-02-10 Thread Gianluigi Tiesi

More infos:

Program received signal SIGILL, Illegal instruction.
__cpu_indicator_init () at ../../../src/libgcc/config/i386/cpuinfo.c:324


0xb7bf4390 <__cpu_indicator_init>   repz nop %ebx 
  0xb7bf4394 
<__cpu_indicator_init+4> push   %ebp 
   0xb7bf4395 
<__cpu_indicator_init+5> call   0xb7bf4af7 <__x86.get_pc_thunk.bp> 
   0xb7bf439a 
<__cpu_indicator_init+10>    add$0x1ac66,%ebp




--
Gianluigi Tiesi <sher...@netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#890092: i386 libgcc and libstdc++ illegal instruction on i586

2018-02-10 Thread Gianluigi Tiesi
Source: gcc-8
Severity: important

I don't known if debian i386 supposed to drop i586 cpu
(I already had problems with the kernel) but
gcc-8 build of libgcc and libstd++ are not working on my geode
I get illegal instructions while executing e.g. apt,
revering back both libs to gcc7, made apt work again.

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 5
model   : 10
model name  : Geode(TM) Integrated Processor by AMD PCS
stepping: 2
cpu MHz : 498.044
cache size  : 128 KB
fdiv_bug: no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu de pse tsc msr cx8 sep pge cmov clflush mmx mmxext 
3dnowext 3dnow cpuid 3dnowprefetch vmmcall
bugs: sysret_ss_attrs spectre_v1 spectre_v2
bogomips: 996.08
clflush size: 32
cache_alignment : 32
address sizes   : 32 bits physical, 32 bits virtual

Regards


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



Bug#886591: 4.9.0-5 (after kaiser patch) breaks xen pvh

2018-01-08 Thread Gianluigi Tiesi

On 01/08/2018 10:47 AM, Hans van Kranenburg wrote:

tags 886491 + wontfix
tags 886591 + wontfix
thanks

On 01/07/2018 11:28 PM, Hans van Kranenburg wrote:


Thanks for your report. This does not render the complete package
unusable for any user.


The answer from upstream Xen to this is:

https://lists.xenproject.org/archives/html/xen-devel/2018-01/msg00540.html

So, breakage is expected and it's not going to be fixed.

Hans van Kranenburg



perhaps it does not work even with pti=off

--
Gianluigi Tiesi <sher...@netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#886591: 4.9.0-5 (after kaiser patch) breaks xen pvh

2018-01-07 Thread Gianluigi Tiesi
Package: linux-image-4.9.0-5-amd64
Version: 4.9.65-3+deb9u2
Severity: grave

I've updated kernel to new version in stretch linux-image-4.9.0-5-amd64 
(4.9.65-3+deb9u2)
and pvh-enabled xen domain are refusing to start.

Nothing useful in the log, it just says the domain crashes

Waiting for domain xen3 (domid 2) to die [pid 5488]
Domain 2 has shut down, reason code 3 0x3
Action for shutdown reason code 3 is destroy
Domain 2 needs to be cleaned up: destroying the domain
Done. Exiting now

without pvh = 1 or with previous linux-image-4.9.0-4-amd64 (4.9.65-3) it works 
fine

relevant xen domain config:

device_model_version = 'none'
kernel  = '/boot/vmlinuz-4.9.0-4-amd64'
extra   = 'elevator=noop'
ramdisk = '/boot/initrd.img-4.9.0-4-amd64'
vcpus   = '8'
memory  = '4096'
pvh = 1

(or /boot/vmlinuz-4.9.0-5-amd64 when trying new kernel)


Regards



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



Bug#851066: flashplugin-nonfree: Mismatch between detected and available versions (Download file not available at people.debian.org)

2017-12-12 Thread Gianluigi Tiesi
Package: flashplugin-nonfree
Followup-For: Bug #851066

please use the attached script, it gets and parses vesion directly without sha 
or checksums
#!/bin/sh

# Copyright (C) 2006-2014 Bart Martens 
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see .

set -e

return_0() {
return 0
}

trap "return_0" 0

die_hard() {
echo "ERROR: $1" >&2
echo "More information might be available at:" >&2
echo "  http://wiki.debian.org/FlashPlayer; >&2
exit 1
}

[ `whoami` = "root" ] || die_hard "must be root"

show_usage() {
echo "Usage:"
echo "  update-flashplugin-nonfree --install"
echo "  update-flashplugin-nonfree --uninstall"
echo "  update-flashplugin-nonfree --status"
echo "Additional options:"
echo "  --verbose"
echo "  --quiet"
exit 1
}

getopt_temp=`getopt -o iusfvqn --long 
install,uninstall,status,fast,verbose,quiet -n 'update-flashplugin-nonfree' -- 
"$@"` || show_usage
eval set -- "$getopt_temp" || show_usage

ACTION=none
fast=no
verbose=no
quiet=no

GREP_OPTIONS=

if [ -e /proc/cpuinfo ]
then
hassse2=yes
grep -q "^flags.*: .* sse2 " /proc/cpuinfo || grep -q "^flags.*: .* 
sse2$" /proc/cpuinfo || hassse2=no
else
hassse2=unknown
fi

while [ true ]
do
case "$1" in
-i|--install)
ACTION="--install"
shift
;;
-u|--uninstall)
ACTION="--uninstall"
shift
;;
-s|--status)
ACTION="--status"
shift
;;
-f|--fast)
fast=yes
shift
;;
-v|--verbose)
verbose=yes
shift
;;
-q|--quiet)
quiet=yes
shift
;;
--)
shift
break
;;
*)
echo "Internal error!" >&2
exit 1
;;
esac
done

[ "$ACTION" != "none" -a $# -eq 0 ] || show_usage
[ "$quiet" != "yes" ] || verbose=no

[ "$verbose" != "yes" ] || echo "options : $getopt_temp"

UNPACKDIR=`mktemp -d /tmp/flashplugin-nonfree.XX` || die_hard "mktemp 
failed"
echo "$UNPACKDIR" | grep -q "^/tmp/flashplugin-nonfree\." || die_hard "paranoia"
cd "$UNPACKDIR" || die_hard "cd failed"

[ "$verbose" != "yes" ] || echo "temporary directory: $UNPACKDIR"

do_cleanup() {
[ "$verbose" != "yes" ] || echo "cleaning up temporary directory 
$UNPACKDIR ..."
cd /
echo "$UNPACKDIR" | grep -q "^/tmp/flashplugin-nonfree\." || die_hard 
"paranoia"
rm -rf "$UNPACKDIR"
}

die_hard_with_a_cleanup() {
return_0
do_cleanup
die_hard "$1"
}

trap "die_hard_with_a_cleanup interrupted" INT

fix_missing_symlink() {

LANG=C update-alternatives --display flash-mozilla.so > /dev/null 2>&1 \
|| return 0

LANG=C update-alternatives --display flash-mozilla.so \
| grep -q "link currently absent" \
|| return 0

[ "$verbose" != "yes" ] || echo "link currently absent, trying to fix"

update-alternatives --auto flash-mozilla.so > /dev/null 2>&1 || true
}

warning_about_alternatives() {

letswarn="no"
LANG=C update-alternatives --display flash-mozilla.so \
| grep "link currently points to 
/usr/lib/flashplugin-nonfree/libflashplayer.so" \
> /dev/null 2>&1 || \
cat <<-EOF

How to use predefined priorities to
automatically select one implementation of "flash"
between the multiple installed alternatives :

update-alternatives --auto flash-mozilla.so

How to manually select one implementation of "flash"
between the multiple installed alternatives :

update-alternatives --config flash-mozilla.so

EOF
}

cachedir=/var/cache/flashplugin-nonfree

wgetquiet=' -nv -q '
wgetfast='-t 3 -T 15 '
wgetalways=' -nd -P . '
wgetprogress=' -v --progress=dot:default '

[ "$verbose" != "yes" ] 

Bug#878866: Debian bug #878866 usbip - does mass storage work for you ?

2017-12-04 Thread Gianluigi Tiesi

On 12/02/2017 07:30 PM, borissh1...@gmail.com wrote:

Hi,

I have noticed that when I used the suggested port number 4 , I'm getting an
oops on mass storage devices.

Does mass storage devices work on your setup with usbip (https://
bugs.debian.org/cgi-bin/bugreport.cgi?bug=883345) ?



It oops also on my box, I doubt it works with debian config, I suppose 
this driver is not much used/tested, it works fine for my with an usb 
serial device



--
Gianluigi Tiesi <sher...@netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#878866: Debian bug #878866 usbip - does mass storage work for you ?

2017-12-04 Thread Gianluigi Tiesi

On 12/02/2017 07:30 PM, borissh1...@gmail.com wrote:

Hi,

I have noticed that when I used the suggested port number 4 , I'm getting an
oops on mass storage devices.

Does mass storage devices work on your setup with usbip (https://
bugs.debian.org/cgi-bin/bugreport.cgi?bug=883345) ?



more infos:

[ 1102.862905] kernel BUG at drivers/usb/usbip/vhci_hcd.c:683!
[ 1102.862925] invalid opcode:  [#1] SMP
[ 1102.862929] Modules linked in: uas usb_storage vhci_hcd usbip_core 
ctr ccm cpufreq_userspace cpufreq_powersave cpufreq_conservative 
pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) bnep 
bbswitch(O) binfmt_misc snd_hda_codec_conexant snd_hda_codec_generic 
fuse intel_rapl arc4 x86_pkg_temp_thermal intel_powerclamp iwldvm 
coretemp iTCO_wdt btusb mac80211 iTCO_vendor_support btrtl kvm_intel 
wmi_bmof uvcvideo btbcm kvm btintel cdc_mbim irqbypass bluetooth 
videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 drbg videobuf2_core 
iwlwifi crct10dif_pclmul cdc_ncm snd_hda_intel crc32_pclmul videodev 
ansi_cprng snd_hda_codec cdc_acm cdc_wdm usbnet ghash_clmulni_intel 
media snd_hda_core ecdh_generic mii i915 snd_hwdep cfg80211 
thinkpad_acpi snd_pcm evdev intel_cstate nvram snd_timer drm_kms_helper 
joydev
[ 1102.863026]  intel_uncore mei_me snd drm lpc_ich intel_rapl_perf 
soundcore i2c_algo_bit pcspkr shpchp sg mei serio_raw mfd_core rfkill ac 
video battery wmi button tpm_rng rng_core tun loop nfsd firewire_sbp2 
auth_rpcgss nfs_acl lockd grace parport_pc sunrpc ppdev lp parport 
ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 fscrypto ecb raid10 
raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor 
raid6_pq libcrc32c crc32c_generic raid1 raid0 multipath linear md_mod 
dm_mirror dm_region_hash dm_log dm_mod sd_mod hid_logitech_hidpp 
hid_logitech_dj usbhid hid crc32c_intel ahci libahci aesni_intel 
aes_x86_64 crypto_simd cryptd glue_helper libata xhci_pci scsi_mod 
psmouse sdhci_pci ehci_pci xhci_hcd ehci_hcd sdhci i2c_i801 
firewire_ohci firewire_core mmc_core crc_itu_t e1000e usbcore ptp

[ 1102.863141]  usb_common pps_core thermal
[ 1102.863152] CPU: 6 PID: 2498 Comm: usb-storage Tainted: G   O 
   4.14.2 #1
[ 1102.863155] Hardware name: LENOVO 4276CTO/4276CTO, BIOS 8BET62WW 
(1.42 ) 07/26/2013

[ 1102.863160] task: 9317e66d1040 task.stack: aa39012fc000
[ 1102.863174] RIP: 0010:vhci_urb_enqueue+0x2e8/0x4c0 [vhci_hcd]
[ 1102.863178] RSP: 0018:aa39012ffb58 EFLAGS: 00010206
[ 1102.863183] RAX: 0024 RBX: 931830c35000 RCX: 
9317d8418098
[ 1102.863187] RDX: 0140 RSI: 93180eb28c00 RDI: 
931830c35000
[ 1102.863190] RBP: aa39012ffbb8 R08: 0024 R09: 

[ 1102.863193] R10:  R11: fa1108cd5060 R12: 
0001
[ 1102.863197] R13: 93173e8c7860 R14: 0001 R15: 
93180eb28c00
[ 1102.863201] FS:  () GS:93183e38() 
knlGS:

[ 1102.863205] CS:  0010 DS:  ES:  CR0: 80050033
[ 1102.863208] CR2: 7fc00e8ee020 CR3: 76e09006 CR4: 
000606e0

[ 1102.863213] Call Trace:
[ 1102.863229]  ? __schedule+0x296/0x880
[ 1102.863257]  usb_hcd_submit_urb+0xad/0xb50 [usbcore]
[ 1102.863265]  ? schedule+0x2c/0x80
[ 1102.863287]  usb_submit_urb+0x22d/0x560 [usbcore]
[ 1102.863306]  ? usb_alloc_urb+0x19/0x50 [usbcore]
[ 1102.863326]  usb_sg_wait+0xa0/0x190 [usbcore]
[ 1102.863336]  usb_stor_bulk_transfer_sglist.part.1+0x67/0xc0 [usb_storage]
[ 1102.863344]  usb_stor_bulk_srb+0x4b/0x80 [usb_storage]
[ 1102.863351]  usb_stor_Bulk_transport+0x175/0x400 [usb_storage]
[ 1102.863357]  ? schedule+0x2c/0x80
[ 1102.863365]  usb_stor_invoke_transport+0x3b/0x520 [usb_storage]
[ 1102.863374]  ? wait_for_completion_interruptible+0x175/0x1d0
[ 1102.863380]  ? wake_up_q+0x80/0x80
[ 1102.863388]  usb_stor_transparent_scsi_command+0xe/0x10 [usb_storage]
[ 1102.863395]  usb_stor_control_thread+0x1c7/0x280 [usb_storage]
[ 1102.863404]  kthread+0x125/0x140
[ 1102.863411]  ? usb_stor_disconnect+0xc0/0xc0 [usb_storage]
[ 1102.863418]  ? kthread_create_on_node+0x70/0x70
[ 1102.863424]  ret_from_fork+0x25/0x30
[ 1102.863429] Code: f1 48 89 fa 48 c7 c6 40 fe b3 c0 48 c7 c7 20 1e b4 
c0 e8 8c bf e6 c3 e9 6f fd ff ff 41 8b 87 88 00 00 00 85 c0 0f 84 79 fd 
ff ff <0f> 0b 48 8b 7d d0 48 c7 c6 76 ed b3 c0 e8 96 39 fa c3 4c 89 fe
[ 1102.863506] RIP: vhci_urb_enqueue+0x2e8/0x4c0 [vhci_hcd] RSP: 
aa39012ffb58

[ 1102.863513] ---[ end trace f9a5d6bac7cf5a83 ]---

the relevant source code:


/* patch to usb_sg_init() is in 2.5.60 */
BUG_ON(!urb->transfer_buffer && urb->transfer_buffer_length);




--
Gianluigi Tiesi <sher...@netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#878866: usbip configuration is not usable

2017-10-17 Thread Gianluigi Tiesi
Package: linux-source-4.13
Version: 4.13.4-2
Severity: normal


Hi, the current debian configuration of usbip is unusable (client):

CONFIG_USBIP_CORE=m
CONFIG_USBIP_VHCI_HCD=m
CONFIG_USBIP_VHCI_HC_PORTS=31
CONFIG_USBIP_VHCI_NR_HCS=8
CONFIG_USBIP_HOST=m
CONFIG_USBIP_VUDC=m
# CONFIG_USBIP_DEBUG is not set

usbip attach fails with "too many ports" error.

I've lowerd to 4 ports and 1 host and it works,
the kernel default is 8 ports 1 host, but I think 4 is enough

Regards



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages linux-source-4.13 depends on:
ii  binutils  2.29.1-4
ii  xz-utils  5.2.2-1.3

Versions of packages linux-source-4.13 recommends:
ii  bc1.06.95-9+b3
ii  gcc   4:7.2.0-1d1
ii  libc6-dev [libc-dev]  2.24-17
ii  make  4.1-9.1

Versions of packages linux-source-4.13 suggests:
ii  libncurses5-dev [ncurses-dev]  6.0+20170902-1
pn  libqt4-dev 
ii  pkg-config 0.29-4+b1



Bug#876752: libllvm5.0: Can not install libllvm5.0:i386 from latest unstable

2017-09-28 Thread Gianluigi Tiesi
Package: libllvm5.0
Version: 1:5.0-2
Followup-For: Bug #876752

Hi according buildd the package is not buildable on many architectures:

https://buildd.debian.org/status/package.php?p=llvm-toolchain-5.0=sid

Dependency installability problem for llvm-toolchain-5.0 on i386:

llvm-toolchain-5.0 build-depends on:
- libctypes-ocaml-dev:i386
libctypes-ocaml-dev depends on missing:
- ocaml-nox-4.02.3:i386


I think it should depend on 4.05.0 if possible since
4.02.3 is gone

Regards


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libllvm5.0 depends on:
ii  libc6   2.24-17
ii  libedit23.1-20170329-1
ii  libffi6 3.2.1-6
ii  libgcc1 1:7.2.0-7
ii  libstdc++6  7.2.0-7
ii  libtinfo5   6.0+20170902-1
ii  zlib1g  1:1.2.8.dfsg-5

libllvm5.0 recommends no packages.

libllvm5.0 suggests no packages.



Bug#866124: cyrus childs exit after 50000-60000 seconds of activity

2017-06-27 Thread Gianluigi Tiesi
Source: cyrus-imapd
Version: 2.5.10-3
Severity: serious

Hi, I've already applied the patch I posted in #863520
but I still have problems, I use imaps and imap,
after a while many processes are dying with code 75, and
many (but not all) clients are not able to use anymore the
email until a cyrus restart.

In the log:

Jun 27 09:00:22 biancaneve cyrus/master[19953]: process type:SERVICE name:imaps 
path:/usr/lib/cyrus/bin/imapd age:626.757s pid:30998 exited, status 75
Jun 27 09:00:22 biancaneve cyrus/master[19953]: process type:SERVICE name:imaps 
path:/usr/lib/cyrus/bin/imapd age:626.745s pid:30999 exited, status 75
Jun 27 09:00:22 biancaneve cyrus/master[19953]: process type:SERVICE name:imaps 
path:/usr/lib/cyrus/bin/imapd age:148.294s pid:32671 exited, status 75
Jun 27 09:00:22 biancaneve cyrus/master[19953]: process type:SERVICE name:imaps 
path:/usr/lib/cyrus/bin/imapd age:147.282s pid:32672 exited, status 75
Jun 27 09:00:22 biancaneve cyrus/master[19953]: process type:SERVICE name:imaps 
path:/usr/lib/cyrus/bin/imapd age:146.002s pid:32674 exited, status 75
Jun 27 09:00:22 biancaneve cyrus/master[19953]: process type:SERVICE 
name:lmtpunix path:/usr/lib/cyrus/bin/lmtpd age:68.150s pid:32754 exited, 
status 75

(also imap)

and before:

Jun 27 09:00:22 biancaneve cyrus/imap[25084]: IDLE: error sending message DONE 
to idled for mailbox user.XXX Resource temporarily unavailable.

(distro is stretch, don't look at System Information)

Regards

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



Bug#863520: cyrus-imapd version 2.5.10-3 Fatal error with SSL

2017-06-26 Thread Gianluigi Tiesi
Source: cyrus-imapd
Followup-For: Bug #863520

I have also problems with imaps, attached patch fixes the reported
problem, but I still to restart cyrus everyday because clients
are not able to connect anymore to the server.

reference bug here https://github.com/cyrusimap/cyrus-imapd/issues/1872


Regards


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
commit a1c917df8de04e108228f38f0010498bec3d81e8
Author: Bron Gondwana 
Date:   Sun Apr 16 15:05:51 2017 +1000

tls: make sure we never try to do DB ops on a zero-length key

diff --git a/imap/tls.c b/imap/tls.c
index 68131d87d..05def8469 100644
--- a/imap/tls.c
+++ b/imap/tls.c
@@ -518,11 +518,13 @@ static int new_session_cb(SSL *ssl 
__attribute__((unused)),
/* store the session in our database */
 
session_id = SSL_SESSION_get_id(sess, _id_length);
-   do {
-   ret = cyrusdb_store(sessdb, (const char *) session_id,
-   session_id_length,
-   (const char *) data, len + sizeof(time_t), NULL);
-   } while (ret == CYRUSDB_AGAIN);
+if (session_id_length) {
+   do {
+   ret = cyrusdb_store(sessdb, (const char *) session_id,
+   session_id_length,
+   (const char *) data, len + sizeof(time_t), 
NULL);
+   } while (ret == CYRUSDB_AGAIN);
+}
 }
 
 free(data);
@@ -551,6 +553,7 @@ static void remove_session(const unsigned char *id, int 
idlen)
 assert(id);
 assert(idlen <= SSL_MAX_SSL_SESSION_ID_LENGTH);
 
+if (!idlen) return;
 if (!sess_dbopen) return;
 
 do {


Bug#846299: lighttpd depends on systemd

2016-11-29 Thread Gianluigi Tiesi
Source: lighttpd
Version: 1.4.43-1
Severity: serious

lighttpd 1.4.39-1 depends on lsb-base (>= 3.2-14) | systemd (>= 29.1)

while lighttpd 1.4.43-1 depends on lsb-base AND systemd,
is it intentional?

1.4.39-1 just works fine without systemd

Regards


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



Bug#802589: plasma-workspace: krunner dies with SIGSEGV

2015-11-21 Thread Gianluigi Tiesi
Source: plasma-workspace
Followup-For: Bug #802589

still unusable it crashes always, here a detailed backtrace with all symbols:

#0  0x7fffcea4aa2c in mdb_txn_renew0 (txn=txn@entry=0x7fff9800d050) at 
mdb.c:2512
#1  0x7fffcea4bcc4 in mdb_txn_begin (env=0x7fff90003750, parent=, flags=, ret=0x7fffa77fd8e8) at mdb.c:2740
#2  0x7fffcf0c2bfe in Baloo::SearchStore::exec(Baloo::Term const&, unsigned 
int, int, bool) (this=this@entry=0x7fffa77fd9d0, term=..., offset=0, limit=10, 
sortResults=) at ../../../src/lib/searchstore.cpp:74
#3  0x7fffcf0b1e62 in Baloo::Query::exec() (this=this@entry=0x7fffa77fda80) 
at ../../../src/lib/query.cpp:210
#4  0x7fffcf2d1f3f in SearchRunner::match(Plasma::RunnerContext&, QString 
const&, QString const&) (this=this@entry=0x2524f40, context=..., type=..., 
category=...) at ../../../runners/baloo/baloosearchrunner.cpp:98
#5  0x7fffcf2d28b3 in SearchRunner::match(Plasma::RunnerContext&) 
(this=0x2524f40, context=...)
at ../../../runners/baloo/baloosearchrunner.cpp:160
#6  0x7fffd9265010 in 
Plasma::AbstractRunner::performMatch(Plasma::RunnerContext&) ()
at /usr/lib/x86_64-linux-gnu/libKF5Runner.so.5
#7  0x7fffd90488a0 in 
ThreadWeaver::Executor::run(QSharedPointer const&, 
ThreadWeaver::Thread*) () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#8  0x7fffd90474e0 in 
ThreadWeaver::Job::execute(QSharedPointer const&, 
ThreadWeaver::Thread*) () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x7fffd9046f8a in ThreadWeaver::Thread::run() () at 
/usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x74fad87e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x72b2b0a4 in start_thread (arg=0x7fffa77fe700) at 
pthread_create.c:309
#12 0x748ca06d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Hope this helps
Regards


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



Bug#804744: new upstream 0.6.9, updated debian patches

2015-11-10 Thread Gianluigi Tiesi
Source: partimage
Severity: normal
Tags: patch

Hi, I'm attaching updated patches to build 0.6.9 release,
02-format-security.patch is incorporated upstream

Regards


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
diff -ur partimage-0.6.9.orig/src/client/netclient.cpp partimage-0.6.9/src/client/netclient.cpp
--- partimage-0.6.9.orig/src/client/netclient.cpp	2010-07-25 17:30:31.0 +0200
+++ partimage-0.6.9/src/client/netclient.cpp	2015-11-11 05:28:52.352665175 +0100
@@ -43,9 +43,8 @@
 {
   showDebug(3, "initializing client ssl\n");
   SSLeay_add_ssl_algorithms();
-  meth = SSLv2_client_method();
   SSL_load_error_strings();
-  ctx = SSL_CTX_new(meth);
+  ctx = SSL_CTX_new(SSLv23_server_method());
   if (!ctx)
 THROW(ERR_SSL_CTX);
   m_bUseSSL = (ctx != NULL);
diff -ur partimage-0.6.9.orig/src/client/netclient.h partimage-0.6.9/src/client/netclient.h
--- partimage-0.6.9.orig/src/client/netclient.h	2010-07-25 17:30:31.0 +0200
+++ partimage-0.6.9/src/client/netclient.h	2015-11-11 05:28:27.749038336 +0100
@@ -35,12 +35,6 @@
 #ifdef HAVE_SSL
   SSL_CTX * ctx;
   X509 * server_cert;
-#if OPENSSL_VERSION_NUMBER >= 0x1000L
-  SSL_METHOD const * meth;
-#else
-  SSL_METHOD * meth;
-#endif // OPENSSL_VERSION_NUMBER
-
 #endif
   bool m_bUseSSL;
   bool m_bMustLogin;
Description: Fix FTBFS errors: cannot convert 'gzFile_s**' to 'gzFile' for argument '1'.
Author: Mònica Ramírez Arceda 
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662596
Last-Update: 2012-03-27

diff -ur partimage-0.6.9.orig/src/client/imagefile.cpp partimage-0.6.9/src/client/imagefile.cpp
--- partimage-0.6.9.orig/src/client/imagefile.cpp	2010-07-25 17:30:31.0 +0200
+++ partimage-0.6.9/src/client/imagefile.cpp	2015-11-11 05:30:27.49100 +0100
@@ -783,7 +783,7 @@
   else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
 {
   showDebug(1, "open gzip\n");
-  m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "wb"); //"wb1h");
+  m_gzImageFile = gzdopen(m_nFdImage, "wb"); //"wb1h");
   if (m_gzImageFile == NULL)
 	{
 	  showDebug(1, "error:%d %s\n", errno, strerror(errno));
@@ -1098,7 +1098,7 @@
 }
   else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
 {
-  m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "rb");
+  m_gzImageFile = gzdopen(m_nFdImage, "rb");
   if (m_gzImageFile == NULL)
 THROW(ERR_ERRNO, errno);
   else
diff -ur partimage-0.6.9.orig/src/client/imagefile.h partimage-0.6.9/src/client/imagefile.h
--- partimage-0.6.9.orig/src/client/imagefile.h	2010-07-25 17:30:31.0 +0200
+++ partimage-0.6.9/src/client/imagefile.h	2015-11-11 05:29:55.915701112 +0100
@@ -41,7 +41,7 @@
   COptions m_options;
 
   FILE *m_fImageFile;
-  gzFile *m_gzImageFile;
+  gzFile m_gzImageFile;
   BZFILE *m_bzImageFile;
 
   int m_nFdImage;


Bug#791383: Invalid detection of Windows Vista+ loader

2015-07-03 Thread Gianluigi Tiesi
Package: os-prober
Severity: normal

Hi, sometimes os-prober is unable to detect the exact version
of windows loader is in use and mark the entry as vista (the fallback)
this is due the fact grep is called without -a, so in os-probes/20microsof

bootmgr detections should be done without grep -qas instead of grep -qs

Sometimes it works because grep treats the file as ascii, sometimes not

Regards


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages os-prober depends on:
ii  libc6  2.19-18

os-prober recommends no packages.

os-prober suggests no packages.


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



Bug#786831: null ptr using inkscape 0.91

2015-05-25 Thread Gianluigi Tiesi
Package: gtk2-engines-qtcurve
Severity: important
Tags: patch upstream

Inkscape is unusable using qtcurve theme
looks at this report:

https://github.com/QtCurve/qtcurve-gtk2/issues/3

attached patch fixed the problem for me

Regards


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages gtk2-engines-qtcurve depends on:
ii  libc62.19-18
ii  libcairo21.14.2-2
ii  libgdk-pixbuf2.0-0   2.31.4-1
ii  libglib2.0-0 2.44.1-1
ii  libgtk2.0-0  2.24.25-3
ii  libpango-1.0-0   1.36.8-3
ii  libpangocairo-1.0-0  1.36.8-3
ii  libx11-6 2:1.6.3-1

Versions of packages gtk2-engines-qtcurve recommends:
pn  kde-style-qtcurve  none

gtk2-engines-qtcurve suggests no packages.
--- a/style/qtcurve.c.orig	2015-05-25 19:56:19.015463431 +0200
+++ b/style/qtcurve.c	2015-05-25 19:57:04.623464515 +0200
@@ -389,7 +389,7 @@
 drawWindowBgnd(cr, style, NULL, window, widget, x, y, width, height);
 else if(!(GTK_APP_JAVA==qtSettings.app  widget  GTK_IS_LABEL(widget)))
 {
-if(GTK_STATE_PRELIGHT==state  !opts.crHighlight  0==strcmp(detail, checkbutton))
+if(GTK_STATE_PRELIGHT==state  !opts.crHighlight  (detail  (0==strcmp(detail, checkbutton
 ;
 else
 parent_class-draw_flat_box(style, window, state, shadow, area, widget, detail, x, y, width, height);


Bug#778780: out of inode space because of /var/tmp/ntopng/*/top_talkers/*

2015-02-19 Thread Gianluigi Tiesi
Package: ntopng
Severity: important

Hi, after using ntopng for a while it fills the disk with a lot of json
files and the filesystems goes out of inode

Please consider adding a cron jobs as suggested in:

http://serverfault.com/questions/625875/howto-prevent-ntopng-causing-out-of-disk-space-and-inodes


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages ntopng depends on:
ii  init-system-helpers  1.22
ii  libc62.19-15
ii  libgcc1  1:4.9.2-10
ii  libgeoip11.6.2-4
pn  libhiredis0.10   none
ii  libjson-c2   0.11-4
pn  libluajit-5.1-2  none
pn  libndpi1anone
ii  libpcap0.8   1.6.2-2
pn  librrd4  none
ii  libsqlite3-0 3.8.7.4-1
ii  libstdc++6   4.9.2-10
pn  libzmq3  none
pn  ntopng-data  none
pn  redis-server none

ntopng recommends no packages.

Versions of packages ntopng suggests:
pn  geoip-database-contrib  none


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



Bug#775646: SIGSEGV in ntfs_mft_record_alloc

2015-01-17 Thread Gianluigi Tiesi
Package: ntfs-3g
Version: 1:2014.2.15AR.3-1
Severity: important
Tags: upstream

I'm trying to rsync a directory from ext4 to ntfs but I get constantly crash
It happens also after windows chkdsk

here out/gdb info:

Reading symbols from ntfs-3g...Reading symbols from 
/usr/lib/debug/.build-id/7e/eead72bf06909ac8adab4bbea346fc8cc4dc22.debug.
...done.
done. 
(gdb) run -o no_detach /dev/sdb2 /mnt/ntfs/
Starting program: /bin/ntfs-3g -o no_detach /dev/sdb2 /mnt/ntfs/
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
Version 2014.2.15AR.3 integrated FUSE 28
Mounted /dev/sdb2 (Read-Write, label BoySlim, NTFS 3.1)
Cmdline options: no_detach
Mount options: 
allow_other,nonempty,relatime,fsname=/dev/sdb2,blkdev,blksize=4096
Ownership and permissions disabled, configuration type 7
ntfs_mst_post_read_fixup_warn: magic: 0xe1ba5cb3  size: 1024   usa_ofs: 34725  
usa_count: 45939: Invalid argument
ntfs_mst_post_read_fixup_warn: magic: 0x65eb6da0  size: 1024   usa_ofs: 25253  
usa_count: 14028: Invalid argument
ntfs_mst_post_read_fixup_warn: magic: 0xd4758cc9  size: 1024   usa_ofs: 39555  
usa_count: 19090: Invalid argument
ntfs_mst_post_read_fixup_warn: magic: 0x7f93ea5a  size: 1024   usa_ofs: 13271  
usa_count: 31837: Invalid argument
ntfs_mst_post_read_fixup_warn: magic: 0x867ec319  size: 1024   usa_ofs: 58829  
usa_count: 33503: Invalid argument

Program received signal SIGSEGV, Segmentation fault.
ntfs_mft_record_alloc (vol=0x7f0e7c44f3c0, base_ni=0x3ec, base_ni@entry=0x0) at 
mft.c:1757
1757mft.c: No such file or directory.

gdb) bt
#0  ntfs_mft_record_alloc (vol=0x7f0e7c44f3c0, base_ni=0x3ec, 
base_ni@entry=0x0) at mft.c:1757
#1  0x7f0e7ba9e338 in __ntfs_create (dir_ni=0x7f0e7c4b32b0, securid=0, 
name=0x7f0e7c4b34c0, name_len=83 'S',
type=32768, dev=0, target=0x0, target_len=0) at dir.c:1508
#2  0x7f0e7baa0742 in ntfs_create (dir_ni=0x7f0e7c44f3c0, securid=1004, 
name=0x7f0e7c4b87f0, name_len=71 'G',
type=2081425152) at dir.c:1763
#3  0x7f0e7c119c69 in ntfs_fuse_create (org_path=optimized out, 
typemode=33152, dev=optimized out, target=0x0,
fi=0x7fffaa4ccfc0) at ntfs-3g.c:1743
#4  0x7f0e7c11a275 in ntfs_fuse_mknod_common (org_path=optimized out, 
mode=33152, dev=0, fi=0x7fffaa4ccfc0)
at ntfs-3g.c:1880
#5  0x7f0e7c121647 in fuse_lib_create (req=0x7f0e7c4b3140, parent=249,
name=0x7f0e7bf33048 
Doctor.Who.2005.1x12.Padroni.Dell.Universo.-.1^.Parte.iTaEnG.DVDMux-DarkSideMux.srt,
 mode=33152,
fi=0x7fffaa4ccfc0) at fuse.c:1792
#6  0x7f0e7c1250ad in do_create (req=optimized out, nodeid=optimized 
out, inarg=optimized out)
at fuse_lowlevel.c:644
#7  0x7f0e7c12425a in fuse_session_loop (se=0x7f0e7c4589d0) at 
fuse_loop.c:34
#8  0x7f0e7c11724c in main (argc=0, argv=0x7f0e7b7fc090) at ntfs-3g.c:3987

(gdb) p *(le16*)((u8*)m + m-usa_ofs)
Cannot access memory at address 0x7f0e7c4c6dbd

(gdb) p m
$6 = (MFT_RECORD *) 0x7f0e7c4b87f0
(gdb) p *m
$7 = {magic = 2256454425, usa_ofs = 58829, usa_count = 33504, lsn = 
5559363449530884608, sequence_number = 11938,
  link_count = 8277, attrs_offset = 41994, flags = 52348, bytes_in_use = 
3528076468, bytes_allocated = 3503433910,
  base_mft_record = 13344062644253006997, next_attr_instance = 54086, reserved 
= 56111, mft_record_number = 1200265100}

source:
usn = *(le16*)((u8*)m + le16_to_cpu(m-usa_ofs));

There are additional info I can provide?

Regards

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages ntfs-3g depends on:
ii  fuse   2.9.3-15+b1
ii  libc6  2.19-13
ii  libgcrypt201.6.2-4+b1
ii  libgnutls-deb0-28  3.3.8-5
ii  libgpg-error0  1.17-3
ii  multiarch-support  2.19-13

ntfs-3g recommends no packages.

ntfs-3g suggests no packages.

-- debconf information excluded


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



Bug#762863: when using systemd laptop-mode-tools causes read-only root and system is unusable

2014-09-28 Thread Gianluigi Tiesi
On Fri, 26 Sep 2014 20:42:22 +0530 Ritesh Raj Sarraf 
r...@researchut.com wrote:

I tried the boot without AC part. And that is working for me.

Any other exploration will have to wait as I am about to release 1.66. And
then I have other priorities than looking at what systemd guys broke. :-)
I wish to see the day when systemd will ship all the power saving features
right from within (systemd-pm-utils) because that would be the Right
Thing. :-)



You can close the bug, systemd maintainers resolved the problem of your 
maintained broken software:


- Re-enable mount propagation for udevd. This avoids that broken 
software like laptop-mode-tools, which runs mount from within udev 
rules, causes the root file system to end up read-only. (Closes: #762018)


Regards

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#762863: when using systemd laptop-mode-tools causes read-only root and system is unusable

2014-09-26 Thread Gianluigi Tiesi
On Fri, 26 Sep 2014 20:17:50 +0530 Ritesh Raj Sarraf 
r...@researchut.com wrote:

On Friday 26 September 2014 08:07 PM, Gianluigi Tiesi wrote:
 Yeah, ask systemd about not giving informations at all, It's a just a
 miracle that I found that laptop-mode-tools is the problem.
 I think you can just install laptop-mode-tools and boot without AC

Yeah!!! Miracles in engineering. _Maybe_ something is causing the
problem in laptop-mode-tools.

As the upstream (and Debian) maintainer for Laptop Mode Tools, it is
installed on my box. And miraculously it is booting fine, even when on
Battery.



It's obviously a problem with systemd, but since systemd maintainers 
nazi policy refuses to even reply to bug reports (#762037), 
unfortunately I have to report the problem to you, and thanks to systemd 
I have no info at all about the problem, if you have an idea about 
gathering more info I would happy to do it.


Did you tried to boot without AC connected? Did you tried to rename the 
/usr/sbin/laptop_mode executable?


I think the problem renaming the executable is easy reproducible and I 
suppose it's not a feature to hang my boot indefinitely


Regards


--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#762863: when using systemd laptop-mode-tools causes read-only root and system is unusable

2014-09-26 Thread Gianluigi Tiesi
On Fri, 26 Sep 2014 20:00:43 +0530 Ritesh Raj Sarraf 
r...@researchut.com wrote:

On Friday 26 September 2014 11:59 AM, Ritesh Raj Sarraf wrote:

 I am using systemd along with laptop-mode-tools for some time now,
 with no issues so far.
 Please provide more information

And I upgraded to the newer systemd, version 215, and still able to
boot. So if you  have issues, they are specific to a subset of the
generic configurations. The most common being reported right now is /usr
on a separate partition.



I have only one partition and default laptop-mode-tools configuration,
it's a sid with latest kernel and packages.

try to rename /usr/sbin/laptop_mode in something different, then my 
system is supposed to act indefinitely as Knight Rider?


Regards


--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#762863: when using systemd laptop-mode-tools causes read-only root and system is unusable

2014-09-26 Thread Gianluigi Tiesi

On 09/26/14 08:29, Ritesh Raj Sarraf wrote:

Control: severity -1 normal
Control: tag -1 +moreinfo

Wow... A bug with severity serious and no information at all.



Yeah, ask systemd about not giving informations at all, It's a just a 
miracle that I found that laptop-mode-tools is the problem.

I think you can just install laptop-mode-tools and boot without AC

Regards


--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#762863: when using systemd laptop-mode-tools causes read-only root and system is unusable

2014-09-25 Thread Gianluigi Tiesi
Package: laptop-mode-tools
Severity: serious

Hi,
if I use systemd and I'm on battery, my system starts with
a read only root and half of the services are not working.

If I uninstall the package, the system boots normally.

removing /usr/sbin/laptop-mode-tools executable
makes udev wait for 3 minutes, I see a red ascii art
animation and this message:
A start job is running for udev for Complete...

looks like it has something to do with the init script


Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages laptop-mode-tools depends on:
ii  lsb-base4.1+Debian13
ii  psmisc  22.21-2
ii  util-linux  2.20.1-5.8

Versions of packages laptop-mode-tools recommends:
pn  ethtool none
pn  hdparm  none
ii  net-tools   1.60-26
pn  python-qt4  none
pn  sdparm  none
pn  udevnone
pn  wireless-tools  none

Versions of packages laptop-mode-tools suggests:
pn  acpid | apmd | pbbuttonsd | pmud  none
pn  hal   none
ii  python2.7.8-1


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



Bug#761938: closed by m...@linux.it (Marco d'Itri) (Re: Bug#761938: please stop breaking my system with systemd)

2014-09-17 Thread Gianluigi Tiesi

On 09/17/14 16:39, Debian Bug Tracking System wrote:

This is an automatic notification regarding your Bug report
which was filed against the systemd package:

#761938: please stop breaking my system with systemd

It has been closed by m...@linux.it (Marco d'Itri).

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact m...@linux.it (Marco 
d'Itri) by
replying to this email.




currently it is a real bug report, udev does not wait enough for 
devices, I don't have more information because it scroll so fast and 
adding debug to commandline it's enough to make the bug not reproducible.


I will sure not be the only one with this problem.

Please do not close the bug report just because you don't agree with me

systemd is really broken in many place

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#762037: race in udev root device detection leaves root mounted read-only

2014-09-17 Thread Gianluigi Tiesi
Package: systemd
Severity: important

Hi,
after upgrading systemd/udev to version 215-4, my system starts degraded
because root remains read-only. I cannot easly see early messages,
delaying the boot with an fsck or debug on commandline does not exposes the 
problem.

The problem does not occurs using sysvinit-core

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages systemd depends on:
pn  acl none
ii  adduser 3.113+nmu3
ii  initscripts 2.88dsf-53.4
ii  libacl1 2.2.52-2
ii  libaudit1   1:2.4-1
ii  libblkid1   2.20.1-5.8
ii  libc6   2.19-11
ii  libcap2 1:2.24-4
ii  libcap2-bin 1:2.24-4
pn  libcryptsetup4  none
ii  libgcrypt11 1.5.4-3
pn  libkmod2none
ii  liblzma55.1.1alpha+20120614-2
ii  libpam0g1.1.8-3.1
ii  libselinux1 2.3-2
pn  libsystemd0 none
ii  sysv-rc 2.88dsf-53.4
pn  udevnone
ii  util-linux  2.20.1-5.8

Versions of packages systemd recommends:
pn  dbusnone
pn  libpam-systemd  none

Versions of packages systemd suggests:
pn  systemd-ui  none


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



Bug#762038: systemd spins up stand-by disks at shutdown

2014-09-17 Thread Gianluigi Tiesi
Package: systemd
Severity: minor

Hi,
sda is my system SSD.
I've also have an hard disk (sdb),
I always spin down sdb using hdparm -y /dev/sdb
to reduce noise and increase longevity of the disk.

When using systemd, in the shutdown process the disks spins-up
just before the computer powers off.

The disk is always umounted.

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages systemd depends on:
pn  acl none
ii  adduser 3.113+nmu3
ii  initscripts 2.88dsf-53.4
ii  libacl1 2.2.52-2
ii  libaudit1   1:2.4-1
ii  libblkid1   2.20.1-5.8
ii  libc6   2.19-11
ii  libcap2 1:2.24-4
ii  libcap2-bin 1:2.24-4
pn  libcryptsetup4  none
ii  libgcrypt11 1.5.4-3
pn  libkmod2none
ii  liblzma55.1.1alpha+20120614-2
ii  libpam0g1.1.8-3.1
ii  libselinux1 2.3-2
pn  libsystemd0 none
ii  sysv-rc 2.88dsf-53.4
pn  udevnone
ii  util-linux  2.20.1-5.8

Versions of packages systemd recommends:
pn  dbusnone
pn  libpam-systemd  none

Versions of packages systemd suggests:
pn  systemd-ui  none


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



Bug#762039: smartd does not starts under systemd

2014-09-17 Thread Gianluigi Tiesi
Package: smartmontools
Version: 6.2+svn3841-1.2
Severity: normal

When using systemd, smartd does not starts, systemd logs says the daemon exists 
normally,
as it was one-shot.

Regards


-- Package-specific info:
Output of /usr/share/bug/smartmontools:
Couldn't parse /boot/config-3.14-0.bpo.2-amd64

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages smartmontools depends on:
ii  debianutils  4.4
ii  libc62.19-11
ii  libcap-ng0   0.7.4-2
ii  libgcc1  1:4.9.1-14
ii  libselinux1  2.3-2
ii  libstdc++6   4.9.1-14
ii  lsb-base 4.1+Debian13

Versions of packages smartmontools recommends:
pn  mailx | mailutils  none

Versions of packages smartmontools suggests:
pn  gsmartcontrol   none
pn  smart-notifier  none

-- no debconf information


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



Bug#761938: please stop breaking my system with systemd

2014-09-16 Thread Gianluigi Tiesi
Package: systemd
Severity: important

I've updated to systemd/udev 215-4, my system starts with a read-only
root, it has something to do with udev, mounting rw via kernel commandline,
or when a disk check occurs, workarounds the problem,
looks like a timing problem, but wait...
I'm unable to read the error because systemd is
SO BLAZING FAST!

really people, systemd and init scripts of many packages aren't just
ready for production.

I've rebuilt policykit removing systemd deps and my system magically
starts without any problems

and also:
- smartd daemon silently exits instead of starting
- transmission-daemon crashes
- I spin down my sdb disk, why hell it starts again at shutdown now?

If you want to play with systemd, just do it, but leave us an alternative,
please tell policykit maintainer to stop nazi mind and keep a non systemd
infected policykit.

Please stop this crazyness of forcing a non production-ready init system
or we'll just sit with pop-corn on jessie release wathing bug report storm.

Regards


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



Bug#692249: sata boot+grub unknown filesystem without boot=on

2014-08-07 Thread Gianluigi Tiesi

On 08/07/14 08:51, Michael Tokarev wrote:

07.08.2014 00:14, Gianluigi Tiesi wrote:

qemu removed the option and grub still says unknown filesystem


Yes, we removed the old option long time ago.  But I was really
worried about this unknown filesystem.


You can close the bug I don't think it's a really an useful scenario,
I was trying to boot my win7 partition with kvm using -snapshot, it wouldn't 
work anyway


You're Very Wrong (tm).


lol



Lots of people do this all the time, me included.  I've a dual-boot machine
(with windows and linux), and while I don't reboot into windows often, but
I do run it in qemu/kvm quite often, giving qemu my /dev/sda and choosing
to boot windows there.

It works just fine either way.  It even keeps its activation (win7 OEM), because
I pass /sys/firmware/acpi/tables/SLIC to the guest, the same as this PC was
shipped with.

I ran _many_ systems initially installed on a bare metal in qemu/kvm, just
giving qemu their hdd directly (with or without -snapshot), and I run many
systems initially installed in qemu/kvm on bare metal, after copying their
hdd image to real hdd.  Actually I installed all our windows machines at
office this way - initially in qemu, copying to hdd with all installed and
configured progs.  All this without changing the systems in question in
any noticeable way -- with the exception that initial boot of windows in
foreign environment requires installing a compatible driver, which is,
for metal=qemu case, either generic IDE or ahci/sata.  Linux systems
works without any modifications at all.

As I already said, there's somethig wrong on your system.  It shuoldn't
work (or, rather, fail) like this.  It smells like a bug which I want to
find and fix.


Please tell me what to do, the command line in the bug report loads grub 
correctly but then grub:



SeaBIOS (version 1.7.5-20140531_083030-gandalf)

iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+3FF94B40+3FEF4B40 C980

Booting from Hard Disk...
error: unknown filesystem.
Entering rescue mode...
grub rescue ls (hd0,msdos3)/
error: unknown filesystem.
grub rescue

but partition 3 is ext4, maybe because is mounted?

Regards

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#692249: sata boot+grub unknown filesystem without boot=on

2014-08-06 Thread Gianluigi Tiesi

On 08/02/14 08:37, Michael Tokarev wrote:

Hello.

Do you still remember this old bug from late-2012?  Do you still have any issues
outlined there?  I weren't able to reproduce it meantime, and both qemu and
seabios undergone several releases.



qemu removed the option and grub still says unknown filesystem
You can close the bug I don't think it's a really an useful scenario,
I was trying to boot my win7 partition with kvm using -snapshot, it 
wouldn't work anyway


Thanks and Regards


--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#751028: policykit-1: forces dependencies on libsystemd-login0 and systemd on a sysv-only system

2014-07-26 Thread Gianluigi Tiesi
Package: policykit-1
Followup-For: Bug #751028

So what's the point of having sysvinit-core, all desktops require
policykit-1 that infests with systemd


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages policykit-1 depends on:
pn  dbus   none
ii  libc6  2.19-7
ii  libglib2.0-0   2.40.0-3
pn  libpam-systemd none
ii  libpam0g   1.1.8-3
pn  libpolkit-agent-1-0none
pn  libpolkit-backend-1-0  none
pn  libpolkit-gobject-1-0  none

policykit-1 recommends no packages.

policykit-1 suggests no packages.


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



Bug#755448: strtok_r.patch breaks windows xp and early compatibility

2014-07-20 Thread Gianluigi Tiesi
Package: mingw-w64
Severity: normal

Hi, the debian patch strtok_r.patch introduces strtok_s symbol that
is not present in crt6 (and 7) so generated executables will not run
on windows xp, I think there are safe public domain replacements.

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mingw-w64 depends on:
pn  g++-mingw-w64 | gcc-mingw-w64  none

mingw-w64 recommends no packages.

mingw-w64 suggests no packages.


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



Bug#749016: same with initramfs-tools

2014-06-24 Thread Gianluigi Tiesi

Hi,
I've encountered same problem with with initramfs-tools on a pcengines 
alix, kernel is linux-image-3.14-1-486


my workaround was adding:

/etc/initramfs-tools/scripts/local-top/sd_mod_bug

that calls modprobe sd_mod

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#732087: minidlna: not installable on sid anymore

2014-06-13 Thread Gianluigi Tiesi
Package: minidlna
Followup-For: Bug #732087

Hi, upstream 1.1.3 builds with libav in debian
I would to suggest you to drop minidlna.conf patches
and put the pre-modified file in debian/ instead

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages minidlna depends on:
ii  adduser3.113+nmu3
ii  initscripts2.88dsf-53.2
pn  libavformat54  none
pn  libavutil52none
ii  libc6  2.19-1
pn  libexif12  none
ii  libflac8   1.3.0-2
pn  libid3tag0 none
ii  libjpeg8   8d-2
ii  libogg01.3.2-1
ii  libsqlite3-0   3.8.4.3-3
ii  libvorbis0a1.3.2-1.4
ii  lsb-base   4.1+Debian13

minidlna recommends no packages.

minidlna suggests no packages.


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



Bug#730437: network-manager: fails to start

2014-03-29 Thread Gianluigi Tiesi
Package: network-manager
Version: 0.9.8.8-4
Followup-For: Bug #730437

Hi, the crash happens if an unmanaged network interface is active in 
/run/network/ifstate other than lo
As a temp workaround disable auto in etho or if not possible remove eth0=eth0 
from that
file after the interface is up


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager depends on:
ii  adduser3.113+nmu3
pn  dbus   none
ii  init-system-helpers1.18
ii  isc-dhcp-client4.2.4-7
ii  libc6  2.18-4
ii  libdbus-1-31.8.0-3
ii  libdbus-glib-1-2   0.102-1
ii  libgcrypt111.5.3-4
ii  libglib2.0-0   2.38.2-5
ii  libgnutls262.12.23-13
pn  libgudev-1.0-0 none
pn  libmm-glib0none
pn  libnl-3-200none
pn  libnl-genl-3-200   none
pn  libnl-route-3-200  none
pn  libnm-glib4none
pn  libnm-util2none
pn  libpolkit-gobject-1-0  none
pn  libsoup2.4-1   none
pn  libsystemd-login0  none
ii  libuuid1   2.20.1-5.7
ii  lsb-base   4.1+Debian12
pn  udev   none
pn  wpasupplicant  none

Versions of packages network-manager recommends:
pn  crda  none
pn  dnsmasq-base  none
pn  iptables  none
pn  modemmanager  none
pn  policykit-1   none
pn  ppp   none
pn  systemd   none

Versions of packages network-manager suggests:
pn  avahi-autoipd  none


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



Bug#742468: typo and missing option in manpage

2014-03-23 Thread Gianluigi Tiesi
Package: patchelf
Severity: minor
Tags: upstream

Hi,
patchelf manpage says --print-intepreter instead of --print-interpreter
also it does not mention --remove-needed

Regards

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages patchelf depends on:
ii  libc6   2.18-4
ii  libgcc1 1:4.8.2-17
ii  libstdc++6  4.8.2-17

patchelf recommends no packages.

patchelf suggests no packages.


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



Bug#741555: segfault when using ipython

2014-03-13 Thread Gianluigi Tiesi
Package: libreadline6
Version: 6.3-1
Severity: important
Tags: upstream patch

Hi, when I use ipython I get very often sefaults in libreadline,
while searching on internet I've found a thread in the ml

http://lists.gnu.org/archive/html/bug-readline/2014-03/msg00034.html

I've applied the proposed patch and looks like it works

I'm attaching a unified diff of the patch

Regards



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libreadline6 depends on:
ii  libc6  2.18-4
ii  libtinfo5  5.9+20140118-1
ii  multiarch-support  2.18-4
ii  readline-common6.3-1

libreadline6 recommends no packages.

libreadline6 suggests no packages.

-- no debconf information
--- readline6-6.3/readline.c.orig	2013-10-28 19:58:06.0 +0100
+++ readline6-6.3/readline.c	2014-03-13 19:44:39.696997473 +0100
@@ -744,7 +744,8 @@
 r = _rl_subseq_result (r, cxt-oldmap, cxt-okey, (cxt-flags  KSEQ_SUBSEQ));
 
   RL_CHECK_SIGNALS ();
-  if (r == 0)			/* success! */
+  /* We only treat values  0 specially to simulate recursion. */
+  if (r = 0 || (r == -1  (cxt-flags  KSEQ_SUBSEQ) == 0))   /* success! or failure! */
 {
   _rl_keyseq_chain_dispose ();
   RL_UNSETSTATE (RL_STATE_MULTIKEY);


Bug#740216: Improved init script

2014-02-26 Thread Gianluigi Tiesi
Package: lxc
Version: 1.0.0-2
Severity: wishlist
Tags: upstream

attached an improved init script the provided one is somehow terse
in my system /var/lock/subsys does not exists
I've removed from the script since I don't see exactly the point,
lxc-autostart knowns if a container is started.
Anyway if it's really needed the directory must be created

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages lxc depends on:
pn  libapparmor1   none
ii  libc6  2.18-1
ii  libcap21:2.22-1.2
ii  multiarch-support  2.18-1

Versions of packages lxc recommends:
ii  debootstrap  1.0.59
ii  libcap2-bin  1:2.22-1.2

lxc suggests no packages.
#!/bin/sh
#
# lxc Start/Stop LXC autoboot containers
#
# chkconfig: 345 99 01
# description: Starts/Stops all LXC containers configured for autostart.
#
### BEGIN INIT INFO
# Provides: lxc
# Required-Start: $syslog $remote_fs
# Required-Stop: $syslog $remote_fs
# Should-Start:
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Bring up/down LXC autostart containers
# Description: Bring up/down LXC autostart containers
# X-Start-Before:
# X-Stop-After:
# X-Interactive:
### END INIT INFO

# Source function library.
.. /lib/lsb/init-functions

# Check for needed utility program
[ -x /usr/bin/lxc-autostart ] || exit 1

# If libvirtd is providing the bridge, it might not be
# immediately available, so wait a bit for it before starting
# up the containers or else any that use the bridge will fail
# to start
wait_for_bridge()
{
[ -f /etc/lxc/default.conf ] || { return 0; }

BRNAME=`grep lxc.network.link /etc/lxc/default.conf |awk '{print $3}'`
[ -n $BRNAME ] || { return 0; }

for try in `seq 1 30`; do
	ifconfig -a |grep ^$BRNAME /dev/null 21
	if [ $? = 0 ]; then
	return
	fi
	sleep 1
done
}

lxc_autostart()
{
	/usr/bin/lxc-autostart -L $1 | while read name delay; do
		log_progress_msg $name
	done
	/usr/bin/lxc-autostart $1
	log_end_msg $?
}

# See how we were called.
case $1 in
  start)
	# Start containers
	wait_for_bridge
	log_daemon_msg Starting LXC containers
	lxc_autostart
	;;
  stop)
	log_daemon_msg Stopping LXC containers
	lxc_autostart -s
	;;
  restart|reload|force-reload)
	$0 stop
	$0 start
	;;
  *)
	echo Usage: $0 {start|stop|restart|reload|force-reload}
	exit 2
esac
exit $?


Bug#740218: fixed lxc-list script

2014-02-26 Thread Gianluigi Tiesi
Package: lxc
Version: 1.0.0-2
Severity: minor
Tags: upstream

attached fixed lxc-list script

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages lxc depends on:
pn  libapparmor1   none
ii  libc6  2.18-1
ii  libcap21:2.22-1.2
ii  multiarch-support  2.18-1

Versions of packages lxc recommends:
ii  debootstrap  1.0.59
ii  libcap2-bin  1:2.22-1.2

lxc suggests no packages.
#!/bin/sh

## Copyright (C) 2006-2014 Daniel Baumann m...@daniel-baumann.ch
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.


set -e

.. /usr/share/lxc/lxc.functions

if [ ! -x $(which lxc-info 2/dev/null) ]
then
	echo E: lxc-info - no such file 2
	exit 1
fi

for _STATUS in RUNNING FROZEN STOPPED
do
	echo ${_STATUS}

	for _CONTAINER in $(lxc-ls)
	do
		if lxc-info -n ${_CONTAINER} 21 | grep -qs ${_STATUS}
		then
			printf   %-55.50s ${_CONTAINER}

			if [ -e /etc/lxc/auto/${_CONTAINER} ]
			then
printf %-10.6s (auto)
			else
printf %-10.6s   
			fi

			case ${_STATUS} in
RUNNING)
	if ps -eaf | grep -sq lxc-console --name ${_CONTAINER}\$
	then
		printf %-10.9s [CONSOLE]
	fi
	;;
			esac

			printf \n
		fi
	done

	echo
done


Bug#740217: italian debconf template

2014-02-26 Thread Gianluigi Tiesi
Package: lxc
Version: 1.0.0-2
Severity: wishlist
Tags: l10n

attached italian debconf template, I suggest to review the postinstall
script since the default path is /var/lib/lxc
also I think /etc/lxc/auto is not needed if using lxc-autostart
lxc-initscript still uses it, don't known what upstream wants to do

Regards

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages lxc depends on:
pn  libapparmor1   none
ii  libc6  2.18-1
ii  libcap21:2.22-1.2
ii  multiarch-support  2.18-1

Versions of packages lxc recommends:
ii  debootstrap  1.0.59
ii  libcap2-bin  1:2.22-1.2

lxc suggests no packages.
# German translation of lxc debconf templates.
# Copyright (C) 2014 Gianluigi Tiesi sher...@netfarm.it
# This file is distributed under the same license as the lxc package.
#
msgid 
msgstr 
Project-Id-Version: lxc\n
Report-Msgid-Bugs-To: l...@packages.debian.org\n
POT-Creation-Date: 2014-01-16 15:31+0100\n
PO-Revision-Date: 2014-02-27 00:00+0100\n
Last-Translator: Gianluigi Tiesi sher...@netfarm.it\n
Language-Team: none\n
Language: \n
MIME-Version: 1.0\n
Content-Type: text/plain; charset=UTF-8\n
Content-Transfer-Encoding: 8bit\n

#. Type: title
#. Description
#: ../lxc-stuff.templates:1001
msgid Linux Containers: LXC setup
msgstr Linux Containers: Impostazioni LXC

#. Type: string
#. Default
#: ../lxc-stuff.templates:2001
msgid /srv/lxc/containers
msgstr 

#. Type: string
#. Description
#: ../lxc-stuff.templates:2002
msgid LXC directory:
msgstr Cartella LXC:

#. Type: string
#. Description
#: ../lxc-stuff.templates:2002
msgid 
Please specify the directory that will be used to store the Linux Containers.
msgstr 
Per favore specifica la cartella che conterrà i Linux Container.

#. Type: string
#. Description
#: ../lxc-stuff.templates:2002
msgid If unsure, use /srv/lxc/containers (default).
msgstr Se non sei sicuro, scegli /srv/lxc/containers (predefinita).


Bug#739691: libgl1-mesa-glx:amd64: Upgrade to Xserver 1.15 broke kwin and others: Invalid GLXFBConfig returned

2014-02-21 Thread Gianluigi Tiesi
Package: mesa
Version: 9.2.2-1
Followup-For: Bug #739691

I'm experimenting same problem with intel video card

the related bug is:
https://bugs.freedesktop.org/show_bug.cgi?id=70706

the following patches solved the problem:

http://patchwork.freedesktop.org/patch/20458/
http://patchwork.freedesktop.org/patch/20464/

please consider to add them asap

Regards

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash


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



Bug#726838: mplayer depends upon old libavutil under unstable

2013-12-23 Thread Gianluigi Tiesi
Source: mplayer
Followup-For: Bug #726838

Hi all,
I've made some fixes to help package building.

libav-compat.diff: adds system libav compatibility

Unfortunately the mplayer code is not enough clean to build using
system include so there is a catch.
I've removed local ffmpeg from includes (in configure), but some files
require libavutil/x86_cpu.h
A trick can be add a local patch that adds this file
on topdir (this file only). It's not pretty but the alternative
is change a lot of files.

live555-async.diff: async interface for live555

A patch I've made some time ago that mimic async code (like live555 did)
I've noticed some problems in live555 after they removed the sync interface.
Applying this patch to an old snapshot of live555 with
sync code behaves exactly as using the old live555 code and does not
expose the problem(s).

control.diff: for new deps

libjack-dev - libjack-dev | libjack-jackd2-dev
libmpcdec-dev - deprecated not enabled by default (decoder in libav?)
libschroedinger-dev - needs ffmpeg static
libsvga1-dev - removed from debian

debian/control and debian/rules

libsmbclient-dev - detection is broken, configure needs to use pkg-config
(in sid the include is in /usr/include/samba-4.0/libsmbclient.h)
libaudio-dev ? nas audio system, really used?
libdts-dev - it's better to use libdca-dev, mplayer uses it anyway

the install rule for png files need to be revised, now mplayer
has 16 22 24 32 48 256 png

Hope it helps

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
diff -ur -xdebian mplayer-1.1.1.orig/av_opts.c mplayer-1.1.1/av_opts.c
--- mplayer-1.1.1.orig/av_opts.c	2012-01-28 14:51:57.0 +0100
+++ mplayer-1.1.1/av_opts.c	2013-12-24 06:49:16.0 +0100
@@ -42,7 +42,7 @@
 arg = strchr(str, '=');
 if(arg)  *arg++= 0;
 
-if(av_set_string3(v, str, arg, 0, NULL)  0){
+if (av_opt_set(v, str, arg, 0)  0) {
 free(start);
 return -1;
 }
diff -ur -xdebian mplayer-1.1.1.orig/bstr.c mplayer-1.1.1/bstr.c
--- mplayer-1.1.1.orig/bstr.c	2010-07-19 00:00:48.0 +0200
+++ mplayer-1.1.1/bstr.c	2013-12-24 06:49:16.0 +0100
@@ -18,6 +18,7 @@
 
 #include string.h
 #include libavutil/avutil.h
+#include libavutil/common.h
 
 #include bstr.h
 
diff -ur -xdebian mplayer-1.1.1.orig/codec-cfg.c mplayer-1.1.1/codec-cfg.c
--- mplayer-1.1.1.orig/codec-cfg.c	2012-05-08 12:56:22.0 +0200
+++ mplayer-1.1.1/codec-cfg.c	2013-12-24 06:49:16.0 +0100
@@ -54,6 +54,7 @@
 #include help_mp.h
 
 #include libavutil/avutil.h
+#include libavutil/common.h
 #include libmpcodecs/img_format.h
 #include codec-cfg.h
 
diff -ur -xdebian mplayer-1.1.1.orig/configure mplayer-1.1.1/configure
--- mplayer-1.1.1.orig/configure	2012-05-22 20:01:51.0 +0200
+++ mplayer-1.1.1/configure	2013-12-24 06:49:16.0 +0100
@@ -1554,7 +1554,7 @@
   fi
 fi
 
-extra_cflags=-I. -Iffmpeg $extra_cflags
+extra_cflags=-I. $extra_cflags
 extra_ldflags=-lm $extra_ldflags
 _timer=timer-linux.c
 _getch=getch2.c
diff -ur -xdebian mplayer-1.1.1.orig/fmt-conversion.h mplayer-1.1.1/fmt-conversion.h
--- mplayer-1.1.1.orig/fmt-conversion.h	2011-03-01 22:44:15.0 +0100
+++ mplayer-1.1.1/fmt-conversion.h	2013-12-24 06:49:16.0 +0100
@@ -22,6 +22,7 @@
 #include config.h
 #include libavutil/avutil.h
 #include libavutil/samplefmt.h
+#include libavutil/pixfmt.h
 
 enum PixelFormat imgfmt2pixfmt(int fmt);
 int pixfmt2imgfmt(enum PixelFormat pix_fmt);
diff -ur -xdebian mplayer-1.1.1.orig/libaf/af_format.c mplayer-1.1.1/libaf/af_format.c
--- mplayer-1.1.1.orig/libaf/af_format.c	2011-10-26 17:12:35.0 +0200
+++ mplayer-1.1.1/libaf/af_format.c	2013-12-24 06:49:16.0 +0100
@@ -34,6 +34,7 @@
 #include libvo/fastmemcpy.h
 
 #include libavutil/avutil.h
+#include libavutil/common.h
 
 /* Functions used by play to convert the input audio to the correct
format */
diff -ur -xdebian mplayer-1.1.1.orig/libaf/af_lavcac3enc.c mplayer-1.1.1/libaf/af_lavcac3enc.c
--- mplayer-1.1.1.orig/libaf/af_lavcac3enc.c	2012-02-19 16:21:23.0 +0100
+++ mplayer-1.1.1/libaf/af_lavcac3enc.c	2013-12-24 06:49:16.0 +0100
@@ -34,6 +34,7 @@
 
 #include libavcodec/avcodec.h
 #include libavutil/intreadwrite.h
+#include libavutil/common.h
 
 #define AC3_MAX_CHANNELS6
 #define AC3_FRAME_SIZE   1536
diff -ur -xdebian mplayer-1.1.1.orig/libmpcodecs/vd_ffmpeg.c mplayer-1.1.1/libmpcodecs/vd_ffmpeg.c
--- mplayer-1.1.1.orig/libmpcodecs/vd_ffmpeg.c	2012-06-02 17:00:52.0 +0200
+++ mplayer-1.1.1/libmpcodecs/vd_ffmpeg.c	2013-12-24 06:49:16.0 +0100
@@ -47,6 +47,18 @@
 
 #include libavcodec/avcodec.h
 
+#ifndef AV_EF_COMPLIANT
+#define AV_EF_COMPLIANT 0
+#endif
+
+#ifndef AV_EF_CAREFUL
+#define 

Bug#731667: lxc-initscript stop should call stop -s and not shutdown

2013-12-07 Thread Gianluigi Tiesi
Source: lxc
Version: 1.0.0~alpha3-3
Severity: important

Hi, lxc init script uses lxc-initscript to start/stop
containers.
lxc-initscript calls lxc shutdown -t 10 on action stop
lxc-shutdown was replaced by lxc-stop -s (correct?)

so the line should be changed from:
Lxc shutdown -t 10
to:
Lxc stop -s -t 10

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash


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



Bug#731231: Acknowledgement (lxc-attach: getpwuid() fails in ubuntu container)

2013-12-07 Thread Gianluigi Tiesi

The bug is fixed using kernel 3.11-0.bpo.2-amd64 and lxc 1.0.0~alpha3-4

Regards

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#731231: lxc-attach: getpwuid() fails in ubuntu container

2013-12-03 Thread Gianluigi Tiesi
Source: lxc
Severity: minor
Tags: upstream

I'm using lxc 0.9.0~alpha3 on wheezy on 3.10-0.bpo.3-amd64
because unfortunately with stable packages/kernel
is almost unusable.
I've some containers, some even adapted from old distribution,
I have one with ubuntu precise and lxc-attach (without command)
is unable to detect user shell inside the container

it says:

lxc-attach: Bad file descriptor - failed to get passwd entry for uid '0'

(I've attached the strace log)

if I pass the command (i.e. /bin/bash) the command works correctly

I've also tried ltrace but it does not give me useful infos

gdb session:

warning: .dynamic section for /lib/x86_64-linux-gnu/libnss_compat.so.2 is not 
at the expected address (wrong lib
rary or version mismatch?)
warning: .dynamic section for /lib/x86_64-linux-gnu/libnsl.so.1 is not at the 
expected address (wrong library or
 version mismatch?)


looks like the host binary calls libc helpers of the container

there is a way to preload host's libc stuff?

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash


trace.log.gz
Description: application/gzip


Bug#731231: Acknowledgement (lxc-attach: getpwuid() fails in ubuntu container)

2013-12-03 Thread Gianluigi Tiesi

Confirmed working by dlopening

libnss_compat.so.2 and libnsl.so.1
just before lxc_attach_to_ns()

Regards

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#612357: Hint

2013-11-17 Thread Gianluigi Tiesi

On 11/17/13 21:52, Antoine Sirinelli wrote:

root@hal:~# ifup lxc0
root@hal:~# ifconfig lxc0
lxc0  Link encap:Ethernet  HWaddr f6:97:98:0f:58:fe
   adr inet6: fe80::f497:98ff:fe0f:58fe/64 Scope:Lien
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 lg file transmission:0
   RX bytes:0 (0.0 B)  TX bytes:508 (508.0 B)


The only way to get an IP assigned to the bridge is to add the following
directive in the iface declaration:

 post-up /sbin/ip addr add 10.42.42.1/24 dev lxc0

This is a really annoying bug I come across very often.



man bridge-utils-interfaces

   bridge_ports interface specification
  this option must exist for the scripts to setup the 
bridge, with it you  specify  the  ports  you
  want  to  add  to your bridge, either using none if you 
want a bridge without any interfaces or
  you want to add them later using brctl, or a list of the 
interfaces you want to add separated  by

  spaces, for example:
  bridge_ports eth0 eth4

I'm using bridge utils from wheezy, version 1.5-6
You may using another version

Regards

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#612357: Hint

2013-11-17 Thread Gianluigi Tiesi

On 11/17/13 21:52, Antoine Sirinelli wrote:

On Fri, Jul 26, 2013 at 04:13:47AM +0200, Gianluigi Tiesi wrote:

try using a non existent interface as bridge_port

something like bridge_ports none


It does not work. Here is an example:

iface lxc0 inet manual


- inet static
(you may also want to add auto lxc0)

Regards


--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#728750: add a mandatory option to lxc-detroy to really remove the container

2013-11-04 Thread Gianluigi Tiesi
Source: lxc
Severity: wishlist
Tags: patch upstream

Hi maintainer,
by using different virtualization system one get used to
call destroy the action of stopping a vm.
In lxc context destroy really means to remove the container.

It would be nice to actually requiring something like -y
to really remove the container.

I known this kind of change can break scripts and may not be
easy accepted, but I think it can avoid some headaches.

I've attached a proposted patch

Regards

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
--- /usr/bin/lxc-destroy.orig	2013-11-05 01:16:06.326585022 +0100
+++ /usr/bin/lxc-destroy	2013-11-05 01:18:41.422587740 +0100
@@ -26,7 +26,7 @@
 #
 
 usage() {
-echo usage: $(basename $0) -n NAME [-f] 2
+echo usage: $(basename $0) -n NAME [-f] -y 2
 }
 
 help() {
@@ -37,6 +37,7 @@
 echo Options: 2
 echo   -n NAME   specify the name of the container 2
 echo   -fstop the container if it is running (rather than abort) 2
+echo   -yrequired to actually remove the container 2
 }
 
 usage_err() {
@@ -53,6 +54,7 @@
 
 . /usr/share/lxc/lxc.functions
 force=0
+really=0
 
 while [ $# -gt 0 ]; do
 opt=$1
@@ -70,6 +72,9 @@
 -f)
 force=1
 ;;
+-y)
+really=1
+;;
 --)
 break
 ;;
@@ -103,6 +108,11 @@
 exit 1
 fi
 
+if [ ! $really -eq 1 ]; then
+echo $(basename $0): -y is required to actually delete the container
+exit 1
+fi
+
 # make sure the container is stopped
 if ! lxc-info -n $lxc_name --state-is STOPPED; then
 if [ $force -eq 1 ]; then


Bug#725387: Re : wheezy's shipped ntfs-3g causes strange fs corruptions

2013-10-08 Thread Gianluigi Tiesi

On 10/08/13 10:47, Jean-Pierre André wrote:

Hi,

The errors exhibited by chkdsk are typical of what
happens when two OS access a partition with one of
them not being aware of the changes done by the
other one.

A typical situation for this to happen is updating on
Linux a partition mounted on Windows while the
latter is hibernated. On Windows 7 this situation can
only be detected when the Windows system partition
is mounted. There were no changes related to such
detection between the versions you mentioned.

I would rather suspect you were updating through
Windows 8. This system brought a new mode with
half-hibernation which can be detected on all
partitions. This new mode was taken into account
between the versions you mentioned, and mounting
on Linux is now prohibited during such hibernation.

Please understand that ntfs-3g 2012.1.15AR.5 (released
on Apr 13, 2012) could not take into account what
Microsoft released at a later date.

Similar errors may also happen in some special
architectures, such as different cacheing on a SSD.
If this is your situation, please bring details.



Hi, It's a windows 7 fresh install, the system was not hibernated when I 
had these problems, ntfscheck/info said about some unsupported flags


With updated 1:2013.1.13AR.1-2 version I never had any problems
while 2012.1.15AR.5 caused a lot of troubles

It's an hard disk not an SSD.
It's very strange no one noticed the problem because I think there is 
nothing uncommon in my configuration.


I have another box in a similar configuration but I never had problem 
because it's a sid so it has new version


Please tell me if I can provide more informations

Regards

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#725387: Re : wheezy's shipped ntfs-3g causes strange fs corruptions

2013-10-07 Thread Gianluigi Tiesi

On 10/07/13 22:34, Jean-Pierre André wrote: Hi,

 problematic version: 1:2012.1.15AR.5-2.1
 backported working version: 1:2013.1.13AR.1-2
 Can you please confirm which one is the version
 with suspected bad behavior ?

the version in wheezy is 1:2012.1.15AR.5-2.1, I had corruption every 
time I was writing to the disk.


I've backported 1:2013.1.13AR.1-2 from sid and corruption problems are gone.


 If you fixed the file system by using chkdsk, can
 you please post its log, which you can find in

I'm attaching some chkdsk logs, I've already cleaned and converted utf-8
unfortunately they are in Italian language, but I don't think it's a big 
problem


Regards

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


Chkdsk.tar.bz2
Description: application/bzip


Bug#725387: wheezy's shipped ntfs-3g causes strange fs corruptions

2013-10-04 Thread Gianluigi Tiesi
Package: ntfs-3g
Version: 1:2013.1.13AR.1-2
Severity: important
Tags: upstream

Hi, the wheezy's version of ntfs-3g causes strange
filesystem corruptions on my windows 7 ntfs partitions
like non deletable empty directories or similar problems.

I have my thunderbird profile shared between linux
and windows, and it becames corrupted after opening
thunderbird on windows

I've backported unstable version and seems to fix
these problems

problematic version: 1:2012.1.15AR.5-2.1
backported working version: 1:2013.1.13AR.1-2

it's not kernel related since I've also
tested bpo kernel

attached ntfsinfo --mft

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages ntfs-3g depends on:
ii  debconf [debconf-2.0]  1.5.51
ii  fuse   2.9.2-4
ii  libc6  2.17-93
ii  libfuse2   2.9.2-4
ii  libgcrypt111.5.3-2
ii  libgnutls262.12.23-7
ii  multiarch-support  2.17-93

ntfs-3g recommends no packages.

ntfs-3g suggests no packages.

-- debconf information excluded
Volume Information 
Name of device: /dev/sda2
Device state: 11
Volume Name: Windows7_OS
Volume State: 91
Volume Flags: 0x
Volume Version: 3.1
Sector Size: 512
Cluster Size: 4096
Index Block Size: 4096
Volume Size in Clusters: 39154261
MFT Information 
MFT Record Size: 1024
MFT Zone Multiplier: 0
MFT Data Position: 24
MFT Zone Start: 786432
MFT Zone End: 5680714
MFT Zone Position: 786432
Current Position in First Data Zone: 5680714
Current Position in Second Data Zone: 0
Allocated clusters 54732 (0.1%)
LCN of Data Attribute for FILE_MFT: 786432
FILE_MFTMirr Size: 4
LCN of Data Attribute for File_MFTMirr: 2
Size of Attribute Definition Table: 2560
Number of Attached Extent Inodes: 0
FILE_Bitmap Information 
FILE_Bitmap MFT Record Number: 6
State of FILE_Bitmap Inode: 80
Length of Attribute List: 0
Number of Attached Extent Inodes: 0
FILE_Bitmap Data Attribute Information
Decompressed Runlist: not done yet
Base Inode: 6
Attribute Types: not done yet
Attribute Name Length: 0
Attribute State: 3
Attribute Allocated Size: 4894720
Attribute Data Size: 4894288
Attribute Initialized Size: 4894288
Attribute Compressed Size: 0
Compression Block Size: 0
Compression Block Size Bits: 0
Compression Block Clusters: 0
Free Clusters: 24985407 (63.8%)


Bug#723065: lmt tries to set ondemand scaling governor while the cpu has only performance powersave

2013-09-15 Thread Gianluigi Tiesi
Package: laptop-mode-tools
Severity: normal

Hi I have a lenovo thinkpad w520 with debian unstable 

kernel version 3.10-2-amd64

[] Laptop mode disabled, not active SETTING OF KERNEL PARAMETER FAILED: 
echo ondemand \ /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor SETTING 
OF KERNEL PARAMETER FAILED: echo ondemand \ 
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor SETTING OF KERNEL 
PARAMETER FAILED: echo ondemand \ 
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor SETTING OF KERNEL 
PARAMETER FAILED: echo ondemand \ 
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor SETTING OF KERNEL 
PARAMETER FAILED: echo ondemand \ 
/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor SETTING OF KERNEL 
PARAMETER FAILED: echo ondemand \ 
/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor SETTING OF KERNEL 
PARAMETER FAILED: echo ondemand \ 
/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor SETTING OF KERNEL 
PARAMETER FAILED: echo ondemand \ /sys/devices/system/cpu/cpu7/cpufreq/sca[ ok 
governor.


while:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors 
performance powersave

echo ondemand  /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
-bash: echo: write error: Invalid argument


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash


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



Bug#723066: lmt gui compatibilty with pyside

2013-09-15 Thread Gianluigi Tiesi
Package: laptop-mode-tools
Severity: wishlist
Tags: patch

I use pyside instead pyqt4, attached patch makes the gui work
also when the system has pyside and not pyqt4

you may add pyside as alternative in recommends

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
--- lmt-config-gui.orig	2013-09-15 19:05:11.0 +0200
+++ lmt-config-gui	2013-09-16 03:29:11.125235320 +0200
@@ -1,6 +1,9 @@
 #!/usr/bin/env python
 
-from PyQt4 import QtGui, QtCore
+try:
+from PyQt4 import QtGui, QtCore
+except ImportError:
+from PySide import QtGui, QtCore
 
 import os, sys, shutil
 


Bug#721667: libsvn-perl is uninstallable after upgrading to perl 5.18

2013-09-02 Thread Gianluigi Tiesi
Package: libsvn-perl
Version: 1.7.9-1+nmu3
Severity: serious

Hi,
on many systems where I have git-svn, libsvn-perl prevents perl upgrade
to 5.18, on system where perl is already upgraded libsvn-perl is
uninstallable:

The following packages have unmet dependencies:
 libsvn-perl : Depends: perlapi-5.14.2 but it is not installable

Regards

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libsvn-perl depends on:
ii  libapr1 1.4.8-1
ii  libc6   2.17-92+b1
ii  libsvn1 1.7.9-1+nmu3
ii  multiarch-support   2.17-92+b1
ii  perl5.14.2-21
ii  perl-base [perlapi-5.14.2]  5.14.2-21

libsvn-perl recommends no packages.

libsvn-perl suggests no packages.

-- no debconf information


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



Bug#612357: Hint

2013-07-25 Thread Gianluigi Tiesi

try using a non existent interface as bridge_port

something like bridge_ports none

ifup will add nothing if the iface is not in /sys/class/net/



--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#713035: FTBFS on amd64/ia64 testsuite fails

2013-06-27 Thread Gianluigi Tiesi

On 06/27/13 16:37, Aurelien Jarno wrote:

On Sat, Jun 22, 2013 at 12:55:56AM +0200, Gianluigi Tiesi wrote:

Package: libc6
Version: 2.17-5
Severity: important

libc6 2.17-6 FTBFS on amd64 and ia64 architectures due to
some testsuite checks

look at https://buildd.debian.org/status/package.php?p=eglibcsuite=sid



The problem is that the amd64 and ia64 build daemons are using eatmydata
to speed-up the build process. It causes some tests to fails, as
eatmydata doesn't simulate the sync functions as cancellation point.

So the problem is not on the eglibc side, and I don't know what we can
do on the package side.



the bug may be forwarded to eatmydata package, eglibc will not build 
anymore on that platform


Regards

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#713035: FTBFS on amd64/ia64 testsuite fails

2013-06-21 Thread Gianluigi Tiesi
Package: libc6
Version: 2.17-5
Severity: important

libc6 2.17-6 FTBFS on amd64 and ia64 architectures due to
some testsuite checks

look at https://buildd.debian.org/status/package.php?p=eglibcsuite=sid

Regards

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  libgcc1  1:4.8.1-3

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]  1.5.50
ii  glibc-doc  2.17-5
ii  locales2.17-5

-- debconf information excluded


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



Bug#708711: src:krb5: 1.10.1+dfsg-6 builds on 0 architectures

2013-06-17 Thread Gianluigi Tiesi

On 06/17/13 21:27, Sam Hartman wrote:


If you or someone else wants to NMU a solution to this, be my guest.
I'd recommend uploading without delay.



I can't but I think it may be preferable since the landing of version in 
experimental may encounter some delay, krb5 is widely linked


Regards

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#706420: transgui.desktop not compliant with XDG standards

2013-04-29 Thread Gianluigi Tiesi
Package: transgui
Severity: minor

kbuildsycoca4 running...
kbuildsycoca4(2321) KConfigGroup::readXdgListEntry: List entry MimeType in 
/usr/share/applications/transgui.desktop is not compliant with XDG standard 
(missing trailing semicolon). 

It's enough to add the missing semicolon to MimeType line

Regards

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages transgui depends on:
ii  libatk1.0-0 2.4.0-2
ii  libc6   2.13-38
ii  libcairo2   1.12.2-3
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-02.33.12+really2.32.4-5
ii  libgtk2.0-0 2.24.10-2
ii  libpango1.0-0   1.30.0-1
ii  libssl1.0.0 1.0.1e-2
ii  libx11-62:1.5.0-1

transgui recommends no packages.

transgui suggests no packages.


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



Bug#698607: Compatibility with 3.7-trunk kernel

2013-01-20 Thread Gianluigi Tiesi
Package: virtualbox-dkms
Version: 4.1.18-dfsg-2
Severity: important
Tags: upstream patch

I'm attaching a patch to compile with debian 3.7 kernel
I don't known when VM_RESERVED gone in kernel, my patch checks for 3.7
I've seen other reports about 3.6 but I've opened a new bug since they are
duplicated and confusing.

the check can be done on VM_RESERVED definition but the better way
would be find when removed in the kernel. I don't have a kernel git tree now

Regards


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages virtualbox-dkms depends on:
pn  dkmsnone
ii  dpkg1.16.9
pn  virtualbox  none

virtualbox-dkms recommends no packages.

virtualbox-dkms suggests no packages.
diff -ur virtualbox-4.1.18.orig/r0drv/linux/memobj-r0drv-linux.c virtualbox-4.1.18/r0drv/linux/memobj-r0drv-linux.c
--- virtualbox-4.1.18.orig/r0drv/linux/memobj-r0drv-linux.c	2012-06-20 15:18:16.0 +0200
+++ virtualbox-4.1.18/r0drv/linux/memobj-r0drv-linux.c	2013-01-21 00:13:52.623084810 +0100
@@ -1448,7 +1448,11 @@
 
 #if   defined(VBOX_USE_INSERT_PAGE)  LINUX_VERSION_CODE = KERNEL_VERSION(2, 6, 22)
 rc = vm_insert_page(vma, ulAddrCur, pMemLnxToMap-apPages[iPage]);
+#if LINUX_VERSION_CODE  KERNEL_VERSION(3, 7, 0)
 vma-vm_flags |= VM_RESERVED; /* This flag helps making 100% sure some bad stuff wont happen (swap, core, ++). */
+#else
+vma-vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
+#endif
 #elif LINUX_VERSION_CODE = KERNEL_VERSION(2, 6, 11)
 rc = remap_pfn_range(vma, ulAddrCur, page_to_pfn(pMemLnxToMap-apPages[iPage]), PAGE_SIZE, fPg);
 #elif defined(VBOX_USE_PAE_HACK)


Bug#693426: wine 1.5.6 needs wine gecko 1.5 as http://wiki.winehq.org/Gecko

2013-01-04 Thread Gianluigi Tiesi
Package: libwine-gecko-1.4
Followup-For: Bug #693426

as the website says:
http://wiki.winehq.org/Gecko

wine 1.5.6 needs 1.5 version of wine gecko
manually installing 1.5 makes e.g. iexplorer display webpages


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash


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



Bug#692249: sata boot+grub unknown filesystem without boot=on

2012-12-30 Thread Gianluigi Tiesi

On 12/29/12 15:57, Michael Tokarev wrote:

Control: tags -1 + moreinfo unreproducible

04.11.2012 08:49, Gianluigi Tiesi wrote:

Package: qemu-kvm
Severity: minor

Hi, I've noticed my kvm warns about using boot=on so I've decided to
find some documentation,
as I found boot=on enables extboot option rom removed upstream because
seabios can boot directly
from sata. References in #652447, perhaps I was able to boot as linux
vm from a scsi disk using
latest seabios code without using lsi proprietary rom (maybe they
implemented scsi boot).

if I run:
vm -m 1024 -snapshot -device ahci,id=ahci0,bus=pci.0,addr=0x5 -drive
file=/dev/sda,if=none,id=drive-sata0-0-0,format=raw,boot=on -device
ide-hd,bus=ahci0.0,drive=drive-sata0-0-0,id=sata0-0-0


This is not scsi, this is ahci, FWIW.


Yes true, but boot=on option was made for scsi, so why it makes work my 
ahci setup that instead would not work? I mean it should be unrelated 
but instead looks like related.





kvm complains about deprecated boot=on, grub loads and it can boot

but if I run:
kvm -m 1024 -snapshot -device ahci,id=ahci0,bus=pci.0,addr=0x5 -drive
file=/dev/sda,if=none,id=drive-sata0-0-0,format=raw -device
ide-hd,bus=ahci0.0,drive=drive-sata0-0-0,id=sata0-0-0

grub loads but it's unable to identify the filesystem


Well.  Which version of seabios is that?  I'm asking because
this does not boot at all with current seabios+qemu-kvm from
wheezy: guest bios does not find any boot device.  If in your
case guest bios finds the boot device and loads grub, it must
be some other version of either qemu-kvm or seabios.


I'm on sid, and the just updated seabios 1.7.1-1 exposes same behavior
qemu-kvm is 1.1.2+dfsg-3



But at any rate, you forgot one more parameter: it is bootindex.
Try this:

  kvm -m 1024 -snapshot \
   -device ahci,id=ahci0,bus=pci.0,addr=0x5 \
   -drive file=/dev/sda,if=none,id=drive-sata0-0-0,format=raw \
   -device
ide-hd,bus=ahci0.0,drive=drive-sata0-0-0,id=sata0-0-0,bootindex=0

This works here just fine.


Unfortunately bootindex options changes nothing



Does it answer your question/issue?


sda4 is ext4, and I'm trying to boot my windows from my linux

maybe seabios it's unable to correcly map whole drive?


Nope, it is completely unrelated.  For any virtual disk drive
given by qemu to the guest - no matter at all which it is on
the host - the guest (including the bios) sees it just like
a regular disk drive.  It is up to qemu to make the host
representation of it completely transparent, and qemu does a
good job in there.



here grub2 without boot=on

Booting from Hard Disk...
GRUB loading.
Welcome to GRUB!

error: unknown filesystem.
Entering rescue mode...
grub rescue ls
(hd0) (hd0,msdos4) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (fd0)
grub rescue ls (hd0,msdos4)
error: unknown filesystem.

while it works fine with boot=on

Grub2 files are in my currently mounted root partition

Regards

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#695331: SC_Prompt auth support

2012-12-07 Thread Gianluigi Tiesi
Package: ssvnc
Severity: wishlist
Tags: upstream patch

I've implemented scprompt auth request, used by ultravnc when passing 
-sc_exit or -sc_prompt
The relevant code is:
http://ultravnc.svn.sourceforge.net/viewvc/ultravnc/UltraVNC%20Project%20Root/UltraVNC/winvnc/winvnc/vncclient.cpp?revision=753view=markup

I'm not sure about the use of Swap32IfBE(), but since the ultravnc code is le I 
think it should be correct to
use this function.

Regards


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages ssvnc depends on:
ii  bind9-host [host]  1:9.8.4.dfsg-1
ii  libc6  2.13-37
ii  libice62:1.0.8-2
ii  libjpeg8   8d-1
ii  libsm6 2:1.2.1-2
ii  libssl1.0.01.0.1c-4
ii  libx11-6   2:1.5.0-1
ii  libxaw72:1.0.10-2
ii  libxext6   2:1.3.1-2
ii  libxmu62:1.1.1-1
ii  libxpm41:3.5.10-1
ii  libxt6 1:1.1.3-1
ii  openssh-client 1:6.0p1-3
ii  openssl1.0.1c-4
ii  procps 1:3.3.4-2
ii  psmisc 22.20-1
pn  stunnel4   none
pn  tk none
ii  xterm  278-4
ii  zlib1g 1:1.2.7.dfsg-13

Versions of packages ssvnc recommends:
pn  default-jre | java5-runtime  none

ssvnc suggests no packages.
--- ssvnc-1.0.29.orig/vnc_unixsrc/vncviewer/rfbproto.c
+++ ssvnc-1.0.29/vnc_unixsrc/vncviewer/rfbproto.c
@@ -46,6 +46,7 @@ static int SelectSecurityType(void);
 static Bool PerformAuthenticationTight(void);
 static Bool AuthenticateVNC(void);
 static Bool AuthenticateUltraVNC(void);
+static Bool AuthenticateSCPrompt(void);
 static Bool AuthenticateUnixLogin(void);
 static Bool ReadInteractionCaps(void);
 static Bool ReadCapabilityList(CapsContainer *caps, int count);
@@ -935,6 +936,11 @@ InitialiseRFBConnection(void)
 return False;
 			}
 			break;
+		case rfbUltraVNC_SCPrompt:
+			if (!AuthenticateSCPrompt()) {
+return False;
+			}
+			break;
 		default:  /* should never happen */
 			sprintf(msgbuf, Internal error: Invalid security type: %d\n, secType);
 			wmsg(msgbuf, 1);
@@ -1075,7 +1081,7 @@ static int
 SelectSecurityType(void)
 {
 	CARD8 nSecTypes;
-	CARD8 knownSecTypes[] = {rfbSecTypeNone, rfbSecTypeVncAuth, rfbSecTypeUltra};
+	CARD8 knownSecTypes[] = {rfbSecTypeNone, rfbSecTypeVncAuth, rfbSecTypeUltra, rfbUltraVNC_SCPrompt};
 	int nKnownSecTypes = sizeof(knownSecTypes);
 	CARD8 *secTypes;
 	CARD8 secType = rfbSecTypeInvalid;
@@ -1083,6 +1089,7 @@ SelectSecurityType(void)
 	int have_none = 0;
 	int have_vncauth = 0;
 	int have_ultra = 0;
+	int have_scprompt = 0;
 
 	fprintf(stderr, \nSelectSecurityType:\n);
 
@@ -1110,6 +1117,8 @@ SelectSecurityType(void)
 			have_vncauth = 1;
 		} else if (rfbSecTypeUltra == secTypes[j]) {
 			have_ultra = 1;
+		} else if (rfbUltraVNC_SCPrompt == secTypes[j]) {
+			have_scprompt = 1;
 		}
 	}
 
@@ -1135,10 +1144,11 @@ SelectSecurityType(void)
 	}
 
 	if (have_ultra) {
-		if(have_none || have_vncauth) {
-			knownSecTypes[0] = rfbSecTypeUltra; 
-			knownSecTypes[1] = rfbSecTypeNone; 
-			knownSecTypes[2] = rfbSecTypeVncAuth; 
+		if(have_none || have_vncauth || have_scprompt) {
+			knownSecTypes[0] = rfbUltraVNC_SCPrompt;
+			knownSecTypes[1] = rfbSecTypeUltra; 
+			knownSecTypes[2] = rfbSecTypeNone; 
+			knownSecTypes[3] = rfbSecTypeVncAuth; 
 		} else {
 			fprintf(stderr, Info: UltraVNC server not offering security types 'None' or 'VncAuth'.\n);
 		}
@@ -1843,6 +1853,38 @@ AuthenticateUltraVNC(void)
 	return False;
 }
 
+static Bool
+AuthenticateSCPrompt(void)
+{
+	char message[1025];
+	CARD32 size, accepted = Swap32IfBE(1);
+
+	if (!ReadFromRFBServer((char *)size, 4)) {
+		return False;
+	}
+
+	size = Swap32IfBE(size);
+
+	if ((size  0) || (size  1024)) {
+		fprintf(stderr, UltraVNC SCPrompt invalid message size %d\n, size);
+		if (size  0) size = 0;
+		if (size  1024) size = 1024;
+	}
+
+	if (!ReadFromRFBServer((char *)message, size)) {
+		return False;
+	}
+
+	message[size] = 0;
+	fprintf(stderr, UltraVNC SCPrompt message:\n%s, message);
+
+	if (!WriteExact(rfbsock, (char *)accepted, 4)) {
+		return False;
+	}
+
+	return AuthenticateUltraVNC();
+}
+
 /*
  * Unix login-style authentication.
  */


Bug#674821: xserver-xorg-input-tslib: undefined symbol: xf86XInputSetScreen reported when X loads tslib_drv.so

2012-12-07 Thread Gianluigi Tiesi

On 12/05/12 01:24, Gianluigi Tiesi wrote:

Package: xf86-input-tslib
Followup-For: Bug #674821

I've tested by commenting out the call and works without problems, to be sure 
I've instead
made a patch using the code that was removed from xorg, so teorically it should 
behave like
in xorg 1.11

I've not directly tested the effect of the patch, but it should be ok,
I'll report results asap

Regards


Hi, I've just tested the patch and it works fine for me, it would be 
nice to have the package in wheezy but I don't known exactly the policy


Regards


--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


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



Bug#674821: xserver-xorg-input-tslib: undefined symbol: xf86XInputSetScreen reported when X loads tslib_drv.so

2012-12-04 Thread Gianluigi Tiesi
Package: xf86-input-tslib
Followup-For: Bug #674821

I've tested by commenting out the call and works without problems, to be sure 
I've instead
made a patch using the code that was removed from xorg, so teorically it should 
behave like
in xorg 1.11

I've not directly tested the effect of the patch, but it should be ok,
I'll report results asap

Regards


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
diff -ur xf86-input-tslib-0.0.6.orig/src/tslib.c xf86-input-tslib-0.0.6/src/tslib.c
--- xf86-input-tslib-0.0.6.orig/src/tslib.c	2012-12-05 01:12:16.286597071 +0100
+++ xf86-input-tslib-0.0.6/src/tslib.c	2012-12-05 01:11:02.686598595 +0100
@@ -75,6 +75,19 @@
 #define COLLECT_INPUT_OPTIONS(pInfo, options) xf86CollectInputOptions((pInfo), (options))
 #endif
 
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION)  13
+static void
+xf86XInputSetScreen(InputInfoPtr	pInfo,
+		int			screen_number,
+		int			x,
+		int			y)
+{
+if (miPointerGetScreen(pInfo-dev) !=
+  screenInfo.screens[screen_number]) {
+	miPointerSetScreen(pInfo-dev, screen_number, x, y);
+}
+}
+#endif
 
 enum { TSLIB_ROTATE_NONE=0, TSLIB_ROTATE_CW=270, TSLIB_ROTATE_UD=180, TSLIB_ROTATE_CCW=90 };
 


Bug#692249: sata boot+grub unknown filesystem without boot=on

2012-11-03 Thread Gianluigi Tiesi
Package: qemu-kvm
Severity: minor

Hi, I've noticed my kvm warns about using boot=on so I've decided to find some 
documentation,
as I found boot=on enables extboot option rom removed upstream because seabios 
can boot directly
from sata. References in #652447, perhaps I was able to boot as linux vm from a 
scsi disk using
latest seabios code without using lsi proprietary rom (maybe they implemented 
scsi boot).

if I run:
vm -m 1024 -snapshot -device ahci,id=ahci0,bus=pci.0,addr=0x5 -drive 
file=/dev/sda,if=none,id=drive-sata0-0-0,format=raw,boot=on -device 
ide-hd,bus=ahci0.0,drive=drive-sata0-0-0,id=sata0-0-0

kvm complains about deprecated boot=on, grub loads and it can boot

but if I run:
kvm -m 1024 -snapshot -device ahci,id=ahci0,bus=pci.0,addr=0x5 -drive 
file=/dev/sda,if=none,id=drive-sata0-0-0,format=raw -device 
ide-hd,bus=ahci0.0,drive=drive-sata0-0-0,id=sata0-0-0

grub loads but it's unable to identify the filesystem

my ptable:
   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *2048 3071999 15349767  HPFS/NTFS/exFAT
/dev/sda2 3072000   236963839   1169459207  HPFS/NTFS/exFAT
/dev/sda3   318883840   351649791163829767  HPFS/NTFS/exFAT
/dev/sda4   236963840   3188838394096   83  Linux

sda4 is ext4, and I'm trying to boot my windows from my linux

maybe seabios it's unable to correcly map whole drive?

Regards


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages qemu-kvm depends on:
ii  adduser 3.113+nmu3
ii  ipxe1.0.0+git-20120202.f6840ba-3
ii  ipxe-qemu   1.0.0+git-20120202.f6840ba-3
ii  libaio1 0.3.109-3
ii  libasound2  1.0.25-4
ii  libbluetooth3   4.99-2
ii  libbrlapi0.54.4-5
ii  libc6   2.13-36
ii  libcurl3-gnutls 7.28.0-2
ii  libglib2.0-02.33.12+really2.32.4-3
ii  libgnutls26 2.12.20-1
ii  libiscsi1   1.4.0-3
ii  libjpeg88d-1
ii  libncurses5 5.9-10
ii  libpng12-0  1.2.49-3
ii  libpulse0   2.0-6
ii  libsasl2-2  2.1.25.dfsg1-6
ii  libsdl1.2debian 1.2.15-5
ii  libspice-server10.11.0-1
ii  libtinfo5   5.9-10
ii  libusbredirparser0  0.4.3-2
ii  libuuid12.20.1-5.2
ii  libvdeplug2 2.3.2-4
ii  libx11-62:1.5.0-1
ii  python  2.7.3-3
ii  qemu-keymaps1.1.2+dfsg-2
pn  qemu-utils  none
ii  seabios 1.7.0-1
ii  vgabios 0.7a-3
ii  zlib1g  1:1.2.7.dfsg-13

Versions of packages qemu-kvm recommends:
pn  bridge-utils  none
ii  iproute   20120521-3

Versions of packages qemu-kvm suggests:
ii  debootstrap  1.0.43
pn  sambanone
pn  vde2 none


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



Bug#672436: the package is also uninstallable

2012-05-11 Thread Gianluigi Tiesi
Package: python-twisted
Version: 12.0.0-1
Followup-For: Bug #672436

the package is not even installable:
 python-twisted : Depends: python-twisted-runner (= 12.0) but it is not going 
to be installed
  Depends: python-twisted-words (= 12.0) but it is not going 
to be installed

perhaps looks like names, names and news are already installable



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



Bug#661404: Something strange happened when upgrading the package

2012-02-26 Thread Gianluigi Tiesi
Package: libatasmart4
Version: 0.18-2
Severity: normal

I've just upgraded the package to 0.18-2 and I've got:

Setting up libatasmart4 (0.18-2) ...
ldconfig: Cannot mmap file /usr/lib/libatasmart.so.

/usr/lib/libatasmart.so - /lib/

/usr/lib/libatasmart.so was linked to /lib

Full upgrade log:

The following NEW packages will be installed:
  gconf-service libgconf-2-4
The following packages will be upgraded:
  default-jre default-jre-headless e2fslibs e2fsprogs gconf2 gconf2-common 
java-common libatasmart-dev libatasmart4 libbsd0 libcomerr2 libgconf2-4 
libgeoip1
  libss2 libvlc5 libvlccore5 psmisc vlc-data vlc-nox
19 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.9 MB of archives.
After this operation, 379 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://debian.fastweb.it/debian/ sid/main e2fslibs amd64 1.42.1-2 [195 kB]
Get:2 http://debian.fastweb.it/debian/ sid/main e2fsprogs amd64 1.42.1-2 [968 
kB]
Get:3 http://debian.fastweb.it/debian/ sid/main libcomerr2 amd64 1.42.1-2 [54.2 
kB]
Get:4 http://debian.fastweb.it/debian/ sid/main libss2 amd64 1.42.1-2 [59.5 kB]
Get:5 http://debian.fastweb.it/debian/ sid/main libatasmart-dev amd64 0.18-2 
[29.9 kB]
Get:6 http://debian.fastweb.it/debian/ sid/main libatasmart4 amd64 0.18-2 [26.8 
kB]
Get:7 http://debian.fastweb.it/debian/ sid/main libbsd0 amd64 0.3.0-2 [53.1 kB]
Get:8 http://debian.fastweb.it/debian/ sid/main gconf2-common all 3.2.3-2 
[2,009 kB]
Get:9 http://debian.fastweb.it/debian/ sid/main gconf-service amd64 3.2.3-2 
[423 kB]
Get:10 http://debian.fastweb.it/debian/ sid/main libgconf2-4 amd64 3.2.3-2 [349 
kB]
Get:11 http://debian.fastweb.it/debian/ sid/main libgconf-2-4 amd64 3.2.3-2 
[432 kB]
Get:12 http://debian.fastweb.it/debian/ sid/main java-common all 0.47 [66.1 kB]
Get:13 http://debian.fastweb.it/debian/ sid/main default-jre amd64 1:1.6-47 
[836 B]
Get:14 http://debian.fastweb.it/debian/ sid/main default-jre-headless amd64 
1:1.6-47 [8,112 B]
Get:15 http://debian.fastweb.it/debian/ sid/main psmisc amd64 22.16-1 [123 kB]
Get:16 http://debian.fastweb.it/debian/ sid/main gconf2 amd64 3.2.3-2 [430 kB]
Get:17 http://debian.fastweb.it/debian/ sid/main libgeoip1 amd64 1.4.8+dfsg-3 
[124 kB]
Get:18 http://debian.fastweb.it/debian/ sid/main libvlccore5 amd64 2.0.0-3 [423 
kB]
Get:19 http://debian.fastweb.it/debian/ sid/main vlc-data all 2.0.0-3 [8,768 kB]
Get:20 http://debian.fastweb.it/debian/ sid/main libvlc5 amd64 2.0.0-3 [46.7 kB]
Get:21 http://debian.fastweb.it/debian/ sid/main vlc-nox amd64 2.0.0-3 [3,317 
kB]
Fetched 17.9 MB in 35s (503 kB/s)
Reading changelogs... Done
(Reading database ... 88086 files and directories currently installed.)
Preparing to replace e2fslibs 1.42.1-1 (using .../e2fslibs_1.42.1-2_amd64.deb) 
...
Unpacking replacement e2fslibs ...
Setting up e2fslibs (1.42.1-2) ...
(Reading database ... 88086 files and directories currently installed.)
Preparing to replace e2fsprogs 1.42.1-1 (using 
.../e2fsprogs_1.42.1-2_amd64.deb) ...
Unpacking replacement e2fsprogs ...
Processing triggers for man-db ...
Setting up e2fsprogs (1.42.1-2) ...
(Reading database ... 88086 files and directories currently installed.)
Preparing to replace libcomerr2 1.42.1-1 (using 
.../libcomerr2_1.42.1-2_amd64.deb) ...
Unpacking replacement libcomerr2 ...
Setting up libcomerr2 (1.42.1-2) ...
(Reading database ... 88086 files and directories currently installed.)
Preparing to replace libss2 1.42.1-1 (using .../libss2_1.42.1-2_amd64.deb) ...
Unpacking replacement libss2 ...
Setting up libss2 (1.42.1-2) ...
(Reading database ... 88086 files and directories currently installed.)
Preparing to replace libatasmart-dev 0.18-1 (using 
.../libatasmart-dev_0.18-2_amd64.deb) ...
Unpacking replacement libatasmart-dev ...
Preparing to replace libatasmart4 0.18-1 (using 
.../libatasmart4_0.18-2_amd64.deb) ...
Unpacking replacement libatasmart4 ...
Preparing to replace libbsd0 0.3.0-1 (using .../libbsd0_0.3.0-2_amd64.deb) ...
Unpacking replacement libbsd0 ...
Preparing to replace gconf2-common 3.2.3-1 (using 
.../gconf2-common_3.2.3-2_all.deb) ...
Unpacking replacement gconf2-common ...
Unpacking gconf-service (from .../gconf-service_3.2.3-2_amd64.deb) ...
Preparing to replace libgconf2-4 3.2.3-1 (using 
.../libgconf2-4_3.2.3-2_amd64.deb) ...
Unpacking replacement libgconf2-4 ...
Unpacking libgconf-2-4 (from .../libgconf-2-4_3.2.3-2_amd64.deb) ...
Preparing to replace java-common 0.46 (using .../java-common_0.47_all.deb) ...
Unpacking replacement java-common ...
Preparing to replace default-jre 1:1.6-46 (using 
.../default-jre_1%3a1.6-47_amd64.deb) ...
Unpacking replacement default-jre ...
Preparing to replace default-jre-headless 1:1.6-46 (using 
.../default-jre-headless_1%3a1.6-47_amd64.deb) ...
Unpacking replacement default-jre-headless ...
Preparing to replace psmisc 22.15-2 (using .../psmisc_22.16-1_amd64.deb) ...
Unpacking replacement psmisc ...
Preparing to replace gconf2 3.2.3-1 (using 

Bug#660815: eof on stdin causes gdisk prompt to loop forever

2012-02-21 Thread Gianluigi Tiesi
Package: gdisk
Version: 0.8.1-1+b1
Severity: normal
Tags: patch upstream

simple test case
gdisk /dev/sda

GPT fdisk (gdisk) version 0.8.1

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help):

- ctrl + d

Command (? for help):
Command (? for help):
Command (? for help):
Command (? for help):
Command (? for help):
Command (? for help):
Command (? for help):
Command (? for help):
Command (? for help):
Command (? for help):
Command (? for help):
Command (? for help):
.

attached patch checks for eof on stdin, other parts of code may need same fix
but I only suspect here:
../basicmbr.cc:  switch (ReadString()[0]) {


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages gdisk depends on:
ii  groff-base   1.21-6
ii  libc62.13-26
ii  libgcc1  1:4.6.2-15
ii  libicu48 none
ii  libncurses5  5.9-4
ii  libpopt0 1.16-3
ii  libstdc++6   4.6.2-15
ii  libtinfo55.9-4
ii  libuuid1 2.20.1-1.2

gdisk recommends no packages.

gdisk suggests no packages.
--- gdisk-0.8.1.orig/gpttext.cc	2011-10-01 23:52:33.0 +0200
+++ gdisk-0.8.1/gpttext.cc	2012-02-22 06:02:41.285287856 +0100
@@ -513,6 +513,7 @@
   cout  \nCommand (? for help): ;
   switch (ReadString()[0]) {
  case '\0':
+goOn = !cin.eof();
 break;
  case 'b': case 'B':
 cout  Enter backup filename to save: ;


Bug#660815: Acknowledgement (eof on stdin causes gdisk prompt to loop forever)

2012-02-21 Thread Gianluigi Tiesi

Yes basicmbr.cc needs same fix for fixparts
and multiple parts in gpttext

I've updated the patch

--
Gianluigi Tiesi sher...@netfarm.it
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
Description: Avoid infinite loop on stdin EOF

--- gdisk-0.8.1.orig/gpttext.cc
+++ gdisk-0.8.1/gpttext.cc
@@ -513,6 +513,7 @@ void GPTDataTextUI::MainMenu(string file
   cout  \nCommand (? for help): ;
   switch (ReadString()[0]) {
  case '\0':
+goOn = !cin.eof();
 break;
  case 'b': case 'B':
 cout  Enter backup filename to save: ;
@@ -608,6 +609,7 @@ void GPTDataTextUI::RecoveryMenu(string
   cout  \nRecovery/transformation command (? for help): ;
   switch (ReadString()[0]) {
  case '\0':
+goOn = !cin.eof();
 break;
  case 'b': case 'B':
 RebuildMainHeader();
@@ -733,6 +735,7 @@ void GPTDataTextUI::ExpertsMenu(string f
   cout  \nExpert command (? for help): ;
   switch (ReadString()[0]) {
  case '\0':
+goOn = !cin.eof();
 break;
  case 'a': case 'A':
 if (GetPartRange(temp1, temp2)  0)
--- gdisk-0.8.1.orig/basicmbr.cc
+++ gdisk-0.8.1/basicmbr.cc
@@ -1532,6 +1532,7 @@ int BasicMBRData::DoMenu(const string p
   cout  prompt;
   switch (ReadString()[0]) {
  case '\0':
+goOn = !cin.eof();
 break;
  case 'a': case 'A':
 num = GetNumber(1, MAX_MBR_PARTS, 1, Toggle active flag for 
partition: ) - 1;


Bug#626076: gnome_vfs_unescape_string symbol is exported by /usr/lib/libgnomevfs-2.so.0

2011-08-08 Thread Gianluigi Tiesi
Package: libgnomevfs2-0
Followup-For: Bug #626076


I use 'stock' mozilla packages, I have same problem when using thunderbird 
after selecting
an executable to handle http protocol.
Looks like the symbol is exported by /usr/lib/libgnomevfs-2.so.0:

sherpya@orion:~$ objdump -T /usr/lib/libgnomevfs-2.so.0|grep 
gnome_vfs_unescape_string
00034150 gDF .text  0141  Base
gnome_vfs_unescape_string_for_display
00034000 gDF .text  0147  Basegnome_vfs_unescape_string

but firefox and thunderbird have that lib loaded

sherpya@orion:~$ lsof | grep libgnomevfs-2.so.0
firefox-b 3211sherpya  mem   REG8,1   372444  282138 
/usr/lib/libgnomevfs-2.so.0.2400.4
thunderbi 4624sherpya  mem   REG8,1   372444  282138 
/usr/lib/libgnomevfs-2.so.0.2400.4

so it's a bit strange, but calling thunderbird with LD_PRELOAD apparently 
solves the problem with
thunderbird

LD_PRELOAD=/usr/lib/libgnomevfs-2.so.0 thunderbird

looks like something strange in dlsym

Regards

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgnomevfs2-0 depends on:
ii  dbus1.4.14-1 simple interprocess messaging syst
ii  libacl1 2.2.51-3 Access control list shared library
ii  libavahi-client30.6.30-5 Avahi client library
ii  libavahi-common30.6.30-5 Avahi common library
ii  libavahi-glib1  0.6.30-5 Avahi glib integration library
ii  libc6   2.13-14  Embedded GNU C Library: Shared lib
ii  libdbus-1-3 1.4.14-1 simple interprocess messaging syst
ii  libdbus-glib-1-20.94-4   simple interprocess messaging syst
ii  libfam0 2.7.0-17 Client library to control the FAM 
ii  libgconf2-4 2.32.4-1 GNOME configuration database syste
ii  libgcrypt11 1.4.6-9  LGPL Crypto library - runtime libr
ii  libglib2.0-02.28.6-1 The GLib library of C routines
ii  libgnomevfs2-common 1:2.24.4-1   GNOME Virtual File System (common 
ii  libgnutls26 2.12.7-4 GNU TLS library - runtime library
ii  libselinux1 2.0.98-1.1   SELinux runtime shared libraries
ii  libxml2 2.7.8.dfsg-4 GNOME XML library
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages libgnomevfs2-0 recommends:
ii  dbus-x11  1.4.14-1   simple interprocess messaging syst
pn  libgnomevfs2-extranone (no description available)

Versions of packages libgnomevfs2-0 suggests:
pn  fam   none (no description available)
pn  libgnomevfs2-bin  none (no description available)

-- no debconf information



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



  1   2   >