Bug#940678: Please import pools by stable device label

2019-12-17 Thread Alberto Berti
>>>>> "Petter" == Petter Reinholdtsen  writes:

Petter> So, should this problem be considered a documentation issue, a local
Petter> configuration error, a bug in the startup scripts or something else?

Petter> In other words, should it be kept over or closed as fixed?

Petter> It is the only open RC issue with zfs on linux.

Sorry, I forgot to close it. I've just did it now
-- 
Alberto Berti  -  Information Technology Consultant
PGP: 9377 A68C C5B5 B534 36BD  F20B E3B5 C559 99D6 7CF9

"gutta cavat lapidem"



Bug#940678: Please import pools by stable device label

2019-09-30 Thread Alberto Berti
>>>>> "Antonio" == Antonio Russo  writes:

>> The pool systematically fails to mount after the upgrade, at each boot,
>> even if I manually mounted it.. 


Antonio> The terminology with ZFS is a little different: pools are 
"imported"
Antonio> and the datasets (that are filesystems rather than, say, zvols) 
are then
Antonio> "mounted".  It sounds like you cannot import the pool, and 
therefore you
Antonio> cannot mount the datasets.

yes, that's the case

Antonio> Is your problem reproducible? By that I mean, on reboot, does the 
pool
Antonio> import or not?

no, that's the problem

Antonio> And what do you mean by "manually mounted it"? Are you talking 
about

Antonio> # zpool import -d /dev -aN

And subsequent

 zfs mount -a

Antonio> If it's not mounting on reboot, just use -d /dev/disk/by-id next 
time,
Antonio> and the problem should go away.

Yes, I'll try today or tomorrow night

>> this leads to data loss from a user pow, because the data that's not> 
there may get re-written and generate conflicts.
Antonio> If another application does not gracefully handle missing data, by 
all
Antonio> means that is a bug for that application. That's not, however, a 
ZFS
Antonio> bug.

from my point of view, the problem is that even if a
storage-relate unit (zfs-import-cache) fails, causing the missing mount
of some fs, the system reaches a state where it's considered ok for the
services to start.


Antonio> I would encourage you to open a separate bug, unrelated to this, 
for
Antonio> that issue.

>> 
Antonio> so that your import is done by labels that are stable
Antonio> across boots (names like /dev/sdX are not necessarily
Antonio> stable). This is a "well-known" best practice with ZFS [1]
Antonio> (you should always create pools using these symlinks as
Antonio> well).
>> 
>> good to know, thanks. Although I think that if the hardware
>> configuration nor the kernel version changes between the boots, we can
>> assume that each block device will get the same id... anyway I'll try it.

Antonio> You can check this---note which device nodes are being linked by 
the
Antonio> stable identifiers in /dev/disk/by-id. Do they change on reboot?

Antonio> If you find that your device nodes are to exactly the same drives, 
and
Antonio> yet the pool is not importing as you have found, that's definitely 
a bug,
Antonio> and we'll have to file it upstream. You will need verbatim dmesg 
logs,
Antonio> the zpool status $poolname output, and the output of ls -l 
/dev/disk/by-id
Antonio> on subsequent boots.

Antonio> Upstream will want to see exactly what is going on with the device 
nodes,
Antonio> since that's the most likely cause of this problem.

ok, I'll try your proposed fixes and report back, thanks.

Antonio> Yes, to export a pool, none of its datasets can be in use (e.g., 
mounted).
Antonio> Be careful with the terminology here---exporting a filesystem (or 
dataset)
Antonio> means something totally different than exporting a pool.

yes, the reuse of the terms at both zpool and zfs level is tricky

-- 
Alberto Berti  -  Information Technology Consultant
PGP: 9377 A68C C5B5 B534 36BD  F20B E3B5 C559 99D6 7CF9

"gutta cavat lapidem"



Bug#940678: zfsutils-linux: zfs-import-cache fails w. "one or more devices is currently unavailable" on Buster after upgrade from Stretch

2019-09-18 Thread Alberto Berti
Package: zfsutils-linux
Version: 0.7.12-2+deb10u1
Severity: critical
Justification: causes serious data loss

Dear Maintainer,

