[Bug 296841] Re: root account has ! as default password

2008-12-16 Thread jankokoska
1. OK

2. I may not know enough detail here, but why would it then be that root
password '!' prevents me from logging with SSH key, but root password of
'*' allows me to do so? I was under impression that '!' in /etc/shadow
password field is used to disable logins for that account entirely.

-- 
root account has ! as default password
https://bugs.launchpad.net/bugs/296841
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

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


[Bug 296841] Re: root account has ! as default password

2008-12-05 Thread jankokoska
Hi Jamie,

Firstly, I'm curious with what sshd_config settings does sshd allow you
to connect having such root line in /etc/shadow without supplying
password.

Because even if I supply this config (neither of which I use in
practice):

PermitRootLogin yes
PasswordAuthentication yes

I still can't login as root with empty password via SSH.

Secondly, while my original suggestion was wrong and nonull or nullok is
not the main problem (it's just a coincidence that using nonull helps in
my case), when you're disabling root login like this (exclamation mark
in the password field, which has a special meaning of locking the
account), do you realize you disable root login by SSH keys as well? It
would have been much better to replace with an asterisk which achieves
what you need to do and does not lock other people out.

/etc/shadow
root:!:14210:0:9:7:::

/var/log/auth.log
Dec  5 18:12:37 root sshd[3387]: User root not allowed because account is locked

Jan

-- 
root account has ! as default password
https://bugs.launchpad.net/bugs/296841
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

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


[Bug 296841] Re: root account has ! as default password

2008-11-27 Thread jankokoska
This fix breaks logging into our OpenVZ and Linux-VServer virtual
machines created from debootstrapped templates. The routine by which you
check whether the root login should be disabled is wrong:

if printf '!\0' | unix_chkpwd root nullok ; then
  echo 'root:!' | chpasswd -e
fi

This should become:

if printf '!\0' | unix_chkpwd root nonull ; then
  echo 'root:!' | chpasswd -e
fi

This bug will affect everybody who has * as their root password, hence
not using password, hence probably exclusively using SSH keys or
something such. This should have been tested better before releasing a
package that will lock many people out of their template-created
machines (virtual or not).

-- 
root account has ! as default password
https://bugs.launchpad.net/bugs/296841
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

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


[Bug 242489] Re: WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz

2008-08-26 Thread jankokoska
Hi,

This issue is tracked on OpenVZ Bugzilla as #917:

http://bugzilla.openvz.org/show_bug.cgi?id=917

It only appears on a 4x 4-core Opteron system that I have, none of the
2x 4-core ones or smaller. The system is already in production on an
older 2.6.18 OpenVZ kernel so no way to test patches for this issue.

Jan

-- 
WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz
https://bugs.launchpad.net/bugs/242489
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 242489] Re: WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz

2008-06-24 Thread jankokoska
The problem is still there on linux-image-2.6.24-19-openvz, as expected.
Also, nm-applet vanished overnight, not sure if that is related
(restarted dbus, nm-applet, would be happy to do some specific debugging
next time if someone can drop a hint).

Jan

Jun 24 07:46:43 zirael kernel: [   23.147434] WARNING: at 
/build/buildd/linux-2.6.24/debian/build/custom-source-openvz/drivers/char/vt.c:3688
 poke_blanked_console()
Jun 24 07:46:43 zirael kernel: [   23.147440] Pid: 4498, comm: events/1 Not 
tainted 2.6.24-19-openvz #1
Jun 24 07:46:43 zirael kernel: [   23.147443] 
Jun 24 07:46:43 zirael kernel: [   23.147444] Call Trace:
Jun 24 07:46:43 zirael kernel: [   23.147452]  
[cpufreq_ondemand:queue_delayed_work_on+0x9a/0xc5070] 
queue_delayed_work_on+0x9a/0xe0
Jun 24 07:46:43 zirael kernel: [   23.147476]  [poke_blanked_console+0xcd/0xe0] 
poke_blanked_console+0xcd/0xe0
Jun 24 07:46:43 zirael kernel: [   23.147480]  [vmstat_update+0x0/0x40] 
vmstat_update+0x0/0x40
Jun 24 07:46:43 zirael kernel: [   23.147484]  [console_callback+0xbf/0x110] 
console_callback+0xbf/0x110
Jun 24 07:46:43 zirael kernel: [   23.147490]  [run_workqueue+0xcc/0x170] run_wo
rkqueue+0xcc/0x170
Jun 24 07:46:43 zirael kernel: [   23.147493]  [worker_thread+0x0/0x110] 
worker_thread+0x0/0x110
Jun 24 07:46:43 zirael kernel: [   23.147500]  [worker_thread+0x0/0x110] 
worker_thread+0x0/0x110
Jun 24 07:46:43 zirael kernel: [   23.147505]  [worker_thread+0xa3/0x110] 
worker_thread+0xa3/0x110
Jun 24 07:46:43 zirael kernel: [   23.147512]  [80256e40] 
autoremove_wake_function+0x0/0x30
Jun 24 07:46:43 zirael kernel: [   23.147519]  [worker_thread+0x0/0x110] 
worker_thread+0x0/0x110
Jun 24 07:46:43 zirael kernel: [   23.147525]  [worker_thread+0x0/0x110] 
worker_thread+0x0/0x110
Jun 24 07:46:43 zirael kernel: [   23.147530]  [kthread+0x4b/0x80] 
kthread+0x4b/0x80
Jun 24 07:46:43 zirael kernel: [   23.147538]  [child_rip+0xa/0x12] 
child_rip+0xa/0x12
Jun 24 07:46:43 zirael kernel: [   23.147555]  [kthread+0x0/0x80] 
kthread+0x0/0x80
Jun 24 07:46:43 zirael kernel: [   23.147560]  [child_rip+0x0/0x12] 
child_rip+0x0/0x12

