[Bug 1797282] Re: fsck not running at all on reboot

2019-07-09 Thread Ewan Mellor
In my case, Ubuntu 18.04 running on AWS, the problem was as follows:

1. /etc/fstab had 0 in the 6th (passno) field.  I presume this is the default 
that AWS places there, or maybe this is determined by the Ubuntu template on 
AWS.
2. According to a comment that I found on Stack Overflow, this is used by 
mkinitramfs to decide not to put fsck in the initrd.  This is *in no way* 
obvious.
3. Without fsck in the initrd, it can't run the fsck, so it just prints a 
message instead.  This message tells you that a fsck is recommended, but it 
doesn't tell you why it hasn't done one.

To fix this:
1. I changed /etc/fstab to have a "1" in the passno field
2. update-initramfs -u
3. reboot, and the check runs as expected.

I think the following changes should be made:

1. There should be a console warning during startup if the root volume cannot 
be checked because fsck is not available.
2. If /etc/fstab is coming from an Ubuntu-controlled template, then passno for 
the root volume should be set to 1.  I know that AWS will fail to boot the 
instance if the fsck goes interactive, necessitating manual repairs, but surely 
failing to boot the instance is better than silently running on a corrupt root 
filesystem.
3. This should be in some documentation somewhere.  The fact that mkinitramfs 
will exclude fsck from the initrd if it thinks you don't need it is 
particularly obscure.  If there is some kind of "getting started with Ubuntu on 
AWS" then this should be in there.

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

Title:
  fsck not running at all on reboot

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

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

[Bug 1797282] Re: fsck not running at all on reboot

2019-07-09 Thread Ewan Mellor
** Changed in: systemd (Ubuntu)
   Status: Expired => Confirmed

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

Title:
  fsck not running at all on reboot

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

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

[Bug 1293152] Re: fstrim-all weekly cron generate noise when hdparm isn't installed or on a VM

2014-03-17 Thread Ewan Mellor
For comment above:

# lsb_release -rd
Description:Ubuntu Trusty Tahr (development branch)
Release:14.04

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

Title:
  fstrim-all weekly cron generate noise when hdparm isn't installed or
  on a VM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1293152/+subscriptions

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


[Bug 1293152] Re: fstrim-all weekly cron generate noise when hdparm isn't installed or on a VM

2014-03-17 Thread Ewan Mellor
My complaint is similar to the original reporter, but not the same.  I'm
happy to split this into a separate ticket if needs be, but I thought
that keeping them together was appropriate.

I have a VM running on Amazon, and every week I get this mail from
fstrim's cron:

/etc/cron.weekly/fstrim:
HDIO_DRIVE_CMD(identify) failed: Invalid argument
device /dev/disk/by-label/cloudimg-rootfs is not an Intel or Samsung drive
HDIO_DRIVE_CMD(identify) failed: Invalid argument
device /dev/xvdb is not an Intel or Samsung drive


hdparm: 9.43-1ubuntu3
util-linux: 2.20.1-5.1ubuntu14


** Summary changed:

- fstrim-all weekly cron generate noise when hdparm isn't installed
+ fstrim-all weekly cron generate noise when hdparm isn't installed or on a VM

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

Title:
  fstrim-all weekly cron generate noise when hdparm isn't installed or
  on a VM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1293152/+subscriptions

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


[Bug 348139] Re: netstat --numeric-ports also shows hosts only in numeric format

2013-10-05 Thread Ewan Mellor
Seen on Ubuntu 12.04.3 LTS with net-tools 1.60-24.1ubuntu2.

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

Title:
  netstat --numeric-ports also shows hosts only in numeric format

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

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


[Bug 829880] Re: object store doesn't like key with '/'

2012-03-01 Thread Ewan Mellor
nova-objectstore is deprecated, and this ticket has been untouched for 6
months.  Resolving as Won't Fix.


** Changed in: nova
   Status: Confirmed = Won't Fix

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

Title:
  object store doesn't like key with '/'

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/829880/+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 829880] Re: object store doesn't like key with '/'

2012-03-01 Thread Ewan Mellor
nova-objectstore is deprecated, and this ticket has been untouched for 6
months.  Resolving as Won't Fix.


** Changed in: nova
   Status: Confirmed = Won't Fix

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

Title:
  object store doesn't like key with '/'

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

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


[Bug 681774] Re: nova_sudoers is brittle, should use proper rootwrap

2011-02-08 Thread Ewan Mellor
Do you mean euca_rootwrap as implemented like this: http://www.sfr-
fresh.com/linux/misc/eucalyptus-2.0.2-src-
online.tar.gz:a/eucalyptus-2.0.2/util/euca_rootwrap.c?

Unless I'm missing something, this will execute any command with full
root privileges, which completely defeats the point of privilege
separation.  Using sudo is pretty horrible, but at least it can enforce
that only a few named commands may be run.  Using euca_rootwrap would be
hardly any more secure than just running the nova daemons as root.

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

Title:
  nova_sudoers is brittle, should use proper rootwrap

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