after upgrading from Stretch, the zfs filesystems fail to mount at boot time 
due to the zfs-import-cache 
service unit fails, with the following log:

 systemd[1]: Starting Import ZFS pools by cache file...
 zpool[2896]: cannot import 'tank': one or more devices is currently unavailable
 systemd[1]: zfs-import-cache.service: Main process exited, code=exited, 
status=1/FAILURE
 systemd[1]: zfs-import-cache.service: Failed with result 'exit-code'.
 systemd[1]: Failed to start Import ZFS pools by cache file.

In order to manually mount the filesytems, I have to run:

 # zpool import -d /dev  -aN`
 # zfs mount -a

The pool is made by two devices in mirroring.

any clue?
 
-- System Information:
Debian Release: 10.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), 
LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages zfsutils-linux depends on:
ii  libblkid12.33.1-0.1
ii  libc62.28-10
ii  libnvpair1linux  0.7.12-2+deb10u1
ii  libuuid1 2.33.1-0.1
ii  libuutil1linux   0.7.12-2+deb10u1
ii  libzfs2linux 0.7.12-2+deb10u1
ii  libzpool2linux   0.7.12-2+deb10u1
ii  python3  3.7.3-1
ii  zlib1g   1:1.2.11.dfsg-1

Versions of packages zfsutils-linux recommends:
ii  lsb-base10.2019051400
ii  zfs-dkms [zfs-modules]  0.7.12-2+deb10u1
pn  zfs-zed 

Versions of packages zfsutils-linux suggests:
pn  nfs-kernel-server   
pn  samba-common-bin
pn  zfs-initramfs | zfs-dracut  

-- no debconf information



Bug#812590: gvfs-backends: NFS mount capability is missing from the package but has landed in sources

2016-01-25 Thread Alberto Berti
Package: gvfs-backends
Version: 1.26.2-1+b1
Severity: normal

Dear Maintainer,

I was looking how to see NFS shares with gvfs and i found this
upstream bug which states that NFS mount capability was added in
1.23.x: https://bugzilla.gnome.org/show_bug.cgi?id=738967

I have NFS subsystem setup and running correctly from the command line
using 'mount -t nfs ...' commands and the 'showmount' correctly shows
exported directories on the remote server.

But when I tried to mount an NFS share using "gvfs-mount
nfs:///" i receive the following error:

 "Error mounting location: La posizione non รจ montabile"

which can be translated roughly as "Cannot mount such position"

Where is the problem?

Digging deeper I found the very packages' NEWS.gz file which states:

 "Major changes in 1.23.90
  
  * ftp: Implement backups for replace
  * Add an nfs backend based on libnfs"

Is it disabled? How can I re-enable it?

Thanks in advance,

Alberto

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

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gvfs-backends depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.24.0-2
ii  gvfs 1.26.2-1+b1
ii  gvfs-common  1.26.2-1
ii  gvfs-daemons 1.26.2-1+b1
ii  gvfs-libs1.26.2-1+b1
ii  libarchive13 3.1.2-11+b1
ii  libatk1.0-0  2.18.0-1
ii  libavahi-client3 0.6.32~rc+dfsg-1
ii  libavahi-common3 0.6.32~rc+dfsg-1
ii  libavahi-glib1   0.6.32~rc+dfsg-1
ii  libc62.21-6
ii  libcairo-gobject21.14.6-1
ii  libcairo21.14.6-1
ii  libcdio-cdda10.83-4.2+b1
ii  libcdio-paranoia10.83-4.2+b1
ii  libcdio130.83-4.2+b1
ii  libexif120.6.21-2
ii  libgcrypt20  1.6.4-4
ii  libgdata22   0.17.4-1
ii  libgdk-pixbuf2.0-0   2.32.3-1
ii  libglib2.0-0 2.46.2-3
ii  libgoa-1.0-0b3.18.3-1
ii  libgphoto2-6 2.5.9-3
ii  libgphoto2-port122.5.9-3
ii  libgtk-3-0   3.18.6-1
ii  libgudev-1.0-0   230-2
ii  libimobiledevice61.2.0+dfsg-2
ii  libjson-glib-1.0-0   1.0.4-2
ii  libmtp9  1.1.10-2
ii  libpango-1.0-0   1.38.1-1
ii  libpangocairo-1.0-0  1.38.1-1
ii  libplist31.12-3.1
ii  libsecret-1-00.18.3-1
ii  libsmbclient 2:4.3.3+dfsg-1
ii  libsoup2.4-1 2.52.2-1
ii  libxml2  2.9.3+dfsg1-1
ii  psmisc   22.21-2.1+b1

