[Touch-packages] [Bug 2061995] Re: ULLTS 22, 24: FontConfig broken by including ".conf" file

2024-04-17 Thread Peter Grandi
** Also affects: fontconfig (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to fontconfig in Ubuntu.
https://bugs.launchpad.net/bugs/2061995

Title:
  ULLTS 22,24: FontConfig broken by including ".conf" file

Status in Ubuntu:
  New
Status in fontconfig package in Ubuntu:
  New

Bug description:
  This happens to me on both ULTS 22 and ULKTS 24 on FotnConfig in
  somewhat different ways:

  * In ULTS 24 if there is a file '/etc/fonts/local.conf' then all fonts
  are rendered as if the font were not hinted or 'hinting' were 'false'.
  This is not noticeable if antialiasing is on, and most users default
  to antialiasing.

  * In ULTS 22 if there is a file
  '$XDG_CONFIG_HOME/fontconfig/fonts.conf' then some fonts are no longer
  found, or get rendered with rectangular shapes. I guess not many users
  customize their font settings.

  A telling example from ULTS 22:

  $  cat /etc/fonts/conf.d/10-antialias.conf
  
  
  
  

  false

  
  $  cp -p /etc/fonts/conf.d/10-antialias.conf 
$XDG_CONFIG_HOME/fontconfig/fonts.conf
  $  fc-list 'dejavu sans mono' family
  $  rm $XDG_CONFIG_HOME/fontconfig/fonts.conf
  $  fc-list 'dejavu sans mono' family
  DejaVu Sans Mono

  This happens also with a skeleton
  '$XDG_CONFIG_HOME/fontconfig/fonts.conf' (or '/etc/fonts/local.conf')
  too:

  $  cat > $XDG_CONFIG_HOME/fontconfig/fonts.conf
  
  
  
  
  $  fc-list 'dejavu sans mono' family
  $  rm $XDG_CONFIG_HOME/fontconfig/fonts.conf
  $  fc-list 'dejavu sans mono' family
  DejaVu Sans Mono

  None of these anomalies happen under ULST 20.

  My impression: symptoms vary and are weird, so probably it is
  something like a buffer overflow when reading the ".conf" files or the
  use of not-initialized memory.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2061995] Re: ULTS 22, 24: FontConfig broken by including ".conf" file

2024-04-20 Thread Peter Grandi
** Summary changed:

- ULLTS 22,24: FontConfig broken by including ".conf" file
+ ULTS 22,24: FontConfig broken by including ".conf" file

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to fontconfig in Ubuntu.
https://bugs.launchpad.net/bugs/2061995

Title:
  ULTS 22,24: FontConfig broken by including ".conf" file

Status in Ubuntu:
  New
Status in fontconfig package in Ubuntu:
  New

Bug description:
  This happens to me on both ULTS 22 and ULKTS 24 on FotnConfig in
  somewhat different ways:

  * In ULTS 24 if there is a file '/etc/fonts/local.conf' then all fonts
  are rendered as if the font were not hinted or 'hinting' were 'false'.
  This is not noticeable if antialiasing is on, and most users default
  to antialiasing.

  * In ULTS 22 if there is a file
  '$XDG_CONFIG_HOME/fontconfig/fonts.conf' then some fonts are no longer
  found, or get rendered with rectangular shapes. I guess not many users
  customize their font settings.

  A telling example from ULTS 22:

  $  cat /etc/fonts/conf.d/10-antialias.conf
  
  
  
  

  false

  
  $  cp -p /etc/fonts/conf.d/10-antialias.conf 
$XDG_CONFIG_HOME/fontconfig/fonts.conf
  $  fc-list 'dejavu sans mono' family
  $  rm $XDG_CONFIG_HOME/fontconfig/fonts.conf
  $  fc-list 'dejavu sans mono' family
  DejaVu Sans Mono

  This happens also with a skeleton
  '$XDG_CONFIG_HOME/fontconfig/fonts.conf' (or '/etc/fonts/local.conf')
  too:

  $  cat > $XDG_CONFIG_HOME/fontconfig/fonts.conf
  
  
  
  
  $  fc-list 'dejavu sans mono' family
  $  rm $XDG_CONFIG_HOME/fontconfig/fonts.conf
  $  fc-list 'dejavu sans mono' family
  DejaVu Sans Mono

  None of these anomalies happen under ULST 20.

  My impression: symptoms vary and are weird, so probably it is
  something like a buffer overflow when reading the ".conf" files or the
  use of not-initialized memory.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2061995] Re: ULTS 22, 24: FontConfig broken by including ".conf" file

