Viestit paikassa Launchpad

Cannot override Timeout directives in included configuration

29. heinäkuuta 2016 klo 20.30
Sijainti: Vianhallintajärjestelmät: Launchpad
Avainsanat: Proftpd

Redefining TimeoutIdle or TimeoutNoTransfer in a configuration file inside /etc/proftpd/conf.d/, after they’ve already been defined in /etc/proftpd/proftpd.conf, fails to change those values for the daemon — that is, after restarting the daemon, the values for those parameters remain as those set in /etc/proftpd/proftpd.conf.

At least TimeoutIdle or TimeoutNoTransfer are affected. TimeoutSession and TimeoutLogin, which (in stock 16.04) haven’t been defined in the master configuration file can be set effectively, but setting them first in the master file, then again to different values inside conf.d reveals them to be equally affected.

On the other hand, (at least) ServerName *can* be overridden in the custom configuration file, so the handling of different configuration knobs in this regard seems to be inconsistent.

Steps to reproduce:
1. Create a /etc/proftpd/conf.d/proftpd.conf with the following lines:
TimeoutIdle 10
TimeoutNoTransfer 10
2. Restart proftpd
3. Log into the server, wait 11 seconds

What I expect to happen:
To get kicked out of the server.

What happens instead:
I’m allowed to linger on the server, presumably for the 600 seconds defined for TimeoutNoTransfer in /etc/proftpd/proftpd.conf.

Vastaa viestiin sen kontekstissa (Launchpad)

Including a configuration directory includes all files, not just *.conf files

29. heinäkuuta 2016 klo 20.03
Sijainti: Vianhallintajärjestelmät: Launchpad
Avainsanat: Proftpd, Vim

The Include directive, when given a directory as parameter (such as /etc/proftpd/conf.d/, as in the stock /etc/proftpd/proftpd.conf), causes all files in said directory to be read, not just ones ending in .conf. This causes problems if, for instance, I’m using vim to edit a file in the included directory while the proftpd service is being (re)started: vim stores a .swp file in the same directory, and proftpd may fail to start with ”fatal: unknown configuration directive” when it tries to parse the .swp file.

Vastaa viestiin sen kontekstissa (Launchpad)

It’s looking for plymouth and plymouthd in the initrd /bin and /sbin directories

24. heinäkuuta 2016 klo 17.53
Sijainti: Vianhallintajärjestelmät: Launchpad
Avainsanat: Plymouth

Those scripts are ran from the initrd, so it’s looking for plymouth and plymouthd in the initrd /bin and /sbin directories, and those are probably missing the said files just as the error message says.

/usr/share/initramfs-tools/hooks/plymouth is responsible for copying the plymouth executables onto the initrd, so to see why it fails to copy the files, I added `set -x` to it and then ran `update-initramfs -v -u`.

In my case (I’m running Kodibuntu, I recently upgraded the underlying system from 14.04 to 16.04) the issue was that the hook failed to find Kodibuntu theme files for Plymouth, because it was looking for them in /usr/share/plymouth/themes (which apparently is the standard place), whereas the files actually resided in /lib/plymouth/themes for some (legacy?) reason. The hook therefore determined that I have no working Plymouth theme and thus don’t need the executables.

After moving the theme files to /usr/share/plymouth/themes (and some manual labor updating references in the files themselves as well as Plymouth’s alternatives) the hook now correctly finds those files and then proceeds to copy the Plymouth executables onto the initrd.

Vastaa viestiin sen kontekstissa (Launchpad)

Haven’t seen this once since upgrading to 16.04

22. heinäkuuta 2016 klo 16.23
Sijainti: Vianhallintajärjestelmät: Launchpad

Haven’t seen this once since upgrading to 16.04 back in April, so I’m pretty sure the issue has been fixed. Yay!

Vastaa viestiin sen kontekstissa (Launchpad)

Confusing, unnecessary ”Do you want to close it” dialog

30. tammikuuta 2016 klo 11.17
Sijainti: Vianhallintajärjestelmät: Launchpad
Avainsanat: saavutettavuus

Steps to reproduce:

0. Have two projects, A and B
1. Open project A in Geany, make no changes
2. Select Project > Recent Projects > Project B

(Reproduced on an up-to-date Xenial installation today.)

What happens:
A dialog pops up saying the previous project is open, and asks if I want to close it before proceeding.

What I expect to happen instead:
For Project B to open without the dialog. I’ve not made any changes to Project A so the dialog is blocking the switch unnecessarily. If I *had* made changes, I’d expect them to be saved implicitly at this point, or, failing that, to be prompted to *save* the changes before switching; not whether I want to close Project A (which I do).

Perhaps unrelatedly, the prompt title (”The ’Project A’ project is open.”) seems to be missing from Launchpad translations; only the question (”Do you want to close it before proceeding?”) is translatable.

Vastaa viestiin sen kontekstissa (Launchpad)

Great, thanks!

2. marraskuuta 2015 klo 13.08
Sijainti: Vianhallintajärjestelmät: Launchpad

Great, thanks!

Vastaa viestiin sen kontekstissa (Launchpad)

Wily builds missing from PPAs

1. marraskuuta 2015 klo 14.08
Sijainti: Vianhallintajärjestelmät: Launchpad

In Wily, adding the PPA and running `apt update` results in a ”W: Failed to fetch … 404 Not Found”: apparently there are no Wily builds in the PPAs. FWIW, I have been using dailies from the ”vivid” repository and they seem to work fine under Wily.

Vastaa viestiin sen kontekstissa (Launchpad)

The menu position depends on mouse pointer position relative to horizontal middle

15. syyskuuta 2015 klo 13.39
Sijainti: Vianhallintajärjestelmät: Launchpad
Avainsanat: Chromium

With more testing I found that the context menu position depends (perhaps solely) on whether my mouse pointer is on the left side or the right side of the horizontal half of the rightmost monitor: if you imagine a vertical line dividing the rightmost monitor’s display area into two equal-sized halves, right-clicking anywhere on the left side of that line brings up the menu on the correct display, whereas right-clicking anywhere on the right side brings it up on the wrong display.

(That is why I first made the mistake of thinking links weren’t affected: the ones I tried first just happened to be on the left side.)

Unfortunately I don’t have a third display to verify that I’m really seeing a different manifestation of the same bug as Nathaniel, of one that depends on the monitor count.

Vastaa viestiin sen kontekstissa (Launchpad)

It’s not the same as #590829 after all

7. syyskuuta 2015 klo 9.20
Sijainti: Vianhallintajärjestelmät: Launchpad
Avainsanat: Bash

It’s not the same as #590829 after all: despite the similarities, the recipe given at #590829 does not reproduce the issue for me.

Vastaa viestiin sen kontekstissa (Launchpad)

Fails to complete directory paths containing single quotes

7. syyskuuta 2015 klo 9.16
Sijainti: Vianhallintajärjestelmät: Launchpad
Avainsanat: Bash

Tab completion of directory paths containing single quotes is broken like so:

$ mkdir -p ”a’b/c”
$ cd a\’b/ # pressing tab won’t complete the ’c’ dir

as opposed to:

$ mkdir -p ”de/f”
$ cd de/ # pressing tab here completes the ’f’ dir just fine, to ’de/f/’

I initially thought this was Bug #1485777, but the reason I’m not so sure anymore is that for me, a manually appended \’ does not disappear (unlike for the reporter of #1485777). This does however also seem like a regression back to the issue of Bug #590829.

Vastaa viestiin sen kontekstissa (Launchpad)

« Uudempia - Vanhempia »