[Bug 1880258] Re: Add trailing dot to make connectivity-check.ubuntu.com. absolute and reduce NXDOMAIN warning noise

2021-01-22 Thread rjc
I just upgraded two machines to Ubuntu 20.04 LTS and /var/log/syslog is
full of:

systemd-resolved[...]: Server returned error NXDOMAIN, mitigating
potential DNS violation DVE-2018-0001, retrying transaction with reduced
feature level UDP.

with the only thing reported by tcpdump(8) as:

[...] [udp sum ok] 9797 NXDomain* q: ? connectivity-
check.ubuntu.com.[...]

The only thing that fixes it is by making connectivity-check.ubuntu.com
fully qualified.

I have over 250 machines to upgrade. It all adds up.

Please append the dot.

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

Title:
  Add trailing dot to make connectivity-check.ubuntu.com. absolute and
  reduce NXDOMAIN warning noise

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1880258/+subscriptions

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

[Bug 1800280] Re: Setting ZSH as the default shell causes various issues because it doesn't source /etc/profile

2018-11-03 Thread rjc
> Either Ubuntu's zsh package should do the same (or something similar),
or Ubuntu must put important environment variable stuff somewhere else
and have only bash-specific stuff in /etc/profile and /etc/profile.d.

Whilst I sympathise with the OP - I've used ZSH as my $SHELL for a
number of years in the past - I *do* object to the former - /etc/profile
*must* be POSIX/Bourne shell compliant[0].

The latter - files under /etc/profile.d - *should* be POSIX/Bourne shell
compliant, IMVHO.

Either way, all of the files *can* be made POSIX-compliant and have
something along the lines of:

test $SHELL = /bin/bash && {
...
Bash-specific stuff here
...
}

after the POSIX-only setup.

ZSH can obviously source the then-made-POSIX-compliant options from
/etc/zshenv or /etc/zprofile[1] (or wherever they live nowadays).

This obviously only concerns the environment variables, settings, etc.
which are required to have the same functionality in terms of the
operating system, in a way which is $SHELL-agnostic. We're not talking
about options which only concern Bash or Zsh users, i.e. auto-
completion, etc.

[0] https://manpages.debian.org/unstable/dash/sh.1.en.html#FILES
[1] 
https://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-files-loading-order-bashrc-zshrc-etc/

My £0.02

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

Title:
  Setting ZSH as the default shell causes various issues because it
  doesn't source /etc/profile

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

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

[Bug 1504659] Re: Duplicate line for path "/var/log" warning is shown when rsyslog is installed

2018-03-13 Thread rjc
It's not the fact that there's a warning where there genuinely should be
one - it's the fact that the warning is generated by the conflicting
configuration in **base** system packages, i.e. rsyslog is marked as
"important" and "ubuntu-minimal" metapackage depends on it. Therefore,
**no** such warnings should be generated by default config of base
packages - these configs **should** be adjusted so that there are no
glitches and no unnecessary warnings/errors triggered. I don't think I
need to mention time wasted "downstream" trying to figure out what's
*wrong* with a newly installed system.

Observed on latest LTS release - 16.04.

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

Title:
  Duplicate line for path "/var/log" warning is shown when rsyslog is
  installed

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

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

[Bug 1228676] Re: package heimdal-kcm 1.6~git20120403+dfsg1-2ubuntu0.13.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2013-12-18 Thread rjc
*** This bug is a duplicate of bug 1064201 ***
https://bugs.launchpad.net/bugs/1064201

** This bug has been marked a duplicate of bug 1064201
   package heimdal-kcm 1.6~git20120311.dfsg.1-2 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 1

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

Title:
  package heimdal-kcm 1.6~git20120403+dfsg1-2ubuntu0.13.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

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


[Bug 1064201] Re: package heimdal-kcm 1.6~git20120311.dfsg.1-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2013-12-18 Thread rjc
This problem has been reported in Debian[0] and, subsequently, to
Heimdal projects.