2024-05-01 Thread Peter Grandi
After several hundred package updates over time this problem is no
longer occurring, I suspect that it was something buggy in the XML
library used by FotnConfig.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to fontconfig in Ubuntu.
https://bugs.launchpad.net/bugs/2061995

Title:
  ULTS 22,24: FontConfig broken by including ".conf" file

Status in Ubuntu:
  New
Status in fontconfig package in Ubuntu:
  New

Bug description:
  This happens to me on both ULTS 22 and ULKTS 24 on FotnConfig in
  somewhat different ways:

  * In ULTS 24 if there is a file '/etc/fonts/local.conf' then all fonts
  are rendered as if the font were not hinted or 'hinting' were 'false'.
  This is not noticeable if antialiasing is on, and most users default
  to antialiasing.

  * In ULTS 22 if there is a file
  '$XDG_CONFIG_HOME/fontconfig/fonts.conf' then some fonts are no longer
  found, or get rendered with rectangular shapes. I guess not many users
  customize their font settings.

  A telling example from ULTS 22:

  $  cat /etc/fonts/conf.d/10-antialias.conf
  
  
  
  

  false

  
  $  cp -p /etc/fonts/conf.d/10-antialias.conf 
$XDG_CONFIG_HOME/fontconfig/fonts.conf
  $  fc-list 'dejavu sans mono' family
  $  rm $XDG_CONFIG_HOME/fontconfig/fonts.conf
  $  fc-list 'dejavu sans mono' family
  DejaVu Sans Mono

  This happens also with a skeleton
  '$XDG_CONFIG_HOME/fontconfig/fonts.conf' (or '/etc/fonts/local.conf')
  too:

  $  cat > $XDG_CONFIG_HOME/fontconfig/fonts.conf
  
  
  
  
  $  fc-list 'dejavu sans mono' family
  $  rm $XDG_CONFIG_HOME/fontconfig/fonts.conf
  $  fc-list 'dejavu sans mono' family
  DejaVu Sans Mono

  None of these anomalies happen under ULST 20.

  My impression: symptoms vary and are weird, so probably it is
  something like a buffer overflow when reading the ".conf" files or the
  use of not-initialized memory.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 988144] Re: Getting error message: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]

2017-05-27 Thread Peter Grandi
This happens for me too with files of a few GB sometimes on ULTS 14 with
RSYNC 3.1.0.

> It also works, when I try rsync with -W option at client side.

Same, and for me it works also when specifying '--block-size 4096'.

What this makes me suspect is that the remote 'rsync' process takes too
long to send back the list of block checksums to the local 'rsync' in
some situations, and a smaller checksum granularity, or asking for
checksums to not be computed avoids that.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/988144

Title:
  Getting error message:  error in rsync protocol data stream (code 12)
  at io.c(605) [sender=3.0.9]

Status in rsync package in Ubuntu:
  Confirmed

Bug description:
  1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> 
About Ubuntu
  Precise 12.04LTS

  2) The version of the package you are using, via 'apt-cache policy
  pkgname' or by checking in Software Center

  Installed: 3.0.9-1ubuntu1
Candidate: 3.0.9-1ubuntu1
Version table:
   *** 3.0.9-1ubuntu1 0
  500 http://archive.ubuntu.com/ubuntu/ precise/main i386 Packages
  100 /var/lib/dpkg/status

  
  3) What you expected to happen

  I was using rsync to backup my Home DIrectorys' contents and at one
  point in the backup it gave me this error:

   Downloads/Windows.7.Ultimate.32-64Bit.(2011-02-09).iso
3809312768  83%   21.03MB/s0:00:35  
   rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: 
