Back to Home / #linode / 2021 / 10 / Prev Day | Next Day
#linode IRC Logs for 2021-10-30

---Logopened Sat Oct 30 00:00:41 2021
00:25-!-NomadJim [~Jim@72.168.160.251] has joined #linode
00:25-!-NomadJim is "Nomad" on #debian #linode
01:08-!-lls [~lls@0002aa2c.user.oftc.net] has joined #linode
01:08-!-lls is "lls" on #linode
01:43-!-fergtm [~fergtm@2806:2f0:51e1:6843:f0d4:d87d:d0db:b32a] has quit [Ping timeout: 480 seconds]
01:52-!-fergtm [~fergtm@2806:2f0:5001:9cfb:f0d4:d87d:d0db:b32a] has joined #linode
01:52-!-fergtm is "Fernando" on #linode
03:33-!-lilac1 [~lilac@x4dbf859d.dyn.telefonica.de] has joined #linode
03:33-!-lilac1 is "lilac" on #linode
03:37-!-lilac1 [~lilac@x4dbf859d.dyn.telefonica.de] has left #linode [WeeChat 2.8]
03:48-!-lilac [~lilac@x4dbf859d.dyn.telefonica.de] has joined #linode
03:48-!-lilac is "lilac" on #linode
03:54-!-lilac [~lilac@x4dbf859d.dyn.telefonica.de] has left #linode [WeeChat 2.8]
04:10-!-blaboon [~blaboon@00026ecf.user.oftc.net] has quit [Quit: Bye o/]
04:11-!-blaboon [~blaboon@00026ecf.user.oftc.net] has joined #linode
04:11-!-blaboon is "Bradley LaBoon" on #alpine-linux #alpine-infra #linode
04:11-!-mode/#linode [+o blaboon] by ChanServ
04:22-!-fergtm [~fergtm@2806:2f0:5001:9cfb:f0d4:d87d:d0db:b32a] has quit [Ping timeout: 480 seconds]
04:32-!-fergtm [~fergtm@2806:2f0:51e0:d72:f0d4:d87d:d0db:b32a] has joined #linode
04:32-!-fergtm is "Fernando" on #linode
06:13-!-Lucretia [~Luke@cpc114120-lee213-2-0-cust896.7-1.cable.virginm.net] has joined #linode
06:13-!-Lucretia is "Luke" on #wayland #rocm #oberon #radeon #dri-devel #linode #llvm #virt
07:12-!-ssa_ [~oftc-webi@103.217.121.237] has joined #linode
07:12-!-ssa_ is "OFTC WebIRC Client" on #linode
07:13<ssa_>Hello world
07:13<ssa_>I just created a new volume and attached it to a running linode.
07:14<ssa_>But with `ls /dev/disk/by-id/`, I still only get single result: > scsi-0QEMU_QEMU_HARDDISK_drive-scsi-disk-0 -> ../../sda
07:15<ssa_>I did point the volume to be sdb on the linode.
07:15<@pwoods>ssa_: do you have a swap disk on your Linode? By default that's listed at sdb
07:16<ssa_>No swap
07:17<ssa_>#/dev/sdb none swap defaults 0 0
07:19<ssa_>Should I consider trying sdc instead?
07:22<ssa_>sda:boot sdb:none sdc:my-voume
07:22<ssa_>volume page says, attached to: my-instance
07:23<ssa_>`ls /dev/disk/by-id/` still gives the sole local disk entry
07:23<ssa_>Am I supposed to reboot the instance?
07:30<@pwoods>it's been a hot minute since I last set up a Block Storage Volume, let me check.
07:32<@pwoods>ssa_: Are you following these steps? https://www.linode.com/docs/products/storage/block-storage/guides/configure-volume/
07:32<ssa_>the FILE_SYSTEM_PATH doesn't exist on the instance though
07:33<ssa_>The Show Config link has these commends prefilled. But ..
07:33<ssa_>mkfs.ext4 "/dev/disk/by-id/scsi-0Linode_Volume_my-volume1"
07:33<ssa_>mke2fs 1.45.5 (07-Jan-2020)
07:33<ssa_>The file /dev/disk/by-id/scsi-0Linode_Volume_my-volume1 does not exist and no size was specified.
07:36<ssa_>If it matters, I'm using terraform. The cloud manager UI shows the settings applied as expected.
07:38<@pwoods>I haven't used terraform, but I don't think that would matter.
07:38<@pwoods>FILE_SYSTEM_PATH is a fill in for the guide, it's not an actual path
07:38<@pwoods>"Create an ext4 file system by running the following command, where FILE_SYSTEM_PATH is your Volume’s file system path:"
07:39<ssa_>that's "/dev/disk/by-id/scsi-0Linode_Volume_my-volume1"
07:40<ssa_>> ls /dev/disk/by-id/
07:40<ssa_>scsi-0QEMU_QEMU_HARDDISK_drive-scsi-disk-0
07:40<ssa_>That's all it shows ^
07:45<Tj>ssa_: the disk/by-* symlinks are created by udev rules; do those rules exist? is udev receiving events from the kernel? does "udevadm trigger" force it?
07:45<@pwoods>you're sure you created the mount point, mounted it and then checked?
07:47<ssa_>`udevadm trigger` doesnt appear to have done anything
07:48<ssa_>pwoods: I can't mount if there's nothing to mount from /dev/disk/...
07:48<ssa_>I don't know much about udev rules.
07:49<ssa_>mount: /mnt/my-volume1: special device /dev/disk/by-id/scsi-0Linode_Volume_ my-volume1 does not exist.
07:49<ssa_>🤷
07:50<@pwoods>can you run blkid FILE_SYSTEM_PATH
07:51<@pwoods>You won't be able to access a volume from your Linode if it isn't mounted to it.
07:51<@pwoods>That's where the instructions on this page will come in: blkid FILE_SYSTEM_PATH
07:51<ssa_>sigh
07:51<@pwoods>err
07:51<@pwoods>https://www.linode.com/docs/products/storage/block-storage/guides/configure-volume/
07:51<ssa_>whatever is supposed to be the value for FILE_SYSTEM_PATH
07:51<ssa_>it doesn't exist
07:52<@pwoods>what's the mount point that you created?
07:52<ssa_>the volume is apparently "attached" to the instance. json api returns status:active
07:52<@pwoods>yes, attached in the database sense of one thing being connected to another. You'll need to mount it to your Linode in order to access it from the Linode.
07:53<ssa_>linode instance is set sdc { volume_id = linode_volume.my_volume1.id }
07:53<ssa_>YES
07:53<ssa_>But you can only mount a disk that has been detected by the operating system
07:54<ssa_>Once detected by the OS, it's supposed to show at "/dev/disk/by-id/scsi-0Linode_Volume_whatever-volume-name"
07:54<ssa_>Only once it shows there, can I run the mount commands successfully
07:54<@pwoods>Ahh, so I just started to go through the process of this and see this message in the Cloud Manager:
07:54<@pwoods>"Linode must be rebooted before attaching volumes."
07:55<ssa_>oh dang
07:55<ssa_>Where does it say that for you?
07:56<@pwoods>top of the page, with a red line next to it
07:57<ssa_>Okay. It didn't tell me to reboot anywhere.
07:57<ssa_>I'll try rebooting regardless
07:58<@pwoods>https://imgur.com/a/XNypPV8
07:59<ssa_>Interesting. It doesn't show the red lined instruction for me on https://cloud.linode.com/volumes/create
08:00<ssa_>Or even on https://cloud.linode.com/linodes/12345/storage -> Create Volume popup
08:00<ssa_>Okay
08:03<@pwoods>That occurred when I clicked the "Create Volume" button
08:06<ssa_>I'm preparing to reboot that instance. Gonna take an uptime hit 😳
08:16<@pwoods>Hmm, now seeing a message in our guide that leads me to believe that my Linode needs to be rebooted because of NVME upgrades....
08:17<@pwoods>https://www.linode.com/docs/guides/how-to-use-block-storage-with-your-linode/#:~:text=Note-,if%20the%20linode%E2%80%99s%20data%20center%20has%20been%20upgraded%20to%20nvme%20block%20storage%20and%20your%20linode%20was%20deployed%20prior%20to%20august%2024th%2C%202021%2C%20you%20may%20need%20to%20reboot%20your%20linode%20for%20it%20to%20properly%20work%20with%20a%20nvme%20block%20storage%20volume
08:17<@pwoods>.,-Click%20the%20Save
08:17<@pwoods>well that didn't work
08:17<Tj>pwoods: "before"? that wording sounds weird or misleading
08:18<Tj>pwoods: as in "Linode must be rebooted *before* attaching volumes"
08:18<Tj>surely that should be "after" so the kernel discovers the new device attached by the hypervisor?
08:18<@pwoods>Right, I think it's related to that Linode having an old volume on it
08:19<@pwoods>I was trying to create a direct link to the specific text in our guide where I found that.
08:20<@pwoods>it's related to upgrades to the Block Storage disks since I created them
08:21<Tj>ahhh
08:21<@pwoods>right, rebooted that Linode, not getting that message when trying to create a new volume on it.
08:22<ssa_>Last I rebooted this linode was probably long long before nvme storage was announced.
08:22<ssa_>(btw, rebooting now shows the volume disk)
08:23<@pwoods>ssa_: I just attached a volume to my Linode with no problem, I used the commands provided in the pop up after creating the volume in the Cloud Manager
08:23<@pwoods>$ ls /dev/disk/by-id/
08:23<@pwoods>scsi-0Linode_Volume_ssa-testy
08:23<@pwoods>Y
08:25*Tj wonders how ssa's volume got attached to pwood's Linode :P
08:25<ssa_>Perhaps now that I've rebooted the linode once, I wouldn't need to do so again for attaching detaching more volumes?
08:25*pwoods sudden feels like a suspect
08:26<@pwoods>Right, so I realized that the reboot was related to having a BSV on that Linode that was created prior to the NVME upgrades.
08:29<ssa_>When you resize this volume (say from 20 to 30GB), do you need to do something?
08:30<@pwoods>Yes: https://www.linode.com/docs/guides/how-to-use-block-storage-with-your-linode/#how-to-resize-a-block-storage-volume
08:31-!-eagles0513875 [~oftc-webi@195.158.94.198] has joined #linode
08:31-!-eagles0513875 is "OFTC WebIRC Client" on #linode
08:32<eagles0513875>hey guys i have 2 questions for linode staff, firstly i have a volume which i created but had not mounted and i resized it so initially it was 100gb then i upped it to 200gb yet after mounting the volume its showing 100gb how does one resize a mounted volume
08:32<eagles0513875>what have i missed?
08:32<ssa_>https://www.linode.com/docs/guides/how-to-use-block-storage-with-your-linode/#how-to-resize-a-block-storage-volume
08:32-!-erpverse [~oftc-webi@49.207.221.176] has joined #linode
08:32-!-erpverse is "OFTC WebIRC Client" on #linode
08:33<ssa_>i asked the same question a minute ago :D
08:33<Tj>eagles0513875: the link posted immediately before you entered the channel... and reposted now for you!
08:33<ssa_>:D
08:33<erpverse>TCO calculator is not loading
08:33<eagles0513875>also 3cx as a pbx is now linux based and runs on debian 10 after reaching out to them they said th eonly way to really install it is wiht their custom ISO quesition to ask is how can we get the 3cx iso added as an image we can install?
08:33<Tj>that's spooky action at a distance, pwoods knowing what eagles0513875 was going to ask /before/ he came into the channel
08:33<eagles0513875>thanks ssa_ and Tj
08:34<eagles0513875>hahah Tj yep happy halloween lol
08:34-!-erpverse [~oftc-webi@49.207.221.176] has quit []
08:36<Tj>eagles0513875: maybe this https://www.linode.com/docs/guides/install-a-custom-distribution-on-a-linode/
08:36<ssa_>I followed the instructions after the resize and `df -h` still says 20GB :/
08:37<ssa_>I did: umount, e2fsck -f, resize2fs, mount
08:37<eagles0513875>Tj: i have seen that but i am wanting it to become an official distro that one can easily install in a few clicks on a linode
08:42<Tj>eagles0513875: ahhh, I see what you mean. pointy-clicky kind of thing
08:43<eagles0513875>exactly
08:43<ssa_>Why does the `resize2fs /dev/disk/..` command say "Nothing to do!"
08:43<eagles0513875>and 3cx is one of the most popular pbx systems out there and with it coming to linux as it was only windows based before it would be a valuable asset to have
08:44<Tj>ssa_: because the FS is the same size as the containing block device
08:46<ssa_>OK. It took a reboot for the resize2fs command to do its thing.
08:46<ssa_>:/
08:51<eagles0513875>im curious
08:51<eagles0513875>i resized my volume before i even attached it
08:51<eagles0513875>why would i need to unmount it if it was never attached to start with?
08:55<Tj>ssa_: there should be/ is a way for the new block device size to be detected /if/ the hypervisor allows size to change from the point of view of the guest
08:56<Tj>eagles0513875: file-systems within volumes won't magically resize themselves, but as long as the kernel sees the larger block device size, an online resize is possible (with ext* FS)
09:02<ssa_>okay but i dont know what that means in practice. :)
09:02<ssa_>i'm using Paravirtualization vm mode if that matters
09:03<ssa_>all helpers enabled.
09:06<eagles0513875>Tj: i resized the volume via the linode web interface before i even attached to the vm that is why i am finding it strange
09:31<eagles0513875>Tj: a restart is all i needed for it to pick up the additional 200gb
09:31<eagles0513875>i wonder if that would be the same going forward
09:32<Tj>eagles0513875: 'restart' is a pretty big thing to do; but for a block device the size will show correctly; a file-system inside the block device will not be expanded though, unless there's some boot-time service that is specifically designed to do that
09:36<eagles0513875>dunno i will know once i clone the fedora rawhide repo's
09:40<ssa_>thanks for all the help fellows
09:40<ssa_>(so far no solution without reboots)
09:43-!-ssa_ [~oftc-webi@103.217.121.237] has quit []
11:10-!-lonewulf` [~lonewulf@00020897.user.oftc.net] has quit [Quit: leaving]
11:26-!-Strykar [~wakka@strykar.user.oftc.net] has joined #linode
11:26-!-Strykar is "vector" on #tor-relays #tor #pipewire #linode #bitlbee
11:36-!-lookmk [~oftc-webi@79.125.208.185] has joined #linode
11:36-!-lookmk is "OFTC WebIRC Client" on #linode
11:37-!-lookmk [~oftc-webi@79.125.208.185] has quit []
11:37-!-simpson [~oftc-webi@79.125.208.185] has joined #linode
11:37-!-simpson is "OFTC WebIRC Client" on #linode
11:37<simpson>Hello i need help
11:40<FluffyFoxeh>what do you need help with
11:46<simpson>installed autossl in WHM now have problem None of the common names in the certificate match the name that was entered (www.example.com). You may receive an error when accessing this site in a web browser. Learn more about name mismatch errors.
11:48<simpson>i have whm cpanel and wordpress
12:00<@pwoods>Have you used any sort of SSL checker? They commonly provide an error message and what needs to happen to get them fixed.
12:00<@pwoods>I really like https://www.sslshopper.com/ssl-checker.html
12:02<dwfreed>ssllabs is nice too
12:02<dwfreed>but definitely very technical
12:05<simpson>how to resolve?
12:06<simpson>yes checked with sslshopper None of the common names in the certificate match the name that was entered (www.****.com). You may receive an error when accessing this site in a web browser. Learn more about name mismatch errors.
12:11<simpson>Domain Control Validation failed: The system queried for a temporary file at “http://example/.well-known/pki-validation/55B0A3E33592230423BF7115CC31.txt”, but the web server responded with the following error: 404 (Not Found). A DNS (Domain Name System) or web server misconfiguration may exist. DNS-based DCV also failed.
12:13<FluffyFoxeh>Hmm, Linode's alert emails are HTML now. Can I change them back to plain text?
12:13<dwfreed>need that multipart/alternative
12:14<FluffyFoxeh>oh it is multipart/alternative
12:14<FluffyFoxeh>Maybe I just need to change my email client then :P
12:18<eagles0513875>simpson: are you trying to setup cpanel to use a lets encrypt certificate
12:18<eagles0513875>as i found a way to do that on cpanel which in a way cheeses the system a bit
12:19<simpson>Here SSL/TLS Status ?
12:20<eagles0513875>for the domain that you are using to access the panel or client domain?
12:21<eagles0513875>what i did i had my domain obviously setup as an account on the system then i added the subdomain that im using for cpanel and lets encrypt actually worked
12:28<FluffyFoxeh>I wonder how the SSL certificate industry was affected by Lets Encrypt
12:29<FluffyFoxeh>how did they adapt to competing against free?
12:29<dwfreed>by trying to market their paid certs as more valuable
12:29<dwfreed>and I don't think LE hurt the market that much
12:30<dwfreed>the vast majority of people who get LE certs would not have gotten certs before
12:30<FluffyFoxeh>really?
12:30<dwfreed>yeah, so many people would have just forgone a cert for their little project because they didn't want to fork over the dough and deal with yearly renewal
12:32<FluffyFoxeh>I still self sign with my own Root CA, lol. Only I use the services so that works. I just add my root to the cert store(s) on my devices
12:32<eagles0513875>with cpanel hosting i give all my clients a certificate
12:34<FluffyFoxeh>e.g. https://www.sslshopper.com/ssl-checker.html#hostname=kitsune.fastquake.com
12:35<FluffyFoxeh>at this point it would probably be easier to use LE. but I'm special
12:38<FluffyFoxeh>sslshopper.com uses LE lol
12:39<FluffyFoxeh>and their "certificate comparison" tool doesn't even recommend it
12:40<FluffyFoxeh>What a joke
12:41<FluffyFoxeh>And the website is now down
12:41<eagles0513875>lol
12:41<FluffyFoxeh>nevermind, back up. it's yo-yoing
12:45<FluffyFoxeh>(yes I verified with DFEOJM)
12:51-!-Shentino [~shentino@50.35.133.46] has quit [Remote host closed the connection]
13:00-!-simpson [~oftc-webi@79.125.208.185] has quit [Quit: Page closed]
13:02-!-Shentino [~shentino@50.35.133.46] has joined #linode
13:02-!-Shentino is "realname" on #kernelnewbies #mm #linode #tux3
13:22-!-dan64 [~dan64@dannyadam.com] has quit [Ping timeout: 480 seconds]
13:29-!-Shentino [~shentino@50.35.133.46] has quit [Remote host closed the connection]
13:31-!-Shentino [~shentino@50.35.133.46] has joined #linode
13:31-!-Shentino is "realname" on #kernelnewbies #mm #linode #tux3
13:32-!-dan64 [~dan64@dannyadam.com] has joined #linode
13:32-!-dan64 is "dan64" on #lyx #linode
13:52-!-Shentino [~shentino@50.35.133.46] has quit [Remote host closed the connection]
13:53-!-Shentino [~shentino@50.35.133.46] has joined #linode
13:53-!-Shentino is "realname" on #kernelnewbies #mm #linode #tux3
14:01-!-NomadJim [~Jim@72.168.160.251] has quit [Read error: Connection reset by peer]
14:07-!-Shentino [~shentino@50.35.133.46] has quit [Ping timeout: 480 seconds]
14:22-!-Shentino [~shentino@50.35.133.46] has joined #linode
14:22-!-Shentino is "realname" on #kernelnewbies #mm #linode #tux3
14:22-!-Shentino [~shentino@50.35.133.46] has quit [Remote host closed the connection]
14:23-!-Shentino is "realname" on #kernelnewbies #mm #linode #tux3
14:23-!-Shentino [~shentino@50.35.133.46] has joined #linode
14:25-!-koenig [~koenig@00029c1b.user.oftc.net] has joined #linode
14:25-!-koenig is "koenig" on #linode
15:19-!-tharkun [tharkun@00017490.user.oftc.net] has joined #linode
15:19-!-tharkun is "Unknown" on #linode
15:21<tharkun>Good $DAY for a few weeks one of my linodes is reporting a sustained outbound trafic for a couple hours a day. I am looking into this isue yet logs do not report anything special. Is there a tool within the linode console that can tell me more about it? Is there a tool I can use to pinpoint the nature of this traffic?
15:22<@pwoods>tharkun: you can run something like nethogs that can help in pinpointing the process that's causing the traffic https://www.tecmint.com/nethogs-monitor-per-process-network-bandwidth-usage-in-real-time/
15:26<tharkun>pwoods: Thanks, I was looking for something like vmstat attached to a cronjob so I have a rather 24/7 lookout for the culprit.
16:57<dwfreed>vmstat is not per-process and thus would provide no more useful information than the graph does
17:29-!-fannet [~oftc-webi@pool-173-73-26-79.washdc.fios.verizon.net] has joined #linode
17:29-!-fannet is "OFTC WebIRC Client" on #linode
17:29<fannet>hey all - our linode has been compromised and is being used to run a crypto miner
17:32<Toba>if you have a compromized computer the only safe thing to do is 1) build a new one 2) ensure it's fully patched and configured
17:32<Toba>3) carefully copy over just "safe" parts of the backups (data files etc) of your old machine
17:32<Toba>there is no way to confidently, completely certainly "clean up" an infection on a computer with any degree of certainty something's not still hiding in there.
17:32<Toba>and of course (4) dispose of the old one
17:33<Toba>good luck, that sounds like a ruined saturday to me
17:34*Toba goes and updates software on his linodes
17:34<fannet>sadly its from a linode deployed "marketplace" image
17:44-!-fluffywolf [~furrywolf@172.58.44.80] has quit [Ping timeout: 480 seconds]
17:47-!-wcpan [~quassel@2400:8902::f03c:91ff:fee0:f952] has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
17:47-!-wcpan [~quassel@2400:8902::f03c:91ff:fee0:f952] has joined #linode
17:47-!-wcpan is "wcpan" on #dot #debian #linode
18:27<@pwoods>fannet: Marketplace apps are scripts that run when the Linode is created. Aside from those scripts, they have the same security in place as any new Linode.
18:28<@pwoods>Toba is correct in those steps, though also if you have a backup that you know is clean, then you can restore from that, too.
18:28<@pwoods>We also have https://www.linode.com/docs/guides/recovering-from-a-system-compromise/
18:28<@pwoods>I often recommend this guide as well https://www.linode.com/docs/guides/securing-your-server/
18:32<fannet>thanks @pwoods . I was under the impression marketplace apps were 'linode managed' and 'stackscripts' were 'one-off' scripts. Thanks for clarifying
18:39-!-sebastianos_ [~sebastian@103.203.72.30] has quit [Remote host closed the connection]
19:46-!-fannet [~oftc-webi@pool-173-73-26-79.washdc.fios.verizon.net] has quit [Remote host closed the connection]
20:02-!-NomadJim [~Jim@72.168.160.251] has joined #linode
20:02-!-NomadJim is "Nomad" on #debian #linode
20:42-!-yaroot [~yaroot@6.3.30.125.dy.iij4u.or.jp] has quit [Quit: The Lounge - https://thelounge.chat]
20:42-!-yaroot [~yaroot@6.3.30.125.dy.iij4u.or.jp] has joined #linode
20:42-!-yaroot is "The Lounge User" on #linode
20:59<linbot>New news from community: How do I reverse a payment transaction? <https://www.linode.com/community/questions/22056>
21:57-!-lonewulf` [~lonewulf@00020897.user.oftc.net] has joined #linode
21:57-!-lonewulf` is "U-lonewulf-PC\lonewulf" on #linode #debian-offtopic #debian #oftc
---Logclosed Sun Oct 31 00:00:43 2021