Versions of packages gvfs-backends recommends:
ii  gnome-keyring  3.18.3-1

Versions of packages gvfs-backends suggests:
ii  bluez-obexd   5.36-1
ii  samba-common  2:4.3.3+dfsg-1

-- no debconf information



Bug#637440: flashplugin-nonfree: Fails to install, dowload url is wrong

2011-08-11 Thread Alberto Berti
Package: flashplugin-nonfree
Version: 1:2.8.3
Severity: grave
Justification: renders package unusable

Adobe released a new version of the beta player for amd64 arch, please update 
the package
The new download url is 
http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11/flashplayer11_b2_install_lin_64_080811.tar.gz

thanks

-- Package-specific info:
Debian version: wheezy/sid
Architecture: amd64
Package version: 1:2.8.3
MD5 checksums:
49b55c7eb8044453e5f6f2e4b3cb4084  
/var/cache/flashplugin-nonfree/flashplayer10_2_p3_64bit_linux_111710.tar.gz
a735a3c581337ed2a06a20714846645e  
/var/cache/flashplugin-nonfree/flashplayer_square_p2_64bit_linux_092710.tar.gz
md5sum: /usr/lib/flashplugin-nonfree/libflashplayer.so: No such file or 
directory
Alternatives:
update-alternatives: error: no alternatives for flash-mozilla.so.
ls: cannot access /usr/lib/mozilla/plugins/flash-mozilla.so: No such 
file or directory
/usr/lib/mozilla/plugins/flash-mozilla.so: ERROR: cannot open 
`/usr/lib/mozilla/plugins/flash-mozilla.so' (No such file or directory)

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

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

Versions of packages flashplugin-nonfree depends on:
ii  debconf [debconf 1.5.39  Debian configuration management sy
ii  gnupg1.4.11-3GNU privacy guard - a free PGP rep
ii  libatk1.0-0  2.0.0-1 The ATK accessibility toolkit
ii  libcairo21.10.2-6The Cairo 2D vector graphics libra
ii  libcurl3-gnutls  7.21.6-1Multi-protocol file transfer libra
ii  libfontconfig1   2.8.0-2.2   generic font configuration library
ii  libfreetype6 2.4.4-1 FreeType 2 font engine, shared lib
ii  libgcc1  1:4.6.0-7   GCC support library
ii  libglib2.0-0 2.28.6-1The GLib library of C routines
ii  libgtk2.0-0  2.24.4-3The GTK+ graphical user interface 
ii  libnspr4-0d  4.8.7-2 NetScape Portable Runtime Library
ii  libnss3-1d   3.12.9.with.ckbi.1.82-1 Network Security Service libraries
ii  libpango1.0-01.28.3-6Layout and rendering of internatio
ii  libstdc++6   4.6.0-7 The GNU Standard C++ Library v3
ii  libx11-6 2:1.4.3-1   X11 client-side library
ii  libxext6 2:1.2.0-2   X11 miscellaneous extension librar
ii  libxt6   1:1.1.1-1   X11 toolkit intrinsics library
ii  wget 1.12-3.1retrieves files from the web

flashplugin-nonfree recommends no packages.

Versions of packages flashplugin-nonfree suggests:
pn  flashplugin-nonfree-extrasoun  (no description available)
ii  iceweasel 3.5.19-2   Web browser based on Firefox
pn  konqueror-nsplugins(no description available)
ii  ttf-dejavu2.33-1 Metapackage to pull in ttf-dejavu-
ii  ttf-mscorefonts-installer [ms 3.3Installer for Microsoft TrueType c
pn  ttf-xfree86-nonfree(no description available)
ii  x-ttcidfont-conf  32+nmu2TrueType and CID fonts configurati

-- 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#486931: python-qt4: Python plugins for Qt Designer don't work anymore

2008-06-18 Thread Alberto Berti
Package: python-qt4
Version: 4.4.2-1
Severity: important

After upgrading from python-qt4 4.3.3 python plugins don't work anymore. 
Not just mine, but also those distributed with the examples in python-qt4-doc.
The "About Plugins" dialog in Designer shows that libpythonplugin.so is loaded
but the palette doesn't show any Python widget

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-qt4 depends on:
ii  libc6  2.7-4 GNU C Library: Shared libraries
ii  libgcc11:4.3.0~rc2-1 GCC support library
ii  libqt4-assistant   4.4.0-3   Qt 4 assistant module
ii  libqt4-designer4.4.0-3   Qt 4 designer module
ii  libqt4-help4.4.0-3   Qt 4 help module
ii  libqt4-network 4.4.0-3   Qt 4 network module
ii  libqt4-script  4.4.0-3   Qt 4 script module
ii  libqt4-svg 4.4.0-3   Qt 4 SVG module
ii  libqt4-test4.4.0-3   Qt 4 test module
ii  libqt4-webkit  4.4.0-3   Qt 4 WebKit module
ii  libqt4-xml 4.4.0-3   Qt 4 XML module
ii  libqt4-xmlpatterns 4.4.0-3   Qt 4 XML patterns module
ii  libqtcore4 4.4.0-3   Qt 4 core module
ii  libqtgui4  4.4.0-3   Qt 4 GUI module
ii  libstdc++6 4.3.0~rc2-1   The GNU Standard C++ Library v3
ii  python 2.4.4-6   An interactive high-level object-o
ii  python-central 0.6.7 register and build utility for Pyt
ii  python-elementtree 1.2.6-11  Light-weight toolkit for XML proce
ii  python-qt4-common  4.3.1-1   Shared files for PyQt4
ii  python-sip44.7.6-1   Python/C++ bindings generator runt
ii  python2.5  2.5.1-1   An interactive high-level object-o

python-qt4 recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#368076: sqlrelay: Fails to start after configuration

2006-05-19 Thread Alberto Berti
Package: sqlrelay
Version: 1:0.37-1+b1
Severity: grave
Tags: sid
Justification: renders package unusable

Hi, 

when i try to start sqlrelay after configuration, it complains about a missing 
library:

dns2:~# /etc/init.d/sqlrelay start
Starting SQL Relay ... /usr/bin/sqlr-start: error while loading shared 
libraries: libsqlrutil-0.37.so.1: cannot open shared object file: No such file 
or directory
.
dns2:~# ldd /usr/bin/sqlr-start
linux-gate.so.1 =>  (0xe000)
libsqlrutil-0.37.so.1 => not found
librudiments-0.29.so.1 => /usr/lib/librudiments-0.29.so.1 (0xb7f2)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7f0e000)
libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7ecf000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7d94000)
libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb7d84000)
librt.so.1 => /lib/tls/librt.so.1 (0xb7d7c000)
libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7d4e000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7d4a000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c69000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7c43000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c37000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7aff000)
/lib/ld-linux.so.2 (0xb7fa)
libz.so.1 => /usr/lib/libz.so.1 (0xb7aee000)
dns2:~# 

I tried also to find a package containing such library, but without any succcess

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.14
Locale: LANG=it_IT, LC_CTYPE=it_IT

Versions of packages sqlrelay depends on:
ii  adduser3.56  Add and remove users and groups
ii  libc6  2.3.6-7   GNU C Library: Shared libraries
ii  libgcc11:4.1.0-4 GCC support library
ii  libncurses55.5-1 Shared libraries for terminal hand
ii  libpcre3   4.5-1.1   Perl 5 Compatible Regular Expressi
ii  libreadline5   5.1-7 GNU readline and history libraries
ii  librudiments0.29   0.29-1C++ class library providing base c
ii  libssl0.9.80.9.8a-8  SSL shared libraries
ii  libstdc++6 4.1.0-4   The GNU Standard C++ Library v3
ii  libxml2-utils  2.6.24.dfsg-1 XML utilities

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]