Broken pipe (32)
   rsync: connection unexpectedly closed (70735 bytes received so far) 
[sender]
   rsync error: error in rsync protocol data stream (code 12) at io.c(605) 
[sender=3.0.9]
   

  This only came about when it was trying to copy my Windows ISO from my
  directory over to my backup drive that I have formatted in EXT4 - so
  I'm not sure of the issue it's having.

  This is the command I used to backup:

  rsync --progress -rEog --exclude Videos/ --exclude converted_music/
  --exclude VirtualBox\ VMs/ --exclude virtual-drives/ --exclude
  Backup_of_boot_sectors/ --exclude examples.desktop --exclude Music/
  --exclude .ecryptfs --exclude .VirtualBox/ --exclude .thumbnails/
  --exclude .thunderbird/ --exclude .vidalia/ --exclude .teamviewer/
  --exclude Templates/ --exclude sources.list --exclude wary-5.3.iso
  --exclude Public/ --exclude .cache/ /home/alex/ /media/backup/12.04
  -Precise-backup_4.23.2012/

  
  Please look into this for me.

  Thank you

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 988144] Re: Getting error message: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]

2017-05-27 Thread Peter Grandi
> the remote 'rsync' process takes too long to send back the
> list of block checksums to the local 'rsync' in some situations

As to that a quick web search indicates previous reports:

https://unix.stackexchange.com/questions/68775/rsync-timed-out 3
«It looks like the server times out on the SSH connection level.»
«Since the timeout appears to happen when rsync is creating the checksums»

https://bugzilla.samba.org/show_bug.cgi?id=7195
«it seems - in my case at least - to be related to the delta-xfer algorithm»

** Bug watch added: Samba Bugzilla #7195
   https://bugzilla.samba.org/show_bug.cgi?id=7195

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/988144

Title:
  Getting error message:  error in rsync protocol data stream (code 12)
  at io.c(605) [sender=3.0.9]

Status in rsync package in Ubuntu:
  Confirmed

Bug description:
  1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> 
About Ubuntu
  Precise 12.04LTS

  2) The version of the package you are using, via 'apt-cache policy
  pkgname' or by checking in Software Center

  Installed: 3.0.9-1ubuntu1
Candidate: 3.0.9-1ubuntu1
Version table:
   *** 3.0.9-1ubuntu1 0
  500 http://archive.ubuntu.com/ubuntu/ precise/main i386 Packages
  100 /var/lib/dpkg/status

  
  3) What you expected to happen

  I was using rsync to backup my Home DIrectorys' contents and at one
  point in the backup it gave me this error:

   Downloads/Windows.7.Ultimate.32-64Bit.(2011-02-09).iso
3809312768  83%   21.03MB/s0:00:35  
   rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: 
Broken pipe (32)
   rsync: connection unexpectedly closed (70735 bytes received so far) 
[sender]
   rsync error: error in rsync protocol data stream (code 12) at io.c(605) 
[sender=3.0.9]
   

  This only came about when it was trying to copy my Windows ISO from my
  directory over to my backup drive that I have formatted in EXT4 - so
  I'm not sure of the issue it's having.

  This is the command I used to backup:

  rsync --progress -rEog --exclude Videos/ --exclude converted_music/
  --exclude VirtualBox\ VMs/ --exclude virtual-drives/ --exclude
  Backup_of_boot_sectors/ --exclude examples.desktop --exclude Music/
  --exclude .ecryptfs --exclude .VirtualBox/ --exclude .thumbnails/
  --exclude .thunderbird/ --exclude .vidalia/ --exclude .teamviewer/
  --exclude Templates/ --exclude sources.list --exclude wary-5.3.iso
  --exclude Public/ --exclude .cache/ /home/alex/ /media/backup/12.04
  -Precise-backup_4.23.2012/

  
  Please look into this for me.

  Thank you

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-22 Thread Peter Grandi
Note that this long story started from kernel upgrades, and so far
nobody has made an important point...

When you install a new kernel package,  you may want to remove all
previous versions indeed, *except* the one that is currently running.