-- 
WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz
https://bugs.launchpad.net/bugs/242489
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 242489] Re: WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz

2008-06-23 Thread jankokoska
I'm now running 2.6.24-19-openvz that was probably released yesterday
and the warning didn't re-appear yet.. however having read the changelog
I haven't spotted anything related to this since revision 18, so I
believe it might still be present.

Jan

-- 
WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz
https://bugs.launchpad.net/bugs/242489
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 242489] Re: WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz

2008-06-23 Thread jankokoska

** Attachment added: lspci-vvnn.log
   http://launchpadlibrarian.net/15545950/lspci-vvnn.log

-- 
WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz
https://bugs.launchpad.net/bugs/242489
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 242489] Re: WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz

2008-06-23 Thread jankokoska

** Attachment added: dmesg.log
   http://launchpadlibrarian.net/15545945/dmesg.log

-- 
WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz
https://bugs.launchpad.net/bugs/242489
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 242489] Re: WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz

2008-06-23 Thread jankokoska

** Attachment added: uname-a.log
   http://launchpadlibrarian.net/15545929/uname-a.log

-- 
WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz
https://bugs.launchpad.net/bugs/242489
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 242489] [NEW] WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz

2008-06-23 Thread jankokoska
Public bug reported:

Binary package hint: linux-image-2.6.24-18-openvz

I get a lot of these warnings below. No bad behaviour I could see, just
activity in logs.

Could somebody please have a look and assess severity of the problem?

Regards,
Jan

Jun 23 01:43:36 zirael kernel: [ 3043.224487] WARNING: at 
/build/buildd/linux-2.6.24/debian/build/custom-source-openvz/drivers/char/vt.c:816
 vc_resize()
Jun 23 01:43:36 zirael kernel: [ 3043.224492] Pid: 9, comm: events/0 Not 
tainted 2.6.24-18-openvz #1
Jun 23 01:43:36 zirael kernel: [ 3043.224495] 
Jun 23 01:43:36 zirael kernel: [ 3043.224496] Call Trace:
Jun 23 01:43:36 zirael kernel: [ 3043.224501]  [vc_resize+0x2c9/0x440] 
vc_resize+0x2c9/0x440
Jun 23 01:43:36 zirael kernel: [ 3043.224515]  [vgacon_do_font_op+0x13c/0x4d0] 
vgacon_do_font_op+0x13c/0x4d0
Jun 23 01:43:36 zirael kernel: [ 3043.224523]  [vgacon_do_font_op+0x335/0x4d0] 
vgacon_do_font_op+0x335/0x4d0
Jun 23 01:43:36 zirael kernel: [ 3043.224534]  [vgacon_font_set+0x21b/0x240] 
vgacon_font_set+0x21b/0x240
Jun 23 01:43:36 zirael kernel: [ 3043.224546]  
[complete_change_console+0x171/0x1b0] complete_change_console+0x171/0x1b0
Jun 23 01:43:36 zirael kernel: [ 3043.224552]  [console_callback+0x0/0x110] 
console_callback+0x0/0x110
Jun 23 01:43:36 zirael kernel: [ 3043.224557]  [console_callback+0xf0/0x110] 
console_callback+0xf0/0x110
Jun 23 01:43:36 zirael kernel: [ 3043.224563]  [run_workqueue+0xcc/0x170] 
run_workqueue+0xcc/0x170
Jun 23 01:43:36 zirael kernel: [ 3043.224567]  [worker_thread+0x0/0x110] 
worker_thread+0x0/0x110
Jun 23 01:43:36 zirael kernel: [ 3043.224573]  [worker_thread+0x0/0x110] 
worker_thread+0x0/0x110
Jun 23 01:43:36 zirael kernel: [ 3043.224579]  [worker_thread+0xa3/0x110] 
worker_thread+0xa3/0x110
Jun 23 01:43:36 zirael kernel: [ 3043.224585]  [80256ee0] 
autoremove_wake_function+0x0/0x30
Jun 23 01:43:36 zirael kernel: [ 3043.224593]  [worker_thread+0x0/0x110] 
worker_thread+0x0/0x110
Jun 23 01:43:36 zirael kernel: [ 3043.224599]  [worker_thread+0x0/0x110] 
worker_thread+0x0/0x110
Jun 23 01:43:36 zirael kernel: [ 3043.224604]  [kthread+0x4b/0x80] 
kthread+0x4b/0x80
Jun 23 01:43:36 zirael kernel: [ 3043.224611]  [child_rip+0xa/0x12] 
child_rip+0xa/0x12
Jun 23 01:43:36 zirael kernel: [ 3043.224630]  [kthread+0x0/0x80] 
kthread+0x0/0x80
Jun 23 01:43:36 zirael kernel: [ 3043.224635]  [child_rip+0x0/0x12] 
child_rip+0x0/0x12

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

-- 
WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz
https://bugs.launchpad.net/bugs/242489
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 242489] Re: WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz

2008-06-23 Thread jankokoska

** Attachment added: version.log
   http://launchpadlibrarian.net/15545933/version.log

-- 
WARNING: vc_resize() - events kernel thread dying on 2.6.24-18-openvz
https://bugs.launchpad.net/bugs/242489
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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