Solution found in the below Debian bug report (i.e. using QUIT signal)
works just fine. Obviously it doesn't clean the old PID file.

KCM should be fixed so that TERM works, though.

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654349

** Bug watch added: Debian Bug tracker #654349
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654349

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

Title:
  package heimdal-kcm 1.6~git20120311.dfsg.1-2 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

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


Re: [Bug 1075234] Re: doesn't work with YP/NIS server defined in /etc/yp.conf

2013-04-17 Thread rjc
On Mon, Jan 14, 2013 at 04:17:44AM GMT, Launchpad Bug Tracker wrote:
 [Expired for nis (Ubuntu) because there has been no activity for 60
 days.]
 
 ** Changed in: nis (Ubuntu)
Status: Incomplete = Expired

It seems like it was indeed the newline (\n) character which was
causing the problem. As I've mentioned before, the very same script
worked on 10.04 so the behaviour clearly has changed.

This bug can now be closed.

Kind regards,

rjc

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nis in Ubuntu.
https://bugs.launchpad.net/bugs/1075234

Title:
  doesn't work with YP/NIS server defined in /etc/yp.conf

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1075234] Re: doesn't work with YP/NIS server defined in /etc/yp.conf

2013-04-17 Thread rjc
On Mon, Jan 14, 2013 at 04:17:44AM GMT, Launchpad Bug Tracker wrote:
 [Expired for nis (Ubuntu) because there has been no activity for 60
 days.]
 
 ** Changed in: nis (Ubuntu)
Status: Incomplete = Expired

It seems like it was indeed the newline (\n) character which was
causing the problem. As I've mentioned before, the very same script
worked on 10.04 so the behaviour clearly has changed.

This bug can now be closed.

Kind regards,

rjc

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

Title:
  doesn't work with YP/NIS server defined in /etc/yp.conf

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

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


Re: [Bug 1075234] Re: doesn't work with YP/NIS server defined in /etc/yp.conf

2012-11-14 Thread rjc
On Wed, Nov 14, 2012 at 09:33:02AM GMT, Robie Basak wrote:
 I am unable to reproduce this bug. There is logic in
 /etc/init/ypbind.conf to clear the BROADCAST variable after it is set if
 yp.conf defines ypserver, and this seems to be working for me with your
 /etc/yp.conf. I am using 3.17-32ubuntu4.1.

Absolutely, I can see the logic behind it. However, that variable does
not get cleared on the systems I have tested it under - as I mentioned
before, logs say that -broadcast is used. Therefore my conclusion is
that ypserver entry in (or the whole) /etc/yp.conf is ignored.

 Please could you provide precise steps to reproduce this problem on a
 freshly installed 12.04.1 system?

I'm using a script, which relevant part being:

export DEBIAN_FRONTEND=noninteractive
export DEBIAN_PRIORITY=critical

HOSTS=/etc/hosts
YPCONF=/etc/yp.conf
YPBIND=/etc/init/ypbind.conf
PASSWDFILE=/etc/passwd
SHADOWFILE=/etc/shadow
GROUPFILE=/etc/group
GSHADOWFILE=/etc/gshadow

printf \nxxx.xxx.xxx.xxx\tnisserver\n  $HOSTS

printf \nnis\tnis/domain\tstring\tnis.domain | debconf-set-selections

aptitude -y install nis

echo +::  $PASSWDFILE
echo +  $SHADOWFILE
echo +:::  $GROUPFILE
echo +:::  $GSHADOWFILE

printf \nypserver nisserver  $YPCONF

Then there's a restart.

I had to add this line after the last one in order to make it work:

sed -i 's:\tBROADCAST=-broadcast:#\tBROADCAST=-broadcast' $YPBIND

I don't think I need to add that IP address, NIS domain and YP server
entries are all correct as it simply worked before on 10.04.
Actually now it doesn't even work there as the problem is the same in
both versions. It affected my build on 10.04 as nis package got
changed^Wbroken during the LTS cycle.
Probably I should have filed that bug under 10.04 as what used to work
just fine, got broken by a new version of nis package.

Regards,

rjc

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nis in Ubuntu.
https://bugs.launchpad.net/bugs/1075234

Title:
  doesn't work with YP/NIS server defined in /etc/yp.conf

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1075234] Re: doesn't work with YP/NIS server defined in /etc/yp.conf

2012-11-14 Thread rjc
On Wed, Nov 14, 2012 at 03:57:26PM GMT, Robie Basak wrote:
  printf \nypserver nisserver  $YPCONF
 
 Are you missing a final \n here? I just tried editing yp.conf, dropped
 the final \n, and reproduced your behaviour.

I was aware of it, even thought about it while I was replying to your
email, and am pretty sure I had tested it WITH the newline and it
hadn't made any difference.
Anyway, as I said before, it used to work before the 10.04 got the new
version (the one where /etc/init.d/yp* got introduced) as I had used
that script fro a while.
I'll try again at the earliest opportunity.

Thanks,

rjc

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nis in Ubuntu.
https://bugs.launchpad.net/bugs/1075234

Title:
  doesn't work with YP/NIS server defined in /etc/yp.conf

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1075234] Re: doesn't work with YP/NIS server defined in /etc/yp.conf

2012-11-14 Thread rjc
On Wed, Nov 14, 2012 at 09:33:02AM GMT, Robie Basak wrote:
 I am unable to reproduce this bug. There is logic in
 /etc/init/ypbind.conf to clear the BROADCAST variable after it is set if
 yp.conf defines ypserver, and this seems to be working for me with your
 /etc/yp.conf. I am using 3.17-32ubuntu4.1.

Absolutely, I can see the logic behind it. However, that variable does
not get cleared on the systems I have tested it under - as I mentioned
before, logs say that -broadcast is used. Therefore my conclusion is
that ypserver entry in (or the whole) /etc/yp.conf is ignored.

 Please could you provide precise steps to reproduce this problem on a
 freshly installed 12.04.1 system?

I'm using a script, which relevant part being:

export DEBIAN_FRONTEND=noninteractive
export DEBIAN_PRIORITY=critical

HOSTS=/etc/hosts
YPCONF=/etc/yp.conf
YPBIND=/etc/init/ypbind.conf
PASSWDFILE=/etc/passwd
SHADOWFILE=/etc/shadow
GROUPFILE=/etc/group
GSHADOWFILE=/etc/gshadow

printf \nxxx.xxx.xxx.xxx\tnisserver\n  $HOSTS

printf \nnis\tnis/domain\tstring\tnis.domain | debconf-set-selections

aptitude -y install nis

echo +::  $PASSWDFILE
echo +  $SHADOWFILE
echo +:::  $GROUPFILE
echo +:::  $GSHADOWFILE

printf \nypserver nisserver  $YPCONF

Then there's a restart.

I had to add this line after the last one in order to make it work:

sed -i 's:\tBROADCAST=-broadcast:#\tBROADCAST=-broadcast' $YPBIND

I don't think I need to add that IP address, NIS domain and YP server
entries are all correct as it simply worked before on 10.04.
Actually now it doesn't even work there as the problem is the same in
both versions. It affected my build on 10.04 as nis package got
changed^Wbroken during the LTS cycle.
Probably I should have filed that bug under 10.04 as what used to work
just fine, got broken by a new version of nis package.

Regards,

rjc

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

Title:
  doesn't work with YP/NIS server defined in /etc/yp.conf

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

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


Re: [Bug 1075234] Re: doesn't work with YP/NIS server defined in /etc/yp.conf

2012-11-14 Thread rjc
On Wed, Nov 14, 2012 at 03:57:26PM GMT, Robie Basak wrote:
  printf \nypserver nisserver  $YPCONF
 
 Are you missing a final \n here? I just tried editing yp.conf, dropped
 the final \n, and reproduced your behaviour.