Because if you remove the package for the currently running kernel, if
you add a new device or do anything that requires loading a module, that
will fail. This is because kernel modules by default require an exactly
matching kernel version, unlike shared objects or other stuff that gets
upgraded. A few other useful things will fail if a running kernel is not
matched by an installed package.

This would require extra logic to special-case the kernel packages for
this.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

Status in unattended-upgrades package in Ubuntu:
  Fix Released
Status in unattended-upgrades source package in Precise:
  Fix Committed
Status in unattended-upgrades source package in Trusty:
  Fix Released

Bug description:
  I have a system that runs unattended-upgrades just fine. Now i want to
  automate removal of old kernels and kernel header packages that are
  accumulating otherwise. So i set 'Unattended-Upgrade::Remove-Unused-
  Dependencies "true";'. But it doesn't work.

  
  Details: Lots of stuff pending autoremoval:

  $ apt-get --assume-no autoremove 
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  The following packages will be REMOVED
linux-headers-3.2.0-38 linux-headers-3.2.0-38-generic 
linux-headers-3.2.0-39 linux-headers-3.2.0-39-generic linux-headers-3.2.0-40 
linux-headers-3.2.0-40-generic linux-headers-3.2.0-41 
linux-headers-3.2.0-41-generic linux-headers-3.2.0-43 
linux-headers-3.2.0-43-generic linux-headers-3.2.0-44 
linux-headers-3.2.0-44-generic linux-headers-3.2.0-45 
linux-headers-3.2.0-45-generic linux-headers-3.2.0-48 
linux-headers-3.2.0-48-generic linux-headers-3.2.0-51 
linux-headers-3.2.0-51-generic linux-headers-3.2.0-52 
linux-headers-3.2.0-52-generic linux-headers-3.2.0-53 
linux-headers-3.2.0-53-generic linux-headers-3.2.0-54 
linux-headers-3.2.0-54-generic linux-headers-3.2.0-55 
linux-headers-3.2.0-55-generic linux-headers-3.2.0-56 
linux-headers-3.2.0-56-generic linux-image-3.2.0-39-generic 
linux-image-3.2.0-40-generic linux-image-3.2.0-41-generic 
linux-image-3.2.0-43-generic linux-image-3.2.0-44-generic 
linux-image-3.2.0-45-generic linux-image-3.2.0-48-generic 
linux-image-3.2.0-51-generic linux-
 image-3.2.0-52-generic linux-image-3.2.0-53-generic 
linux-image-3.2.0-54-generic linux-image-3.2.0-55-generic 
linux-image-3.2.0-56-generic
  0 upgraded, 0 newly installed, 41 to remove and 13 not upgraded.
  After this operation, 2,893 MB disk space will be freed.
  Do you want to continue [Y/n]? N
  Abort.

  Note that the majority of these packages have been installed by
  unattended-upgrades from precise-security.

  According to the comments within/etc/apt/apt.conf.d/50unattended-
  upgrades, this should automate autoremoval:

// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
Unattended-Upgrade::Remove-Unused-Dependencies "true";

  but nothing happens (note the line "Packages that are auto removed: ''
  ":

  $ unattended-upgrades --debug --dry-run
  Initial blacklisted packages: 
  Starting unattended upgrades script
  Allowed origins are: ['o=Ubuntu,a=precise-security']
  adjusting candidate version: ''
  adjusting candidate version: ''
  adjusting candidate version: ''
  adjusting candidate version: ''
  adjusting candidate version: ''
  adjusting candidate version: ''
  Checking: bc ([""])
  Checking: grub-common ([""])
  Checking: grub-pc ([""])
  Checking: grub-pc-bin ([""])
  Checking: grub2-common ([""])
  Checking: iproute ([""])
  Checking: landscape-common ([""])
  pkgs that look like they should be upgraded: 
  Fetched 0 B in 0s (0 B/s) 

 
  blacklist: []
  Packages that are auto removed: ''
  InstCount=0 DelCount=0 BrokenCout=0
  No packages found that can be upgraded unattended

  
  
  I am using unattended-upgrades-0.76ubuntu1 on Ubuntu 12.04.3 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp