kernel update requires change to mount command?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
linx255
Level 5
Level 5
Posts: 668
Joined: Mon Mar 17, 2014 12:43 am

kernel update requires change to mount command?

Post by linx255 »

Hi,

I updated my kernel from 4.4 to 4.15 and now suddenly mount command works differently.

I used to:
mount [disk dump image] /mountpoint

but now that same command produces an error:
failed to setup loop device: Operation not permitted

adding '-o loop,ro' fixes it, but I'm just wondering if there's a reason for this change and if there is a list of changes to bash or system commands with each kernel version.

Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- I'm running Mint 18 Mate 64-bit
- 4.15.0-34-generic x86_64
- All my bash scripts begin with #!/bin/bash
deepakdeshp
Level 20
Level 20
Posts: 12337
Joined: Sun Aug 09, 2015 10:00 am

Re: kernel update requires change to mount command?

Post by deepakdeshp »

You must be aware that you can boot to 4.4 by choosing advanced options in grub and choosing 4.4. When upgrading the kernel in upgrade manager you get a tab indicating the new changes Incorporated.
User avatar
linx255
Level 5
Level 5
Posts: 668
Joined: Mon Mar 17, 2014 12:43 am

Re: kernel update requires change to mount command?

Post by linx255 »

Well I'm upgrading to 4.15 because 4.4 doesn't have the Spectre/Meltdown fix, so I won't be using 4.4 anymore. When I list kernels in Update Manager I don't see any tabs. When I click on 'changelog' link https://changelogs.ubuntu.com/changelog ... /changelog it says:

Code: Select all

Not Found  The requested URL /changelogs/pool/main/l/linux/linux_4.15.0-34.37~16.04.1/changelog was not found on this server.
And of course even if that loaded it would over tell me what had changed since the last version, not the 4.4 I was using.

Do kernel updates typically affect bash syntax? I always thought bash was contained in separate packages and not the kernel ( I can't seem to find them if they are ).
- I'm running Mint 18 Mate 64-bit
- 4.15.0-34-generic x86_64
- All my bash scripts begin with #!/bin/bash
User avatar
Moem
Level 22
Level 22
Posts: 16229
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: kernel update requires change to mount command?

Post by Moem »

linx255 wrote: Tue Sep 18, 2018 12:51 pm Well I'm upgrading to 4.15 because 4.4 doesn't have the Spectre/Meltdown fix, so I won't be using 4.4 anymore.
That's not correct; the more recent kernels in the 4.4 series do have that fix, starting at 4.4.0-108-generic. Source
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
User avatar
linx255
Level 5
Level 5
Posts: 668
Joined: Mon Mar 17, 2014 12:43 am

Re: kernel update requires change to mount command?

Post by linx255 »

Oh man I'm confused. I don't know how I got that mixed up. I'm pretty sure I read somewhere there was at least one vulnerability 4.4 didn't fix. Hm, I'll look into it.

UPDATE: Ok, so what it is, is, my 4.4.0-21 was not patched AFAIK ( other 4.4's per your link are ) but I switched to 4.15.0-34 because I'm going to be upgrading to Mint 19 and I figured I might as well use the 4.15 series which it apparently ships with.
- I'm running Mint 18 Mate 64-bit
- 4.15.0-34-generic x86_64
- All my bash scripts begin with #!/bin/bash
Locked

Return to “Software & Applications”