I was aware of it, even thought about it while I was replying to your
email, and am pretty sure I had tested it WITH the newline and it
hadn't made any difference.
Anyway, as I said before, it used to work before the 10.04 got the new
version (the one where /etc/init.d/yp* got introduced) as I had used
that script fro a while.
I'll try again at the earliest opportunity.

Thanks,

rjc

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

Title:
  doesn't work with YP/NIS server defined in /etc/yp.conf

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

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


[Bug 1056289] Re: please add greeter-show-manual-login=false to lightdm.conf

2012-11-09 Thread rjc
On the contrary, the opposite setting is considered (and has been reported as 
bug already [0][1]) undesireable by other, including myself.
Your setup would only work for local users whereas that option being set to 
true would work for everyone.

[0] https://bugs.launchpad.net/lightdm/+bug/944041
[1] https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1012147

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

Title:
  please add greeter-show-manual-login=false to lightdm.conf

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

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


[Bug 1075234] [NEW] doesn't work with YP/NIS server defined in /etc/yp.conf

2012-11-05 Thread rjc
Public bug reported:

Hi,

ypbind seems to ignore /etc/yp.conf and passes -broadcast to its
options.

/etc/yp.conf:

[begin]
# yp.conf   Configuration file for the ypbind process. You can define
#   NIS servers manually here if they can't be found by
#   broadcasting on the local net (which is the default).
#
#   See the manual page of ypbind for the syntax of this file.
#
# IMPORTANT:For the ypserver, use IP addresses, or make sure that
#   the host is in /etc/hosts. This file is only interpreted
#   once, and if DNS isn't reachable yet the ypserver cannot
#   be resolved and ypbind won't ever bind to the server.

# ypserver ypserver.network.com

ypserver mynisserver
[end]

I do have an entry in /etc/hosts for my NIS server.

I checked the the logs and found that -broadcast is being used even though 
ypserver was defined in /etc/yp.conf.
The only reference to broadcast I have found was in /etc/init/ypbind.conf.
After hashing BROADCAST=-broadcast in that file it all started working just 
fine.

# lsb_release -rd
Description:Ubuntu 12.04.1 LTS
Release:12.04

# apt-cache policy nis
nis:
  Installed: 3.17-32ubuntu4.1
  Candidate: 3.17-32ubuntu4.1

Regards,

rjc

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


** Tags: nis yp ypbind

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nis in Ubuntu.
https://bugs.launchpad.net/bugs/1075234

Title:
  doesn't work with YP/NIS server defined in /etc/yp.conf

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1075234] [NEW] doesn't work with YP/NIS server defined in /etc/yp.conf

2012-11-05 Thread rjc
Public bug reported:

Hi,

ypbind seems to ignore /etc/yp.conf and passes -broadcast to its
options.

/etc/yp.conf:

[begin]
# yp.conf   Configuration file for the ypbind process. You can define
#   NIS servers manually here if they can't be found by
#   broadcasting on the local net (which is the default).
#
#   See the manual page of ypbind for the syntax of this file.
#
# IMPORTANT:For the ypserver, use IP addresses, or make sure that
#   the host is in /etc/hosts. This file is only interpreted
#   once, and if DNS isn't reachable yet the ypserver cannot
#   be resolved and ypbind won't ever bind to the server.

# ypserver ypserver.network.com

ypserver mynisserver
[end]

I do have an entry in /etc/hosts for my NIS server.

I checked the the logs and found that -broadcast is being used even though 
ypserver was defined in /etc/yp.conf.
The only reference to broadcast I have found was in /etc/init/ypbind.conf.
After hashing BROADCAST=-broadcast in that file it all started working just 
fine.

# lsb_release -rd
Description:Ubuntu 12.04.1 LTS
Release:12.04

# apt-cache policy nis
nis:
  Installed: 3.17-32ubuntu4.1
  Candidate: 3.17-32ubuntu4.1

Regards,

rjc

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


** Tags: nis yp ypbind

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

Title:
  doesn't work with YP/NIS server defined in /etc/yp.conf

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

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