/srv/irclogs.ubuntu.com/2019/07/12/#ubuntu.txt

intok-worksarnold Plymoth should be as it was a functioning install for several months prior. How would I go about rebuilding initramfs? I currently have it booted from a USB stick while I'm typing this on my main system.00:02
sarnoldintok-work: chroot into the mounted system, bind mount in /proc /sys and /dev , then .. mkinitramfs? I think00:03
intok-worksarnold assume I'm an idiot, this is all new stuff to me00:14
raidensnakeany idea why ubuntu arm doesn't detect the storage on the raspberry pi 4?00:14
sarnoldintok-work: ah, sorry :)00:14
raidensnakethe net install can't detect the memory card00:15
raidensnakeand when I do a cchroot build it won't start.00:16
raidensnakechroot using debootstrap00:16
sarnoldintok-work: once you've got the root filesystem mounted on eg /mnt you would do mount --rbind /dev  /mnt/dev ; mount --rbind /proc /mnt/proc ; mount --rbind /sys  /mnt/sys ; chroot /mnt /bin/bash --login00:16
sarnoldintok-work: (I copy-pasted those from one of the blocks here https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS#rescuing-using-a-live-cd  )00:16
raidensnakeI did that but trying to boot the pi 4 with the install didn't work00:20
intok-linuxsarnold so it's mounted00:22
raidensnakethe boot loader is up but nothing happens after that.00:22
raidensnakecause it's not detecting the mocrosd card00:22
sarnoldintok-linux: alright, nice; and once you're chrooted, ps and top and the like seemed to work fine?00:23
electricityZZZZis there One True Way to manage CUDA (and nvidia driver) installation on ubuntu? i always end up with trouble... just now pytorch is complaining that my cuda driver is out of date but it was working fine before. i think that an ubuntu auto update nuked my cuda driver and/or nvidia graphics driver.00:23
sarnoldintok-linux: if they work fine then the mount --rbinds should be working...00:23
sarnoldintok-linux: I'm hoping/guessing that rebuilding the initramfs may help. re-installing grub may help00:25
raidensnakeif you're on about the pi it doesn't use grub.. it uses uboot.00:25
sarnoldintok-linux: to update the initramfs, try update-initramfs -k all -u   -- and I think update-grub will rebuild your grub config00:26
sarnoldraidensnake: intok-linux's got a laptop, not pi ;)00:26
raidensnakeI'm poi nting out I can't get ubuntu arm to work.00:27
raidensnakecause it can't detect the storage.00:27
sarnoldraidensnake: my pi3b just worked, I didn't have to do anything funny.. I don't know how it works well enough to give any advice. if you could get the kernel booted, then we'd be some place where I can have ideas :)00:27
raidensnake@sarnold I'm using a pi 4.00:30
raidensnakeI'm just saying ubuntu won't boot on a pi 400:31
freeittHi I'm having trouble getting audio on a creative ca0132 chipset does anyone have something that works? I've tried several things and nothing has helped00:34
freeittwhen I reload the alsa drivers ca0132 is listed as one that's reloaded I just don't know why it won't play sound00:35
chietai've tried https://askubuntu.com/a/472769/971074 to send notification via cronjob but no luck what did i miss "*/2 * * * * export DISPLAY=:0 && /usr/bin/notify-send -t 12000 BO"00:46
Svetawhy not use a gui for chron00:47
chietagui apps for cron Sveta00:48
freeittsorry I rebooted, did anyone respond to my sound issue?00:48
sarnoldfreeitt: sorry, no00:48
freeittdang, not sure why I'm having issues after reinstalling. I had no issue with a normal installation before this00:49
freeittthanks though00:49
Svetachieta, yes, i mean gui apps for chron00:52
sarnoldchieta: did cron send any emails that might include errors?00:52
chietahere i used cli Sveta00:55
chietano, it didn't sarnold00:55
chietathe command works but it doesn't on cron00:56
Svetawhat about...\00:56
SvetaDISPLAY=:0 /usr/bin/notify-send -t 12000 BO00:56
Svetaas one command, not two00:56
sarnoldheh, good idea00:56
chietachecking...00:59
chietaim on 19.04 and it doesn't work... but i see the job executed and logged on syslog01:03
sarnoldchieta: hmm. maybe add to the end...  > /tmp/output 2> /tmp/error  -- see if you can find out more that way?01:05
becoolwhat's the "best" sftp server for linux/ubuntu?01:08
Svetasshd01:08
becoolbetter than sftp?01:08
Svetaopenssh server provides sftp01:09
becooli mean vsftpd01:09
Svetaand sftp does not work without ssh01:09
Svetavsftpd is not sftp, it is another security/auth method01:09
becoolgotcha, so is openssh = sshd?01:09
Svetasftp stands for 'SECURE ftp' and involves authing over the ssh protocol. ftp does not use that and uses its own username+password pair instead01:10
Svetayes01:10
becoolok so basically to setup an sftp server i just create an ubuntu install with openssh-server and configure it01:10
daxsftp stands for SSH File Transfer Protocol01:10
daxbecool: yep01:10
becoolthanks01:11
Svetadax, thanks for the correction01:11
dax(confusingly, sftp is unrelated to ftp or to ftp-over-TLS aka ftps. the latter two are what vsftpd would get you)01:11
chietasarnold no output and error listed01:13
chietadid the command work on your env, sarnold?01:14
chietaSveta01:14
sarnoldchieta: good question, let me try01:15
sarnoldchieta: yeah, I added this to my user crontab with crontab -e and it worked flawlessly: * * * * * DISPLAY=:0 /usr/bin/notify-send hi01:17
chietanoted, sarnold i will try without -t switch01:18
=== zbenjamin_ is now known as zbenjamin
freeittOk, new question, how do I force the ca0132 driver onto the card instead of using the snd_hda_intel I want to use snd-hda-codec-ca013201:29
sarnoldfreeitt: hmm I think I've seen options like that in a gnome sound control panel once01:35
sarnoldfreeitt: *maybe* pavuctrl? or how is that spelled..01:35
freeittI haven't seen anything like that in either of those programs01:37
sarnold;(01:40
xrandr_Hello, how can I tell if I need another wireless driver for my WiFi card? It keeps randomly dropping02:20
dsagHow to pass kernel parameters to a process during run time02:21
xrandr_Using ubuntu desktop 19.0402:22
sarnolddsag: what's a "kernel parameter" that you would pass to a process?02:22
dsagNothing specific as of now. But Anything parameters02:23
dsag@setharnold you could maybe give an example?02:24
sarnolddsag: well, that's why I asked you :) I don't know what you're trying to do02:24
dsagLets say if i want to allocate more memory to a process02:25
dsagCan we pass some kernel parameters?02:25
sarnolddsag: processes allocate memory as they need themselves; do you mean modifying rlimits? cgroups? or something else?02:26
dsagLets say if i want to modify02:26
xrandr_I am using an Intel Wireless 8260 according to lshw -c network02:29
xrandr_What drivers should I be using for that02:29
sarnoldxrandr_: you could check the output of modinfo /lib/modules/`uname -r`/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko   to make sure that your hardware matches one of the alias: lines from that module02:32
xrandr_I guess not02:36
xrandr_Wired it is then, hopefully02:36
xrandr_brb02:37
=== [b0b] is now known as b0b
Casper26Anyone around who could help with an fstab parse error?02:58
guivercCasper26, better to describe your problem and you may get someone helping.02:59
Casper26get a parse error when adding s23dc01:/DOCS  /media/s23dc01/DOCS  nfs auto nofail,uid=1000,gid=1000,noatime 0 0 to fstab?03:00
guivercCasper26, try it without space between auto & nofail (they are the same paramater & should be seperated by comma)03:02
Casper26@guiverc that worked thanks alot!03:05
AlexMaxHow well does Ubuntu 18.04 LTS run on a 2009 core 2 duo with 2 gigs of RAM?03:26
AlexMaxIs it even worth borhtering to try and install it?03:26
AlexMaxI don't mind switching DE's if necessary.03:27
AlexMaxJust trying to do some web browsing and maybe some C programming on it, nothing huge.03:27
rwpAlexMax, It should run okay.  But with 2G of ram the limiter across all systems will be web browsers.  Firefox and Chromium are pigs.03:28
rwpAside from those everything else you mentioned wanting to do should be fine.03:28
AlexMaxrwp: Well, 8 gigs of RAM is $37 off newegg03:35
AlexMaxbut for $37 I could probably get a better laptop lol03:35
rwpTrue.  I paid a total of $89 for the x220 I am typing on now.  With 8GB of ram.03:36
AlexMax...tell me more :P03:36
AlexMaxMine is a T50003:36
rwpWhat's there to tell?  eBay.  Shop for what you know.03:36
rwpBut in the meantime.  I say go for it with the installation.  It might be just enough for you.  Why not?03:37
adol-christinj04:06
AlexMaxWelp, it's installing, giving lubuntu a shot04:09
tsimonq2Fun keyserver-related question that probably belongs here.04:28
tsimonq2My GPG key was signed by some spammers, and I would like to remove the spam signatures.04:28
tsimonq2I currently hold my GPG private key, so I hope this is still possible.04:28
tsimonq2I haven't been able to find working documentation on this yet.04:29
tsimonq2The GPG key in question is the one on my LP profile (~tsimonq2).04:29
Svetahow can a spammer sign your gpg key without having your privat key?04:30
tsimonq2¯\_(ツ)_/¯04:30
tsimonq2Well, they can sign my key.04:30
tsimonq2I didn't sign theirs.04:30
tsimonq2They pushed my key directly to the server.04:31
tsimonq2When I push my own key directly to the server, it doesn't overwrite the spam entries, which is "wat" in and of itself.04:31
lotuspsychjetsimonq2 Sveta could this be related? https://www.vice.com/en_us/article/8xzj45/someone-is-spamming-and-breaking-a-core-component-of-pgps-ecosystem04:32
tsimonq2lotuspsychje: Nope. My key was spammed a while ago, that's unrelated.04:32
lotuspsychjekk04:32
tsimonq2I'm just thinking of this now. :P04:32
tsimonq2https://keyserver.ubuntu.com/pks/lookup?op=vindex&fingerprint=on&search=0xE27F2CF8458C2FA404:34
tsimonq2e.g. "Matthew Knight <mkkongdonghard4u@gmail.com>"04:34
lotuspsychjetsimonq2: sure its not this? just brainstorming with you https://access.redhat.com/articles/426402104:38
daxyou can't remove signatures (or anything else) from SKS keyservers04:38
tsimonq2Aww man.04:39
lotuspsychjemalicious signed, that sounds like what you have right?04:39
tsimonq2Correct, but like I said, these signatures were from 2018.04:39
tsimonq2dax: Even if I have the private key?04:39
tsimonq2That's disappointing.04:39
daxyes, even if you have the private key04:39
daxit's inherent in the design of SKS, it's not a new thing (people bothering to do it tens of thousands of times is a new thing)04:40
tsimonq2I'm curious what the rationale behind that is.04:40
tsimonq2I can see not removing keys if you don't have the private key or revocation cert.04:40
tsimonq2That's fine and dandy.04:41
daxhttps://gist.github.com/rjhansen/67ab921ffb4084c865b3618d6955275f#keyserver-design-goals04:41
tsimonq2Well, thanks anyway.04:43
lotuspsychjetsimonq2: nice git here too: https://gist.github.com/rjhansen/67ab921ffb4084c865b3618d6955275f04:43
lotuspsychjeseems like what dax said is mentioned under concequences04:43
tsimonq2Yeah.04:43
adol-christinREEEEEEEEEEEEEEEEE05:12
daxok05:12
GhostOfFreenodeGreetings everyone. The question I come with tonight it more theoretical than anything else, and may well be beyond the scope of a support channel. So, with that said, lets say I have a file that I want generated. And lets say that I want to be notified of that by an application window. Not a standard notification, but a true application window, something that would pop up in my panel/task manager/ whatever you want to05:26
GhostOfFreenodecall it. Would this be possible?05:26
GhostOfFreenodeOf course, I'd be checking for the file with a shell script05:27
GhostOfFreenodeI suppose similar to how a message box gets generated with a windows VBscript, but actualy with a window that was on my panel05:28
adol-christinSo i need help how do i point my domain name to apache on ubuntu05:28
GhostOfFreenodeadol-christin: Provided the service is running and ports are open, it should be as easy as pointing the, I think it's a c-name record(?) to your public IP05:30
adol-christinim using google domains05:30
adol-christinfor my domain05:31
adol-christini had to format my dedi because i played around with the host settings and it kept  crashing over and over05:31
adol-christinye ports open05:31
adol-christincan connect to my website via ip but not domain can u maybe help a poor young man?05:31
lotuspsychjeadol-christin: did you reformat with ubuntu server LTS now?05:32
adol-christinye about 20 minutes ago05:32
adol-christinjust installed apache05:32
lotuspsychjeadol-christin: ok, join #ubuntu-server please05:32
adol-christindo why can't i have helps here05:40
=== imsurit_ofc is now known as imsurit
lotuspsychjeadol-christin: the ubuntu support channels are divided for a reason, they help specific topics for specific issues/versions/topics05:43
adol-christinbut its dead :(05:44
adol-christinits deader than a dodo05:44
lotuspsychjeadol-christin: its not dead, its friday morning, a little patience please05:44
daxUbuntu Server is on-topic in both #ubuntu and #ubuntu-server, just like official flavors are on-topic in both their flavor channels and #ubuntu.05:44
adol-christinits friday arvo05:44
adol-christinim not american05:45
=== morphis6 is now known as morphis
Mr_Cyclopshello. I am running bionic. if I connect an external USB Hard drive, how can I find out if it is USB 3.0 or 3.1? Also, how can I find out if my computer supports USB 3.1? thank you06:15
ryuoMr_Cyclops: not entirely sure, but dmesg can probably tell you. that's how to tell whether USB 2.x or 3.x is supported.06:19
ryuoMr_Cyclops: as for the drive, it's hard to say. most don't indicate what level of USB they're currently using, so either checking dmesg or the IO rate is probably the only option. it also depends on what port they're connected to at times.06:20
Mr_Cyclopsryuo, thanks. though I just figured it out. Found a nice link06:20
Mr_Cyclopsnot sure if its allowed to post links here in the forum? lotuspsychje  ?06:20
ryuoi do have an enclosure that has an LCD that shows what mode it's currently using, but that's a rarity.06:21
Mr_Cyclopsget the Bus ID and Device ID from lsusb output. then do this06:22
Mr_Cyclopslsusb -D /dev/bus/usb/<busid>/<deviceid> | grep bcdUSB06:22
ryuothough i honestly can't see 3.0 -> 3.1 making a huge difference for external drives, unless they're nvme.06:24
ryuoif they're plain sata, then they'll be bottlenecked more by SATA..06:24
Mr_Cyclopstrue, 3.1 is way faster06:26
Mr_Cyclopsthough nvme is bizzarely (is that a word?) fast!06:26
dax(links are fine as long as they're on-topic, i.e. related to support)06:26
Mr_Cyclopsdax, thank you :)06:26
Mr_Cyclopsso ryuo .. the link is https://askubuntu.com/questions/604158/how-do-i-tell-if-a-usb-thumb-drive-is-usb-3-006:27
Ruehas anyone tried this new fcitx5 package?06:28
KarthaBeta channel: If you are interested in seeing what's next, with minimal risk, Beta channel is the place to be.  It's updated every week roughly, with major updates coming every six weeks, more than a month before the Stable channel will get them.07:06
Kartha updated once or twice weekly, and it shows what we're working on right now.  There's no lag between major versions, whatever code we've got, you will get.  While this build does get tested, it is still subject to bugs, as we want people to see what's new as soon as possible.07:06
Karthauild has not been tested or used, it's released as soon as it's built.07:06
Kartha^ Which one is best?07:06
KarthaI'm thinking Dev is a safety between Beta and Canary07:07
fosserjoshI am experiencing strange problem on my laptop running 18.04 . Just a hover on any icon or link click event occurs and open the things automatically without any click.07:18
fosserjoshI have reinstall ubuntu but experiencing same problem. What could be the cause?07:19
Karthamouse issue07:19
Karthaor maybe a stuck key07:19
Karthatry disabling onboard inputs07:19
fosserjoshI disabled trackpad but no luck07:20
fosserjoshI removed click buttons and enter key from laptop but facing same issue07:25
fosserjoshCan humidity cause such issues?07:26
Karthaare you experiencing the problem with any other OS?07:31
KarthaIf not, it's a hardware issue.07:31
lotuspsychjefosserjosh: is the same happening in a liveusb? system up to date?07:32
fosserjoshSystem is up to date. Even for liveusb same issue07:34
cfhowlettfosserjosh, hardware.  deep your track if possible.07:36
cfhowlettor switch to external mouse07:36
cfhowlettand test an external keyboard07:36
=== mnemonic is now known as Guest49852
=== EriC^ is now known as EriC^^
fosserjosh@cfhowlett can i disable laptop keyboard? How?07:48
cfhowlettwait 107:48
fosserjoshI used external mouse but with that also same issue07:48
cfhowlettBlue tooth keyboard is what I use.07:49
fosserjoshBut with Bluetooth keyboard laptop keyboard still works07:50
cfhowlettconfirm: no problem with the bluetooth keyboard?07:50
fosserjoshI am not using Bluetooth keyboard07:51
fosserjoshThis looks like some laptop internal issue or laptop keyboard issue07:51
cfhowlettright.  connect a bluetooth KB to test.07:52
fosserjoshNow Bluetooth keyboard connected still same issue07:53
cfhowlettinternal laptop issue.  keep asking in channel to problem solve this.07:54
fosserjoshCan humidity play role in this? Currently climate here is humid07:55
fosserjoshDue to rains07:55
cfhowlett.... yeeeeeeeeeeees??07:56
cfhowlettinteresting problem!07:56
cfhowlettbut, of course, you should always protect against moisture.07:56
cfhowlettand if it were moisture I suspect you would be seeing multiple issues not just this one07:57
fosserjoshI can see line on screen too07:58
fosserjoshSometimes07:58
cfhowlettnew laptop07:59
cfhowlett??07:59
fosserjoshNope its been 7-8 years07:59
cfhowlettah.  OLD laptop.  actually, that might be the issue.07:59
fosserjoshExperiencing 1st time such issue07:59
cfhowlettI had erratic behavior on my old compaq lappy.  turned out the hinge spring came loose and was shorting out on the mobo.08:00
cfhowlettone more test:  alternate OS.  try xubuntu or lubuntu.08:01
fosserjoshEven my laptop also having issue with one of the hinge08:01
fosserjoshWill check that08:01
cfhowlettmight be time to upgrade the hardware, amigo.08:01
fosserjoshTrue that08:02
fosserjoshIs there anyway i can see log about this ?08:04
fosserjoshLike click event08:04
cfhowlettdmesg or the log viewers but I  have no idea exactly what to look for nor how to interpret it.  ask in the channel08:05
cfhowlettdmesg | more              for one screen at a time08:06
=== The_Milkman1 is now known as The_Milkman
newhornMy apps suddenly don't connect to the internet except my browsers.08:38
newhornSlack, Hexchat, Discord, Telegram, and even the `apt update` command don't connect to the internet.08:39
newhornWhat could be responsible?08:39
blackflownewhorn: describe "don't connect", what error exactly do you see in apt for example08:43
newhornblackflow, can I PM the error? I can't even connect to a pastebin site.08:49
newhornOnly Google searches and some sites work.08:49
blackflownewhorn: I'm guessing it's DNS. You can temporarily add "nameserver 8.8.8.8" at the top of /etc/resolv.conf   (without the quotes, see the other nameserver entry in teh file), and see if that fixed your situation.08:50
newhornnameserver 127.0.0.53options edns008:51
newhornnameserver 127.0.0.5308:51
newhornoptions edns008:51
newhornThose are the current entries.08:51
blackflowright. so add 8.8.8.8 at the top08:52
newhornblackflow, Do I add nameserver before that?08:53
newhorn"nameserver"08:53
blackflownewhorn: re-read what I wrote please.08:53
newhornblackflow, Oh your earlier message answers that. My bad.08:54
blackflownewhorn: aaaaand did that fix your immediate issue with DNS?08:57
newhornblackflow, Do I need to restart something after this change?08:57
blackflownewhorn: nope08:58
newhornOkay. Issues persist.08:59
blackflownewhorn: okay. can you    ping -c1 termbin.com   ?   do you get "Name or service not known"?09:01
newhornblackflow: 1 packets transmitted, 0 received, 100% packet loss, time 0ms09:03
blackflownewhorn: try again with -c 1009:03
newhorn10 packets transmitted, 0 received, 100% packet loss, time 9202ms09:04
Mathisennewhorn, traceroute 8.8.8.809:04
blackflownewhorn: and via the browser? Can you access termbin.com ?   you shouldn't but.... you mentioned browsers "worked"09:04
newhornblackflow: Browsers work, so I am able to use webchat.freenode right now, and Google searches work, but not most sites.09:05
blackflowMathisen: why 8.8.8.8   the test should be consistent, we just established termbin.com is unaccessible09:05
newhornMathisen: traceroute command not found09:05
Mathisenblackflow, to see where it stops ??09:05
blackflownewhorn: and  can you please answer my question?09:05
newhornblackflow: can't access.09:06
newhornGmail also works.09:06
blackflowMathisen: they just said some sites works, some don't, so tests should be consistent. if there's 100% packet loss to termbin.com, then that should be tracrt'd because what if 8.8.8.8 works? that result doesn't tell anything09:06
blackflownewhorn: paste.ubuntu.com? dpaste.de?  in the browser09:07
newhornBoth don't work.09:08
blackflownewhorn: tried to restart your upstream router? also can you post here the output of `ip route` ? It _should_ be three lines. if it's more, then please paste just the one starting with "default via"09:09
newhorndefault via 192.168.8.1 dev wlp2s0 proto dhcp metric 60009:09
newhorn169.254.0.0/16 dev wlp2s0 scope link metric 100009:09
newhorn192.168.8.0/24 dev wlp2s0 proto kernel scope link src 192.168.8.102 metric 60009:09
blackflownewhorn: can you ping 192.168.8.1 ?09:10
newhornWhat does this mean? "tried to restart your upstream router?"09:10
newhornblackflow: Ping works.09:11
fengapapiinstall net-tools?09:11
blackflownewhorn: the machine at 192.168.8.1, that's your router in the LAN I assume? Did you try restarting that? But also, I think you have a problem with that wifi, the route doesn't look natural. you shouldn't have link-local set up09:11
newhornI use a wifi device (modem).09:12
newhornPerhaps, I should restart that?09:12
blackflownewhorn: yes. stop your wifi connection, restart the "wifi device (modem)", and start your wifi connection again.  That will disconnect you from here I suppose.09:13
newhornblackflow: Yes. Brb.09:13
newhorn68blackflow, Works!09:17
newhorn68Restarting did the magic. Thanks!09:17
newhorn68Should I leave the "etc/resolve.conf" content as is?09:17
blackflownewhorn68: you can remove that "nameserver 8.8.8.8" line and leave it as it was.09:18
Mathisenkeep in mind he had you change your dns to google one newhorn68. you are using that one now as default09:18
newhorn68Okay. I'll change it back to that. Thanks guys!09:19
newhorn68Oh. The system already changed it back to that.09:19
blackflowprobably, when you restarted the wifi, as resolv.conf is by default a dynamic file under /run/, under jurisdiction of NetworkManager09:20
newhorn68Makes sense.09:22
regdudeHi! Is there a way to remove a hardlink from a file, but preserve the file? This means that the file must be copied. "rm" deletes the file09:26
blackflowregdude: are you asking how to convert a file that's a hardlink, into a separte copy of the file it was a hardlink to?09:28
EriC^regdude: any file is a hardlink really, when all 'hardlinks' are removed, the inode becomes free and the space can be used09:30
Whiskey-if you use ctrl-z09:31
Whiskey-How do you get up the current job in tarminal again?09:31
EriC^Whiskey-: type 'fg'09:32
Whiskey-and how do you select what process it should be that is put back in fg?09:32
Whiskey-fg PID seems to not work09:33
blackflowEriC^: that's a bit misleading. You're referring to inode references, yes, but there's no copy on write going on at least not with ext4 afaik. if you copy -l one file to another and then modify the original? what happens to your hardlinked one?09:33
EriC^Whiskey-: type 'jobs' , then type "fg %<job number>"09:33
regdudeblackflow: yes, I would need to create a copy, but not sure how I could do that without creating a temporary file, removing the link, then renaming. Isn't there a single command for that?09:35
blackflowregdude: not that I know of. you need a separate inode, so a proper copy (with no -l) is in order.09:36
EriC^blackflow: i'm not sure what you mean, if you make a hardlink of a file, then modify the hardlink? the original will change since it's just a hardlink09:36
blackflowEriC^: I mean there's no copy-on-write mechanics here.   say you have a file A. You write "hello" in it. then you cp -l A B.  then you write "world" in A. What's teh contents of B?09:36
EriC^blackflow: it should be 'hello'09:37
blackflowEriC^: no it's not :)09:37
blackflowthere's no copy-on-write going on.09:37
regdudeblackflow: that sucks, well thanks for confirming. Will try to figure out if sed is not capable of doing so09:37
EriC^blackflow: um, you're mistaken :)09:38
blackflowEriC^: well try it, don't believe me.     echo "Hello" > A ; cp -l A B ; echo " world!" >> A ; cat B09:38
EriC^blackflow: https://paste.ubuntu.com/p/dyz5HVVdYq/09:39
blackflowEriC^: yes you just confirmed what I said09:39
EriC^lol what09:39
blackflowyou echo in bla and your blalink has the same contents09:39
blackflowsame as bla09:39
EriC^exactly09:40
blackflowwhich is what I said. with hardlinks, you hardlink reflects the original inode. if you modify the contents of orig file, the hardlinked one reflects that because it's not a copy on write09:40
EriC^i misread your last statement, about the hello and world (i didnt see the world part), but i did mention earlier that A would change..09:40
blackflowno you said "it should be hello" while it should be "hello world".09:40
EriC^blackflow: yes i know, that's exactly what i said09:40
blackflowbut anyway, let's not argue09:40
EriC^read above09:40
EriC^lol09:40
blackflowthe point is, regdude wants to "detach" the hardlink. they must make a proper copy.09:41
EriC^"i'm not sure what you mean, if you make a hardlink of a file, then modify the hardlink? the original will change since it's just a hardlink"09:41
EriC^i dunno what the problem is09:41
EriC^typical #u stuff help a person out get into a fight with regs09:41
blackflowEriC^: put me on /ignore and gtfo I'm sick of your BS09:41
EriC^calm down buddy09:42
EriC^you're misreading what im saying and talking about stuff from the air and arguing and then you're the one who's sick of me? ok09:42
EriC^lol09:42
blackflowthe only argument here is started by you, "misunderstanding" what I wrote from the beginning. ther is no copy on write. If you have no clue what that means, that's your problem. regdude wants a proper copy. that's all.09:43
EriC^blackflow: i didnt even say anything except explain to the person what a hardlink actually is09:43
blackflowEriC^: just put me on /ignore and case closed.09:44
regdudeI probably should give a backstory. I used a file backup for a service, but I made a mistake, hardlinks were ignored when backup was restored. I used rdfind to find duplicates and fix the missing hardlinks, but that created a problem with few files that should not be linked together although they are the same. If one link end changes, then the other link end changes, I need to avoid that for a few files. The solution is to copy th09:44
regdude but doing that is a bit tricky (not hard, just frustraiting)09:44
EriC^blackflow: maybe you should put me on /ignore09:45
blackflowno, I want to correct BS advice when I see it. your statement "they're all hardlinks" is misleading and wrong in this case.09:45
EriC^blackflow: they're all hardlinks? what are you actually saying, listen im trying to tell him what a hardlink actually means that's all09:46
blackflowregdude: yeah I don't know of another way as you literally need to create a separate inode entry, which is done by a regular copy (I'd use cp -a)09:46
blackflowEriC^: "11:30 < EriC^> regdude: any file is a hardlink really,"   -- no it's not.09:47
EriC^blackflow: what?09:47
EriC^lol09:47
EriC^blackflow: "any file is a hardlink really, when all 'hardlinks' are removed, the inode becomes free and the space can be used"09:47
EriC^what's the problem with that sentence? if you have 1 file that exists, and you stat it, you'll see it has 1 link aka hardlink, which is the one you're stat'ing09:48
blackflowthat statement is misleading, conflating "inode references" with "hardlinks"09:48
EriC^what?09:49
blackflowyou have problem reading?09:49
lotus|NUC!discuss09:49
ubottuWant to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!09:49
lotus|NUCdont do that here guys09:49
EriC^there's nothing wrong with my sentence, i said the file is a hardlink (even just 1) and you can make other hardlinks, when all hardlinks are removed, the inode is freed and you get the space back09:50
EriC^if you're reading stuff into it and whatever, it's just you blackflow09:50
EriC^im done09:50
geirharegdude: if they are text files, GNU sed's -i will create a new file and rename it over the original, effectively severing the link. May corrupt non-textual files though09:58
regdudegeirha:  sed -i '' file.txt <-- does this seem right?10:17
geirharegdude: that should do it, yes. Might add a trailing newline if the original didn't have one10:18
blackflowregdude: I wouldn't use sed. it's not that hard to script cp -a to work through /tmp/10:19
regdudeok, that should be the safest way since there might be a few binary files. Thanks for all the help everyone!10:21
geirhaI'd copy to a temporary file in the same dir, so the following move becomes atomic10:23
blackflowgood advice. cp followed by mv10:23
geirhafind . -type f -links +1 -exec sh -c 'cp -i "$1" "$1.tmp" && mv "$1" "$1.tmp"' sh {} \;10:30
hortielhi10:30
hortieljust like backlight file are there any other files that access monitor?10:30
hortielI'd like to know about more such /sys/ or other files if any? how would I get a list of them?10:30
monkeyislhm..10:36
monkeyisli can't kill postgres process.10:36
monkeyisland it's loading 100% cpu10:36
monkeyisland excuting bash6410:37
monkeyislkill -9 [postgres_pid] .. it immeidatley executed again.10:37
monkeyislanybody is there?10:43
lotuspsychje!patience | monkeyisl10:44
ubottumonkeyisl: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/10:44
lotuspsychjemonkeyisl: details might also be useful, ubuntu version etc10:45
monkeyisllotuspsychje : 16.04.5 LTS10:48
lotuspsychjemonkeyisl: desktop or server?10:50
monkeyisldesktop10:50
monkeyisllotuspsychje : desktop10:51
monkeyislNo LSB modules are available.10:51
monkeyislDistributor ID : Ubuntu10:51
tomreyn!paste | monkeyisl10:52
ubottumonkeyisl: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.10:52
monkeyisldescription: Ubuntu 16.04.5 LTS10:52
tomreynplease update your system, 16.04.6 is current10:52
monkeyislhttps://imgur.com/a/LxMk8HF10:53
monkeyislhow do i update?10:53
monkeyisloh cchking10:54
monkeyislnew release '18.04.2 TLS' available.10:55
monkeyisl'do-release-upgrade' to upgrade to it10:55
monkeyislshould i go?10:56
lotuspsychjemonkeyisl: the users choice, do you want 18.04 LTS upgrade, or just update xenial to .6?10:56
monkeyisli'll try 18.04.2, but unsure if it will fix the problem though.10:57
monkeyislupdaeting10:57
lotuspsychjemonkeyisl: its adviced to make backup of your data before LTS upgrading10:58
tomreynmonkeyisl: i meant update, as in     sudo apt update && sudo apt full-upgrade10:59
tomreynthis would install the missing security and bug fixes on your system11:00
tomreynbut you can also continue doing what you started now, doing a release upgrade to ubuntu 18.04. but even then, you need to ensure to keep this new version updated.11:00
tomreyn(but i agree that you should always have complete and proven restorable backups at any time, and especially before an upgrade)11:01
hortiel do you know what's linux hooks to change monitor from a low level backend ?11:14
tomreynhortiel: you'll need to provide more context11:26
BluesKajHey folks11:26
hortieltomreyn: are there any low level access similar to /dev/sda11:26
tomreynthat's if this is an ubuntu support rather than a generic linux programming question11:26
hortielso that I can get some low level control similar to device files!!11:27
tomreynwell, monitors are very different devices than storages :)11:28
tomreynas a result, interfaces differ a lot, too. maybe ask in #linux - probably a better place than this ubuntu support channel.11:29
tomreyn* ##linux11:29
=== jstein_ is now known as jstein
GossetHi, I can't move anything to Trash Can on auto mounted ext4 partition, any ideas?12:44
funabashihi guys when i try to install nmap a program i get following output from apt-get https://paste.ubuntu.com/p/9KsDscGWjD/12:46
lotuspsychjefunabashi: 17.10 is end of life12:47
lotuspsychjefunabashi: install a supported ubuntu version from the topic please12:47
funabashiplease i dont want a new verion for this pc12:47
Cheezfunabashi: the problem is that ubuntu wont run mirrors for that version of ubuntu anymore12:48
Cheezso your apt is going to be pretty broken12:48
Gossetnobody?12:48
ioriaGosset, check the permissions (and mount options too)12:48
Gossetmount options?12:48
ioriayeah12:48
Gossetwhat file12:49
roryfunabashi: in a pinch, you could edit /etc/apt/sources.list and change the domains to http://old-releases.ubuntu.com/ubuntu/ - but you should consider upgrading to 18.04 which is LTS https://help.ubuntu.com/community/EOLUpgrades12:49
ioriaGosset, you can use gnome-disks ( if  automounted)12:50
Gossetthe options are: nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Data12:51
ioriaGosset, you can add 'user'; iirc, just opening nautilus creates a trash-like folder on the mounted partition, so you can ls -al it to check the permissions12:52
GossetI'm on Ubuntu Mate12:53
funabashirory: its seems to be down how can i change it to ipv4 or instead of ipv6?12:53
Gossetanyway, in Caja it's the same?12:54
GossetI'm googling it but most of the topics are for NTFS partitions12:56
Gossetmine is ext412:56
=== Flexman is now known as Guest77505
Gossetwhat if I replace nosuid by uid=1000 ?12:59
=== zbenjamin_ is now known as zbenjamin
tomreynfunabashi: why would you not want to run a supported release?13:05
tomreynand why would you want to use software with exploitable security vulnerabilities?13:06
funabashirory: now this error https://paste.ubuntu.com/p/CNZNKcZz2W/13:06
funabashitomreyn: its my job13:06
ayekat... "debian jessie"?13:06
tomreynthe PPAs you used also don't provide packages for unsupported ubuntu releases.13:06
rorythose errors shouldn't prevent you installing nmap13:07
tomreynfunabashi: your job is to run vulnerable software?13:07
roryyou could remove the PPA and the debian jessie repo from sources.list13:07
funabashitomreyn: pentester13:07
tomreyni see13:07
Gossetioria ?13:07
tomreynfunabashi: so you're building a target to run tests against?13:08
funabashikind of yes13:08
Gossetyou said I could add "user" to options?13:08
Gossetin nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Dades13:08
Gosset??13:08
tomreynbut then you wouldn't need nmap on it, you'd want that to run on a fully patched system, i guess13:09
ayekatfunabashi: that's one specific target there... that it requires all sorts of outdated PPAs, too - why not pentest a regular (outdated) system?13:09
Gossetthanks anyway13:09
ayekatGosset: what is the original issue? that it can't create the trash directory in that filesystem?13:09
funabashiplease focus on my issue instead of nmap, apt-get doesnt work now13:09
Gossetyes13:09
tomreynfunabashi: EOL releases ar enot supported here, you're on your own.13:10
Gossetthere's no trash can13:10
funabashicat /etc/debian_version13:10
funabashistretch/sid13:10
Gosseton my auto mounted partition13:10
Gossetwhich is ext4 btw13:10
Gossetnot ntfs13:10
ayekatGosset: you'll have to create it manually, it seems (see https://specifications.freedesktop.org/trash-spec/trashspec-1.0.html)13:11
Gossetmanually?13:12
Gosset:P13:12
ayekatGosset: the trash directory is usually created inside $XDG_DATA_HOME, or at the root directory of a filesystem if the user's home is not on that filesystem13:12
Gossetok13:12
Gossetthanks13:12
Gossetit's strange that if it was NTFS, I could solve this matter by adding just a word in the partition options13:13
ayekatGosset: that's because linux does not understand NTFS file ownership/permissions, so it treats all the stuff in an NTFS as "root-owned" (or "specific-user-owned" with the appropriate flags)13:13
ayekatfor ext4 (or any other POSIX-compliant FS), this is not necessary, as all the permissions are understood correctly13:14
ayekathowever, this leads to the situation where you can't reall "mount and ext4 filesystem as this-or-that user"13:14
ayekats/reall/really/13:14
GossetI understand13:15
ayekatif you want to give your user write permissions to the top-level of that filesystem, you'll have to chown it - but that might not necessarily be a good idea13:15
ayekat(depending on how you intend to use that drive otherwise)13:15
ayekatfunabashi: your original issue was that you wanted to install nmap - can you install nmap now?13:16
lotuspsychjeayekat: volunteers have already adviced not to support EOL versions, please respect that13:17
ayekatlotuspsychje: well, they kept on asking13:17
blackflownothing you can do anyway, 17.10 is deader than a door knob13:18
cfhowlettIt's dead, Jim.13:19
ayekatah, they've moved on to ask in #debian now anyway ^^13:20
blackflowaye13:21
funabashiayekat: nope13:29
jellyfunabashi, if the system was not actually installed as jessie, the best option is to use repos from the archive of the actual distro.  That would mean deb lines, not just deb-src lines.13:29
jellylotuspsychje, does anyone here advise on helping a user move away from EOL to still-supported?13:30
ayekateveryone did, they chose to ignore them13:30
jelly¯\_(ツ)_/¯13:31
tomreynjelly: scroll up13:31
lotuspsychjejelly: EOL versions are not supported here13:31
jellylotuspsychje, did you even read what I said?13:31
blackflowhardly. :)13:31
ayekatthey hardly do13:31
tomreynwe have !eolupgrade for this purpose13:32
tomreynit needs an overhaul, though13:32
lotuspsychjejelly: would you take the risk advising users to eolupgrade knowing its a security risk, their system could already be compromized13:33
funabashitomreyn: funny13:33
tomreynfunabashi: it still works well enough. but then you don't want to upgrade, do you?13:33
tomreyn!eolupgrade13:34
ubottuEnd-Of-Life is when security updates and support for an Ubuntu release stop, see https://help.ubuntu.com/community/EOL for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades13:34
jellylotuspsychje, absolutely, I do that every day albeit for a different distro13:35
lotuspsychjejelly: tell me all about it in #ubuntu-discuss13:36
funabashii want to be able to download and install programs not update the system13:36
blackflowfunabashi: you can't. 17.10 is dead, the repos nonfunctional. Savvy?13:37
funabashiblackflow: i did install a program yesterday13:37
funabashiso yes it works13:37
funabashiworked*13:37
leni1Hi. I have a problem installing RabbitMQ.  I have followed the steps described here: https://www.rabbitmq.com/install-debian.html but apt update fails with the following error: https://paste.ubuntu.com/p/rBmBHKfTGc/13:37
ayekatfunabashi: it may have worked yesterday - 17.10 has been unsupported for a while now - there is no "make it work without upgrading" solution13:38
blackflowfunabashi: from a gods know what PPA/third-party-repo?13:38
blackflowthe main 17.10 repos are no longer available, and as you've demonstrated through pastes, you're running a franken-meld of several frankenbuntudebians.13:39
blackflowstretch/sid with PPAs and whatelsewasthere13:39
funabashiguys i know that you know how to fix this , but guess you like to argue13:39
leni1Apparently putting 21.x should work but it doesn't. Was I supposed to specify a version for erlang?13:39
ayekatblackflow: to be fair, ubuntu is always going to show {debianrelease}/sid, because ubuntu appears to base their releases off sid13:40
cfhowlettfunabashi, dude.  NOT SUPPORTED.  as in ... it's not supported.13:40
ayekatfunabashi: nobody wants to keep the solution away from you - it simply doesn't work anymore, there is no magick13:40
funabashitomreyn: why do you care about my life?13:40
tomreynfunabashi: that's not a topic for this channel13:41
=== msalvatore_ is now known as msalvatore
blackflowayekat: I know but that sources.list is a total mess :)13:42
ayekatthey haven't shown it to us, but... yeah, guessing from that apt output  O_o13:43
funabashiok i give up for now. i use git instead of apt13:43
blackflowthat's even... wait..... how do....13:44
* cfhowlett not even going to entertain the concept13:44
* ayekat ducks away as blackflow flips the table across the room13:44
tomreynleni1: looks like their instructions are not / no longer correct. get help from the rabbitmq project on this, or use ubuntu's packages (which are the only ones we can support here)13:49
tomreynhttps://www.rabbitmq.com/#support13:49
adol-christinOk i figured it out and fixed it first google domains is putrid only works with their partners14:01
adol-christinwont work with your dedi14:02
adol-christinnamecheap worked instantly14:02
leni1What's the equivalent of libc-dev for Ubuntu?14:12
jellyleni1, libc6-dev14:12
solsTiCe_libc-dev-bin ?14:12
leni1jelly: thanks14:12
mTeKSo leni1 I use apt libc "tab" to get a list of packages then I look and choose the correct one.14:13
mTeKwell more specifically apt install libc "tab" yes I want to look at 1800 packages14:15
leni1mTeK: erm I wanted to know the correct one and as you can see here: https://packages.ubuntu.com/bionic/libc6-dev unless you knew the right one, it will take quite a bit of hopeful guessing :)14:15
mTeKWithout gasoline and a match how would you diagnose a port flap using DAC's in bond to mlagged switches. It starts happening after 8 days after a reboot... I've changed firmware on cards, installed driver as dkms as manufacture says, changed kernels, changed DAC cable manufactures.14:19
mTeKI'm thinking next step is to create more mlagged interfaces and move the servers into the new port channels to see if it's the first 4 ports of this switch.14:20
mTeKIf that doesn't solve it should I change OS or nic cards next?14:20
thsnrmTeK: you might have more luck over at #ubuntu-server14:23
mTeKIt's randomly after 8 days happening on 4 servers. These 4 servers are some older supermicro's. I wouldn't think it would be the motherboard or pcie slot issue. The flap is only on one of the DAC's, the other interface seem stable but it's on a different switch.14:23
mTeKthsnr: didn't know about that room14:24
* cfhowlett still worried about diagnosis via gasoline and a match14:27
=== igghibu_ is now known as igghibu
=== paul__ is now known as octav1a
zutathello. i'm looking for a 15" laptop that works very well with ubuntu and has no numpad. suggestions, please :)16:18
OerHekszutat, we are not the yellow pages, just ubuntu technical support16:20
OerHeksthere is a certified list, sure you can find one without numpad16:20
Mikjaerboth universe, multiverse and restricted are allready enable16:45
bumblefuzzubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img16:50
bumblefuzzayekat ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img16:50
ayekatoh, ubuntu-mate - lemme check16:51
bumblefuzzayekat sorry16:51
Mikjaercan i ask ubuntu-drivers to download all drivers, so that they can be loaded while offline?16:52
ayekatbumblefuzz: just to check, though (while this awfully slow torrent downloads the image), does it work with the regular ubuntu version for you?16:55
Mikjaerlinux-firmware are installed om both installations as well16:56
ayekatafter all, I expect switching to the MATE interface to be just a matter of installing a couple of packages...16:56
bumblefuzzayekat I don't know16:57
bumblefuzzayekat I haven't tried16:57
ayekat¯\(°_o)/¯16:58
MikjaerIt is an RTL8168evl16:58
bumblefuzzayekat I wouldn't expect the underlying boot files to change much though...16:59
ash_worksiI always forget what valid email addresses are... I think it's /^[^@]+@[\w.-]+/ ... right?16:59
ayekatbumblefuzz: well, the fact is, on the regular ubuntu image I previously downloaded, the boot files were alright - so either something is weird on your side, or the files *are* indeed different in the MATE version17:00
pragmaticenigmaash_worksi: This isn't a developer channel, please find a more appropriate channel for your question.17:00
ayekatash_worksi: the fully correct regex would take a *lot* more - but yeah, probably not the right channel here17:00
pragmaticenigmaash_worksi: And the answer to your question is, there is no magic way to validate an e-mail address. The only bullet proof wya to validate e-mail is to send a test e-mail to th account and ask the user to click a validation link.17:01
SpiritHorseash_worksi: entire sites dedicated to the subject.  https://emailregex.com/ and then of course RFC532217:01
SpiritHorseand even they admit it doesn't work 100%17:01
bumblefuzzayekat I'll just wait to see if your mate download checks out... otherwise, you might have more insight on the file differences than me17:05
MikjaerI tried installing r8168-dkms ... seems to be a resonable thing to try, it will take me around an hour to create an image and deploy it, will report back once i tested the image :)17:06
ayekatbumblefuzz: well, one is a regular file, and the other either is or isn't - there isn't much insight required there17:06
ash_worksiwell, i just wanted mild check17:07
ash_worksibut yeah, moving; thanks anyway :)17:07
ayekatbumblefuzz: ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img <- cmdline.txt and config.txt are regular file here as well17:10
ayekatbumblefuzz: where did you download that image from, and what's its checksum?17:10
bumblefuzzI torrented it17:11
ayekatbumblefuzz: yes, but where did you get the torrent from?17:11
bumblefuzzthe ubuntu-mate website17:11
bumblefuzzsha256sum: bb74b607da2f4d417851e006fadd5de1304f84681db9c4bd8f17ff1b1d41099517:11
ayekatthat looks alright - how do you mount the partitions?17:12
blebmaybe not the best place to ask this but does anyone know if it's possible to sync and iphone's music library over the network with a music library stored on a linux server?17:12
ayekatbumblefuzz: oh wait, I see the issue17:12
ayekatbumblefuzz: yeah, for some reason the content in /boot on the *second* partition is weird17:13
ayekatbumblefuzz: no, actually - wait17:13
bumblefuzzeven on the writable partition17:13
pragmaticenigmableb: There are probably apps to do that for iPhone, but that is a topic for a different channel please.17:13
ayekatbumblefuzz: no, actually, it's fine - the first partition is supposed to be mounted under /boot/firmware, and those symlinks then resolve correctly17:13
bumblefuzzthe /boot directory is incorrect17:13
bumblefuzzso, when I insert the SD card, both partitions mount17:14
ayekatbumblefuzz: so if you write that image to an SD card that you plug into the RPi, and then boot it, the symlinks should be all fine17:14
bumblefuzzwhere do I look for the file17:14
ayekatbumblefuzz: insert where?17:14
bumblefuzzI'm trying to edit those files BEFORE I run the RPi17:14
bumblefuzzso I'm mounting those partitions on my laptop17:14
bumblefuzzand looking to edit those files17:15
ayekatbumblefuzz: ah, then it's no surprise that things don't mount as expected - because your laptop (I guess you've got some automounting going on) doesn't mount things in the way they're supposed to be mounted on the running system17:15
bumblefuzzahh17:15
ayekatbumblefuzz: if you want to edit those files, mount the first partition, and edit the files there17:15
ayekatthe symlinks in the /boot directory expect that the first partition is mounted under /boot/firmware17:16
bumblefuzzyes, things are automounting17:16
ayekat(you can take a look at /etc/fstab)17:16
bumblefuzzmy /boot partition only has bcm files and and /overlays/ directory17:17
bumblefuzznot any of those files17:17
ayekatbumblefuzz: it does here - http://ix.io/1OgO17:17
bumblefuzzI don't see cmdline.txt and config.txt in there...17:19
ayekatwell, then something with your image must be weird - especially since you get a correct SHA256 checksum17:19
becoolif i want to lock sftp users' home directory on a separate volume mounted at /sftp, can i accomplish this with chroot?17:20
becoolwill a unique home dir be created for each new user at that mount point?17:21
pragmaticenigmabecool: That isn't the purpose of chroot17:21
ayekatbumblefuzz: what is the output of `losetup`?17:21
becoolbasing it off of this article: https://websiteforstudents.com/setup-retrictive-sftp-with-chroot-on-ubuntu-16-04-17-10-and-18-04/17:21
haiiokarinhey people, i added new user 'administrator' and i'm trying to mkdir for the ssh but i get permission denied.   https://askubuntu.com/questions/163589/cannot-create-file-directory-in-home-directory - this is exactly his problem but i tried example below and nothing changed17:21
haiiokarini'm really new to ubuntu just want to set up my droplet17:22
blackflowbecool: yes, with sftp chroot you disallow users from cd-ing outside of it.17:22
becoolhaiiokarin: what directory are you trying to make that under? try 'sudo mkdir nameofnewdirectory'17:22
ayekatno, don't try sudo whatever17:22
becoolblackflow: thanks17:22
haiiokarini think that this is under root directory17:22
ayekatdon't blindly throw sudo if you don't understand the issue17:22
lordcirthhaiiokarin, 'ls -l /home/' ?17:22
haiiokarinthat was previously created by root17:22
becoolhaiiokarin: that's why, you need super user / root privileges to make something under the root folder17:23
haiiokarinbecool: is it good approach or not?17:23
ayekathaiiokarin: how did you create your 'administrator' user?17:23
haiiokarinayekat: adduser administrator17:23
ayekathaiiokarin: so did you go through all the questions, and create a home directory for that user?17:23
haiiokarinayekat: i went through all questions but didn't create directory for him17:24
ayekatah well, then it probably drops you into / after you log in - where you don't have permissions to create anything (for good reason)17:24
lordcirthhaiiokarin, that is one of the questions, I believe. Why didn't you create a home directory?17:24
ayekathaiiokarin: create a home directory for your user (check the output of `echo $HOME`)17:25
becoolin the sshd_configure, do i need to add a line 'ChrootDirectory /sftp' in order to route and lock sftp users to it?17:25
haiiokarinayekat: under root to create for him right? or during the setup of adduser?17:25
ayekathaiiokarin: first, have you *set* a home directory for that user?17:26
lordcirthadduser will copy /etc/skel, which you probably want rather than an empty home17:26
ayekat(something like /home/haiiokarin)17:26
becoolin other words, when creating a new user, how do i create their home directory on /sftp instead of the default /home/username?17:26
ayekat(ah no, /home/administrator, I assume...)17:26
becoolayekat: just type 'adduser' and press enter17:27
haiiokarinayekat: no i haven't , after i added user it stayed on the same path as before creating17:27
becoolyou'll get an interactive prompt for the rest17:27
haiiokarinjust switched from root to admin17:27
ayekathaiiokarin: ... alright, sanity check - what is the output of `getent passwd administrator`?17:27
haiiokarinayekat: administrator:x:1002:1002:,,,:/home/administrator:/bin/bash17:28
ayekatthat looks sane - a home directory is set for that user17:28
=== SimonNL_Afk is now known as SimonNL
ayekatso I would propose that (as root) you create that directory, then `chown administrator:administrator /home/administrator` to give the 'administrator' user permissions to read/write in it17:29
lordcirthayekat, haiiokarin alternatively, copy /etc/skel instead of making an empty directory17:30
becooldid you add 'administrator' to sudoers?17:30
haiiokarinit is copied though17:30
lordcirth /etc/skel is a template for new users17:30
becoolusing `visudo`17:30
haiiokarini see bunch of folders when ls -l17:30
ayekator yeah, if you somehow particularly care about skel, maybe copy that...17:31
haiiokarinwhich is home among others17:31
ayekathaiiokarin: you see that bunch of folders *where*?17:31
lordcirthhaiiokarin, you are not in the right directory, then.17:31
lordcirthHaving a .bashrc and .profile is nice...17:31
haiiokarincan i post you YT that i'm following? Just in case as i'm curious how he as i followed every step does have permission to write under 'administrator'17:32
haiiokarini'll point to the minute when he is creating user17:32
ayekathaiiokarin: no, just tell us what your system currently looks like17:32
ayekatyoutube guides are rarely a good resource for information17:33
becoolhow do i add a user as authorized for a specific private ssh key?17:33
lordcirthbecool, please clarify17:33
ryuobecool: append them to the authorized_keys file?17:33
haiiokarinayekat: ok so i'm now logged in as 'administrator' in my main folder 'icecast-server'17:34
becoolryuo: thanks i think that's what i need to do17:34
haiiokarinayekat: which previosuly was created by root17:34
ryuoin the .ssh directory for their home directory17:34
ayekathaiiokarin: yes, but what about your home directory?17:34
ryuobecool: be warned, sshd is picky about file permissions of these. it has to be accessible by only the user or it won't even read it.17:34
lordcirthhaiiokarin, please tell us what 'echo $PWD' and 'echo $HOME' output.17:34
haiiokarinayekat: i do see home directory in the icecast-server path, but was it previosuly created by root or by administrator now?17:35
haiiokarinlordcirth: yeah one second17:36
haiiokarinadministrator@icecast-server:/$ echo $PWD17:36
haiiokarinadministrator@icecast-server:/$ echo $HOME17:36
haiiokarin/home/administrator17:36
haiiokarinadministrator@icecast-server:/$17:36
haiiokarinsorry on $PWD it was '/'17:36
becoolryuo: do i have to create a public key for each sftp user i add to the server?17:36
lordcirthhaiiokarin, so, administrator's home is /home/administrator, as it should be, but you are not in it.17:37
haiiokarinlordcirth: cd /home/administrator ?17:37
ryuobecool: you can reuse keys, but each needs their own keys file.17:37
lordcirthhaiiokarin, 'cd' or 'cd ~' or 'cd /home/administrator' will take you to your home directory. Can you write there?17:37
ryuobecool: just how it is for ssh in general.17:38
ayekathaiiokarin: first, what does `ls ~` show?17:38
ayekat(because if `cd` fails, you'll remain in /, and we'll be none the wiser)17:38
becoolryuo:  if the .ssh directory and authorized_keys file doesn't exist in the users' home directory, should i just run `mkdir` and `touch` to create them?17:38
haiiokarinayekat: yes one second17:38
becoolryuo: or do i need to generate a public key for each user?17:38
blackflowbecool: yes and yes17:39
blackflowyou can also put their authorized_keys files outside of their homes, eg somewhere under /etc/   so they don't mess with it17:39
becoolcd /etc17:39
becoolls17:39
haiiokarinayekat: ls ~ does not show anything, but ls -l does show folders17:39
becooloops wrong window17:39
lordcirthhaiiokarin, 'ls -la ~' ?17:40
ayekathaiiokarin: yes, ls -l is expected to show folders - probably in / still17:40
ryuobecool: erm. normally the *client* generates their key pairs17:40
ryuoand gives the public key portion to the server.17:40
haiiokarinlordcirth: administrator@icecast-server:/$ ls -la ~17:40
haiiokarintotal 2417:40
haiiokarindrwxr-xr-x 2 administrator administrator 4096 Jul 12 17:24 .17:40
haiiokarindrwxr-xr-x 5 root          root          4096 Jul 12 17:15 ..17:40
haiiokarin-rw------- 1 administrator administrator  382 Jul 12 17:38 .bash_history17:40
haiiokarin-rw-r--r-- 1 administrator administrator  220 Jul 12 17:15 .bash_logout17:40
ryuoyou can also reuse keys for multiple accounts.17:40
becoolryuo: i know, but in this case i create a test user call 'sftp' and am trying to sftp to the server with that user to see if it works17:40
ryuoi see.17:41
lordcirth!paste | haiiokarin17:41
ubottuhaiiokarin: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.17:41
ryuothen try putting it in their home directory as previously stated.17:41
lordcirthhaiiokarin, however, that looks correct.17:41
ryuoit's the default place to look for them.17:41
MikjaerThat did not solve my problem17:41
haiiokarinhttps://paste.ubuntu.com/p/jMsHNshZnQ/17:42
haiiokarinjust so you see it better17:42
lordcirthMikjaer, you should mention whoever you are talking to17:42
Mikjaerlordcirth: not talking to anyone in particulair17:42
ayekathaiiokarin: if you `cd`, you will change to your home directory17:42
ayekathaiiokarin: and then you can start creating files and whatnot, according to whatever online guide you are following there17:43
blackflowMikjaer: this being a rather busy chan, you might want to summarize your problem into a pastebin, with examples, and post the URL here when you re-ask for help.17:43
haiiokarinayekat: it's just configuration of icecast server so it's rare to find anywhere thus i follow this one17:43
haiiokarinayekat: by just typing cd he will go back one step into home?17:43
haiiokarinayekat:  he :D17:44
ayekathaiiokarin: `cd {path}` will switch to {path} -- if you don't specify {path}, it simply switches back to your home directory (i.e. /home/administrator)17:44
ayekatalso, ~ is a shorthand for your home directory17:44
haiiokarinayekat: let me try making a directory17:45
ayekatI recommend searching the web to learn the basics of command line usage - controlling a server will otherwise be quite a pain, both for you and the people in here17:45
haiiokarinayekat: i will - directory is created here but for the future i'll need to learn more command line usage17:46
haiiokarinayekat: do you have any recommended material?17:46
lordcirthhaiiokarin, https://linuxjourney.com/17:46
haiiokarinlordcirth: thank you :)17:46
MikjaerAm i right to asume that the kernel for ubuntu-desktop comes with more drivers compiled in than the server one? And is there any way to install the desktop kernel on a server install?17:48
ayekatthe kernels should be the same for both - but additional driver packages may not be shipped by default with the server version17:50
blackflowMikjaer: no, it's the same linux-image-generic kernel and dependency packages with extra modules.17:50
MikjaerThe r8169 does not seems to be loaded as a module on the ubuntu 18.04 desktop17:50
Mikjaerbut on the server version it is ... and it's not working17:51
blackflowMikjaer: it's loaded here in my case17:51
MikjaerBakso: on a desktop?17:51
Mikjaerah yes ... there i see it, sorry17:51
blackflowMikjaer: yes, 18.04.217:51
Mikjaerblackflow: no .1?17:52
blackflow.2 is latest17:52
Mikjaerblackflow: and?17:52
blackflowand what?17:52
Mikjaerwhy is that important?17:52
lordcirthMikjaer, why are you asking about .1? I am confused17:52
blackflowMikjaer: because it's different from 18.04.117:53
blackflowMikjaer: if you install it from scratch, you'd get some different package choices, eg. it installs the 4.18 HWE kernel, nvidia-driver,   automatically17:53
=== SimonNL is now known as SimonNL_Afk
Mikjaerblackflow: "it" being?17:53
blackflowUbuntu installer17:54
lordcirthYeah, if you install 18.04.0, you will not automatically get HWE when upgrading17:54
MikjaerOkay så they added better hardware support in .2?17:54
lordcirthHWE kernel is 4.1817:55
Mikjaerstill doesnt explain why it works in desktop and not in server17:55
blackflowMikjaer: one could say that, by virtue of the HWE kernel being available.17:55
psilly0good morning17:55
blackflowMikjaer: it?17:55
blackflowpsilly0: www.nohello.com17:55
lordcirthMikjaer, what is your kernel version on the server? IIRC you said the desktop was 4.15?17:55
Mikjaerblackflow: the network card :)17:56
blackflowMikjaer: it's the same model in both machines?17:56
blackflowMikjaer: can you pastebin, for both, the output of   udevadm info /sys/class/net/enp3s0    or whatever the NIC name is instead of enp3s017:56
Mikjaerblackflow: yes, and the machines are 100% identical17:56
Mikjaerbut i think i will try to download .217:56
blackflowMikjaer: you don't have to reinstall, you can install the HWE kernel and uninstall the LTS one17:57
Mikjaerif that makes so much difference, i just didn't expect a minor version to do anything that normal packages didn't get me17:57
Mikjaerblackflow: im working on a disk-image thats going to be deployed on a lot of systems, i'd rather go with a clean one for reproducability :)17:57
OerHekssudo modprobe -r r8169 && sudo modprobe -i r8169  # should fix it17:58
blackflowMikjaer: it's a point release. Really no sense in requiring a reinstall to upgrade from .117:58
iliketurtles99a8I am curious as to if there is any documented features that are equivalent to Intel's Management Engine, or AMD's Platform Security Processor present in the newest Raspberry Pi 4, Or It's Broadcom BCM2711 CPU?17:58
Mikjaerblackflow: and by the way ... i acnnont post the output of these commands, unless you want me to take a picture of the screen :P17:59
blackflowiliketurtles99a8: wrong channel for that though.17:59
Mikjaerblackflow: and by the way ... i can not post the output of these commands, unless you want me to take a picture of the screen :P17:59
blackflowMikjaer: because no network?17:59
Mikjaeryup17:59
OerHekshttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/175277217:59
blackflowMikjaer: well ... can you spot any differences?17:59
ubottuLaunchpad bug 1752772 in Linux "r8169 ethernet card don't work after returning from suspension" [Undecided,New]17:59
Mikjaerblackflow: im doing the install in a virtualbox, exporting the images and writing the image to a harddrive, and moving it to the physical hardware. Might that be part of the problem? Maybe some kind of probe is being run during install that i need to rerun myself?18:00
OerHeks...18:00
OerHeksreally..18:00
OerHeksMikjaer, why do you no ttell such info at the beginning?18:00
blackflowMikjaer: in general, there should be no problem with that, except you'd need to adjust UUIDs for mountpoints, and NIC names18:01
blackflowhowever, there's no r8169 under vbox18:01
blackflowvbox either has the virtio driver, or emulates Intel Pro something something 1Gbps something18:01
OerHekswithout proper info, you get funny answers18:01
blackflowe1000e driver iirc18:01
blackflowwhich is _emulation_ so there might be issues. there have been issues.18:02
Mikjaerblackflow: i know, the problem arrises once i move the images to physical hardware18:02
MikjaerOerHeks: because it's not essential18:02
MikjaerOerHeks: no need to confuse people with unneccesary details :)18:03
blackflowMikjaer: this info kinda is essential though. not all people know the specifics of virtualized hardware.18:03
blackflowMikjaer: for example the NIC names change. udev sees different hardware. but anyway, rebooting on the actual hardware should reinit hardware detection.18:04
Mikjaerblackflow: yea i know that, and thats not the source of my problem :)18:04
OerHeksMikjaer, well you got your answer, blame virtualbox18:04
MikjaerOerHeks: i can hear that you did not understand my question, but thanks for trying :)18:05
blackflowMikjaer: comparing those udevadm info outputs would be a great way to start troubleshooting.18:05
becoolwhat's the command to connect to an sftp server?18:06
Mikjaerblackflow: execept from adresses begin different and USEC_INITIALIZED being different, they are the same18:06
becoolhow can i list files in the home dir?18:06
Mikjaerbecool: sftp username@hostname18:06
blackflowMikjaer: dmesg is the next step. it will log driver autodetection and possibly loading failure.  could be firmware, methinks r8169 needs firmware18:07
becoolMikjaer: how do i specify a public key to connect with?18:07
Mikjaeri dont se any firmware issues18:07
Mikjaerbecool: -i <filename>18:07
blackflowMikjaer: tried   dmesg | grep r8169  ?18:07
Mikjaerlet me just boot the broken one again18:08
blackflowHere's mine: https://dpaste.de/tOqV/raw18:08
becoolworks!18:09
blackflowbtw, you specify the _private_ key on the client side. but I guess you figured that out.18:09
becoolnow that i'm connected, i see that i am not in my own home directory, but the root directory specified in the sshd_config18:09
leonardusHow do I check if my network interface/driver supports promiscuous mode?18:09
becoolhow do i make it so i sftp into the users' home dir?18:10
becoolalso, i want all user's home dirs to exist on the sftp root mount18:10
blackflowbecool: pastebin your sshd_config please18:10
becoolsure one sec18:11
Mikjaerblackflow: no 8169, but theres a 816818:11
blackflowbecool: you specify home dirs when creating users, with -d or -b18:11
becoolomg i'm an idiot, i just deleted my private key on accident and can't ssh to the server18:12
becoolanyway to recover the deleted file?18:12
blackflowgesundheit!18:12
blackflowbecool: if you didn't disable it, chances are you can log in with password.18:13
Mikjaerblackflow: okay ... the non working install (server) tries to use the r8168 driver, while the working one uses r816918:13
becoolit's an ec2 instance so it's cert only18:13
blackflowMany users dont' know they must explicitly disable passwords, or else pubkey offers no increased security.18:13
becooli should be able to issue a new key via aws console18:13
blackflowMikjaer: for exactly the same NIC hardware, and exactly the same kernels?18:13
blackflowbecool: tried ssh-ing in with password?18:14
Mikjaerblackflow: dekstop : Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-46-generic x86_64)18:14
becoolthere is not password18:14
becoolnever defined one18:14
blackflowbecool: "root" user?18:14
sarnoldbecool: try lsof -n | grep deleted -- if you're really lucky another process has the file open even though it's deleted.18:14
becoolamazon doesn't allow anyone root user access18:14
blackflowsarnold: and then? :)18:14
Mikjaerblackflow: server: 4.15.0-54-generic #58-Ubuntu18:15
blackflowbecool: then what does it do? creates a non-root user, with no password, and a predefined pubkey? I doubt that18:15
blackflowMikjaer: try upgrading to latest, could be bugs fixed that show this difference18:15
Mikjaeri just tried rmod'ing r8168 end modprobe r8169, changed nothing.18:17
Mikjaerblackflow: would an apt-get dist-upgrade get me to .2?18:17
blackflowMikjaer: yup, or "apt upgrade"18:17
Mikjaerjust tried en apt upgrade before i even asked inhere18:18
blackflowMikjaer: but the point here is not .2, but kernel version. `apt upgrade` should bring you to latest package versions state, on both.18:18
Mikjaerjust checked, it's upgraded18:20
blackflowMikjaer: so both kernels are at the same version?18:21
gavimobilehey folks, i would appreciate some help. anything i try to download i get the following message. "E: Unable to locate package wget"18:21
Mikjaerblackflow: no, the non working one is fully upgraded18:21
gavimobilei use apt-get install wget  using sudo18:21
gavimobilehow can i install nano & wget18:22
guntbertgavimobile: **how** do you try to download anything?18:22
marian090909hello experts18:22
gavimobileguntbert: please see my answer above18:23
shareabrainwaveHi, I had a power outage while watching a video with vlc and now the fullscreen popup controls don't pop up. I tried reinstalling ubuntu, upgrading to current from lts and deleting ~/.cache/vlc and vlc preferences.18:23
blackflowMikjaer: not sure what to do next, if you don't see any meaningful errors about why the module didn't succeed. you can, however, fix this particular machine by forcing the driver in /etc/modules so it gets included on boot.18:23
blackflowmarian090909: www.nohello.com18:23
marian090909anybody know why wine crashes whenever i try to install anything in playonlinux? is it not sustained anymore?18:23
guntbertgavimobile: weird, apt/apt-get should not require wget (I think...)18:23
Mikjaerblackflow: im thinking that i might just use ubuntu desktop, and then remove the gui18:24
blackflowMikjaer: as far as the low level stuff is concerned, which is about kernels and drivers, udev and plumbing etc..., it's the same. the difference between desktop and server is only in dependencies pulled in by metapackages. ubuntu-server vs ubuntu-desktop, while both have ubuntu-minimal and ubuntu-standard; and of course what those higher level packages do differently (eg. NM vs systemd-networkd on18:25
blackflowdesktop, for network management)18:25
Mikjaerblackflow: i agree ... thats why it's weirding me out18:26
guntbertgavimobile: Try it with    sudo apt install wget   (instead of apt-get) - I don't really expect success, tbh18:27
becoolMikjaer: had to cut my losses and create a new image18:29
guntbertgavimobile: ouch, I completely misread your question - sorry! You should start with the command   sudo apt update   to update the databes. When this gives errors tell us about them.18:32
guntbert*database18:32
TomyLobocan someone give/link me a rundown of the 32 bit story of the past week or two?18:33
blackflowsarnold: btw, would you happen to know what's the state of ZFS support on Ubuntu's 5.x kernels? are those GPL only changes from mainline patched out? Or does ZFS take a perf plunge with 5.x on Ubuntu18:33
sarnoldblackflow: I'm assuming the performance plunge18:33
blackflowsarnold: gah!18:34
blackflowI should run me own benchmarks to see how much...18:34
RandolfThe OpenJFX package doesn't seem to work.  I've tried various guides online, and none of them works for me, including exporting ENV and whatnot.  Has anyone gotten OpenJFX to actually work so that Java applications that rely on JavaFX will run, and can be compiled?  Thanks.18:38
Mikjaerblackflow: just made a new install based on .2 and changed nothing after the installer, same problem.18:45
tomreynTomyLobo: i'm not aware of a story during th past two weeks, but there is https://bryanquigley.com/pages/papers/ubuntu-drop-i386.html18:45
Mikjaeri will try to install directly on the machine, to se if its something during the installer im missing out on18:46
tomreynTomyLobo: this channel is just about support, though, there's also #ubuntu-discuss18:47
blackflowMikjaer: can you modprobe it?18:48
Mikjaerblackflow: no, tried that before18:48
blackflowMikjaer: anything in dmesg when you try to modprobe it?18:49
Mikjaerno, doing the excact same thing18:49
=== SimonNL_Afk is now known as SimonNL
Mikjaerit just behaves as theres no cable in the nic18:50
blackflowMikjaer: do you have linux-firmware package installed?18:51
Mikjaeryes18:51
blackflowMikjaer: $1M question... .you sure the NIC is not broken? :)18:51
blackflowtried to swap the hardware?18:51
Mikjaerblackflow: several times, i switches the drives 20 times before i fetched another machine so that i could have one of each18:52
blackflowMikjaer: but did you try to take the NIC out of that machine, and put it into the machine where that same model works?18:53
blackflowMikjaer: or I suppose those are onboard NICs? NO separate cards?18:54
Mikjaerblackflow: onboard nicks, and two identical machines18:54
Mikjaerblackflow: and the nics works if i boote the machines on the ubuntu-desktop-harddrive18:54
Mikjaerblackflow: and here comes the funny part ... i just booted the system with the exact same iso that i used to create the ubuntu-server-image ... and the installer gets an ip adress on the nic18:55
Mikjaerblackflow: so _something_ is happending during install that does something to it18:56
blackflowMikjaer: I doubt it.18:57
MikjaerThe only difference is that i ran the installer on a different machine and moved the disk18:58
blackflowMikjaer: Ubuntu installer works with images that it unpacks. Other than partitioning, there's no special configuration it does .18:58
Mikjaerblackflow: after installation, during first reboot, it hangs while trying to up' the network19:00
ioriasome packages are automatically removed after the install is complete19:00
blackflowMikjaer: the part I'm failing to understand is what exactly is the symptom there. you can't modprobe? no error explanation?   you can, but no network? is the config correct?19:02
Mikjaerblackflow: no, as i explained several times. The NIC acts as theres no cable plugged in.19:03
MikjaerModprobe works fine, device shows up, but state is down19:03
ioriaMikjaer, can you paste lspci -nnk ?19:04
Mikjaerioria: sorry19:04
Mikjaeri can take a picture of it :P19:04
blackflowMikjaer: state will be DOWN until you configure it19:04
ioriaMikjaer, i see19:04
Mikjaerokay ... the manual installation came op19:05
Mikjaerblackflow: no it wont, it will change to UP when theres a link19:05
ioriaMikjaer, you see 'NO-CARRIER' in the 'ip -a' output ?19:06
blackflowMikjaer:  did you _try_ configuring the nic?19:06
blackflowalso, I was convinced all this time the problem was what you originally stated: "19:50 < Mikjaer> The r8169 does not seems to be loaded as a module on the ubuntu 18.04 desktop"19:06
Mikjaerioria: let me just rewrite the image, and i'll check19:06
MikjaerBakso: same to you19:06
blackflowbl<tab>19:07
ioriaMikjaer, sorry... 'ip a'  (without the -)19:07
Mikjaerblackflow: im pretty sure i tried fetching an ip address19:09
bumblefuzzhi, I have a Raspberry Pi zero W that is ARM v619:09
bumblefuzzwhich ubuntu version will work with this?19:09
lordcirth!pi | bumblefuzz19:09
ubottubumblefuzz: Instructions for installing Ubuntu onto Raspberry Pi systems can be found at https://wiki.ubuntu.com/ARM/RaspberryPi19:09
Mikjaerblackflow: but im uncertain ... and this whole thing makes so little sense, that it would make sense that i have missed something along the way19:10
blackflowMikjaer: thing is you installed in vbox. by default ubuntu installs netplan which configures the NIC name in its config. If you move that to baremetal, you'd have to change the netplan config, as I originally mentioned (UUIDs for mountpoints and NIC names). Did you do that? Or is netplan trying to configure for the no-longer present vbox NIC?19:11
sarnoldbumblefuzz: iirc ubuntu requires minimum armv7. I don't think ubuntu will work for you; give debian a look19:11
Mikjaerblackflow: no i did not, i checked the interface with "ip a" and saw that it was down.19:12
blackflowMikjaer: well then... :) again, configure it. It's down until it's configured.19:13
=== RandolfR is now known as Randolf
Mikjaerblackflow: so what your saying is that i should have done (the equivalent of) ifconfig <if> up , and it would have worked?19:13
blackflowMikjaer: the equivalent yes, as ifconfig is deprecated. not just "up" but actually give it an address or use dhcp19:14
blackflowMikjaer: or simply modify /etc/netplan/... default config, put in the correct NIC name and run `netplan apply`. Let us know if that fixed it.19:15
Mikjaerblackflow: but if thats the problem, then ubuntu-desktop must be doing something, to autodetect those settings19:15
ioriaMikjaer, usually server edition screams like hell if it cannot configure the nic19:15
blackflowMikjaer: ubuntu-desktop is using NetworkManager which yes, autodetects on boot. for servers, NIC name is baked into netplan config.19:16
MikjaerThat makes sense :)19:16
MikjaerThat was actually my first question, but i guess that was before you joined the conversation :P19:17
blackflowMikjaer: I'm sorry, I thought you'd pick it up from me stating you should change UUIDs and NIC names when moving from vbox to baremetal :) You never asked what I meant, so I assumed you understood.19:18
ioriaMikjaer, 18.04 configures netplan both on desktop or server; but on server it sets networkd on desktop NetworkManager19:18
Mikjaerblackflow: i did ... i just thougt that the state in "ip a" was independant of configuration19:18
blackflowioria: yes and with that bakes in the NIC name, unlike on desktop that only configures NM as backend19:18
blackflowMikjaer: it never is. bfore netplan, it was ifupdown that did it. It also baked in the NIC name into /etc/network/interfaces19:19
ioriaso the problem here is the interface name ?19:20
Mikjaerblackflow: yea ... i can "up" the interface manually19:21
blackflowMikjaer: please try with netplan config and `netplan apply`19:22
blackflowioria: yeah, that's what I'm thinking, since this installation was done under vbox and then moved to baremetal.19:22
ioriaah, ok (vbox, i'am out)19:22
Mikjaerblackflow: yea, that worked. Seemed the problem was me now knowing how the "new" ip command works :P19:24
ndeeahHello! was wondering if I can get some help. My Ubuntu is hard crashing (only way out is to turn off my computer) whenever I watch any videos on Twitch (in browser + GNOME Twitch). Can anyone help me out in pinpointing the exact problem to avoid this? Would appreciate it19:25
Mikjaerblackflow: Guess i owe you a beer, thanks :)19:25
blackflowMikjaer: awesome :)19:25
Mikjaerndeeah: next time try : Alt+SysRq+b , that should reboot your machine instantly.19:26
ndeeahMikjaer: alrighty will do. any idea on how I can avoid it though?19:26
Mikjaerndeeah: no19:26
Mikjaerndeeah: need to know whats wrong before we can fix it.19:26
ndeeahMikjaer: alrighty, got any pointers on where to look to identify what's going on then?19:27
ndeeahNot sure which log to look at19:27
Mikjaerndeeah: i just gave you one, if that works, then your kernel is not crashed, and it's probably and x-related problem.19:28
ndeeahMikjaer: oh okay. let me open twitch & crash it then :D is SysRq the print screen button?19:28
Mikjaerndeeah: on some keyboards yea19:28
MikjaerYou can also try "r" først19:28
MikjaerYou can also try "r" first*19:28
Mikjaerand then ctrl+alt+119:28
Mikjaerthat should give you a terminal19:29
Mikjaerif it does, then your x is crashing19:29
Mikjaercould be a driver-issue or maybe a dead gfx19:29
ndeeahMikjaer: alrighty on it. Quick question, my /proc/sys/kernel/sysrq says 176. Should that be a problem? (assuming it should say 1)19:30
blackflowndeeah: look into /var/log/Xorg.1.log    after you reboot, as well as    journalctl -n 100 -b -1   for last 100 logged entries before reboot19:30
Mikjaerndeeah: mine says 176 to :)19:30
ndeeahAlright on it19:30
blackflowit's a bitmask. 176 = 128 + 32 + 16  . /etc/sysctl.d/10-magic-sysrq.conf explains the numbers19:31
ndeeahMikjaer: just another quick check. ALT+sysrq+r and then ctrl+alt+1?19:33
ndeeahTrying it now before even getting a crash, not working for me19:33
* solderfumes sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/OnEbaPTnKQmnMijUEuaXjarA >19:35
Mikjaerndeeah: try it with b?19:36
leftyfbsolderfumes: can we help you with something?19:36
Mikjaer(that will reboot your machine)19:36
sarnoldsolderfumes: is there anything in dmesg?19:36
atrusndeeah: i think Mikjaer meant ctrl-alt-F119:36
solderfumeseverything works, apart from the do-release-upgrade script19:36
Mikjaeratrus: your right!19:37
Mikjaerndeeah: i ment F119:37
atrusalthough F1 is usually where the graphical login manager is these days. might try ctrl-alt-f3 or f419:37
Mikjaerthe file /etc/udev/rules.d/70-persistent-net.rules seems to have been moved, where is it not? I guess its a systemd thing?19:38
solderfumes<Mikjaer "the file /etc/udev/rules.d/70-pe"> look at /lib/udev/rules.d19:38
ndeeahMikjaer: great, can't get it to crash now haha. The video is lagging like crazy though19:40
Mikjaersolderfumes: i cant find the nic-definitions there though19:41
=== Kartha is now known as {
=== { is now known as {-_-}
atrusMikjaer: i wonder if that's been replaced by netplan stuff. i have a mac address for my interface in /etc/netplan/19:45
Gallomimiai seem to have gotten downright good at crashing the compositor. when it comes back after a good 20s freeze, anti aliasing is in a stat of flux-freakout. has anyone seen this in ubuntu 19.04 ? nvidia drivers 43019:49
Sven_vBin a dual boot scenario, can Ubuntu's EFI partition be on the same disk as Windows'? can/must they share the same EFI partition? (when there's only one disk)19:49
atrusMikjaer: (yes, i believe this is handled by netplan these days: https://serverfault.com/a/941659 )19:51
=== {-_-} is now known as [0_0]
solderfumesWhen running `do-release-upgrade`, the script will download a tarball (disco.tar.gz) and a signature (disco.tar.gz.gpg). Can anyone tell me what key is used for signing this tar file? Wherever does it download it from?19:52
=== [0_0] is now known as {o_o}
solderfumesWhen running `do-release-upgrade` the script won't authenticate the downloaded files, but there is little info available19:53
=== {o_o} is now known as Guest58455
=== Guest58455 is now known as tens0r
=== tens0r is now known as hippopotoneus
=== Gokturk-Away is now known as justme23
daxsolderfumes: do-release-upgrade (and its GUI equivalent) connect to https://changelogs.ubuntu.com/ and download the relevant meta-release-* file based on LTS and "upgrade to development releases" flags and settings. that file contains the URL of the upgrade tool (the .tar.gz you mentioned) and its gpg signature19:59
daxsolderfumes: i don't have a gpg install handy, but given the .gpg file it should be able to tell you the key it was signed with19:59
daxi assume it's one of the ubuntu release keys19:59
TJ-solderfumes: /etc/update-manager/meta-release -> UR{,_LTS} -> UpgradeTool{,Signature}20:00
TJ-solderfumes: /etc/update-manager/meta-release -> URI{,_LTS} -> UpgradeTool{,Signature}  (typo corrected)20:00
solderfumesi found the file, it was signed by 3B4FE6ACC0B21F32 and/or 871920D1991BC93C, let me check if these keys are legit20:03
solderfumesI found the key, it's on my computer at /usr/share/keyrings/ubuntu-archive-keyring.gpg20:05
=== justme23 is now known as Gokturk-Away
solderfumesshould this key be in /etc/apt/trusted.gpg?20:05
solderfumesthat did it20:08
solderfumesthanks for the help, dax, TJ-!20:09
MWMgetting ' Unable to mkstemp /tmp/clearsigned.message.gMZ8z8 - GetTempFile'20:11
MWMI am currently checking google, but hoped someone here might have an idea wft?20:11
TJ-solderfumes: if you need to know which key signed a file (whether inline or detached), and have the file containing the signature: "gpg --verify bionic.tar.gz.gpg /dev/null"20:12
MWMautoclean... autoclean was the answer.  Thanks and sorry for wasting your time folks :D20:13
solderfumesTJ-: I didn't know about the /dev/null trick, I just gave it the tar.gz file, it worked just as well. Adding this signing key to my /etc/apt/trusted.gpg allowed me to run `do-release-upgrade`20:15
TJ-solderfumes: strange; the keys should all be in the existing ubuntu-keyrings and by extension, available to apt-key20:17
sarnoldsolderfumes,TJ- -- be careful with that though, you don't want to just blindly use whatever key an attacker-provided blob says to use to verify it :)20:17
TJ-sarnold: well of course; the point is to get the KEY ID of the signature20:18
sarnoldjust don't forget the next step -- verify that that keyid is a legitimate key id :)20:19
TJ-who cares? it's only bits. Easily clobbered with the off switch :)20:19
basalti cannot see the "VPN Connection" in the top right menu on 19.04 with ubuntu desktop, any hints?20:21
sarnold*I* care :) we've gone to great lengths to provide a chain of trust from our build servers to our users and if users just blindly grab whatever keys were used to sign something, that breaks the chain :)20:21
solderfumessarnold: that's a good suggestion, but the key was already on my machine, just in a different location20:24
sarnoldsolderfumes: yeah, I'm glad you looked for it there and found it :) I'm surprised it wasn't already there, but.. you got the right thing.20:25
solderfumesTJ-: I agree, it's strange. This machine was distro-upgraded a few times, and maybe that's the reason the archive key was not in the apt/trusted.gpg20:25
TJ-solderfumes: if you "dpkg -L ubuntu-keyring" you should see it is listing keys in /etc/apt/trusted.gpg.d/20:26
solderfumes(gpg command line should be rewritten from scratch IMO, it is an absolute pain with keyrings which aren't in your .gnupg directory)20:26
solderfumesTJ-: that's exactly what I did :)20:27
solderfumesthen the usual `gpg --no-default-keyring --keyring /usr/.../full-freaking-path.gpg --export` etcetera20:27
sarnoldsolderfumes: and while we're at it, maybe we can move to crypto from *this* decade, too.. a complete replacement would be beautiful.20:28
de-factoIs there any way to _completely_ disable Gnome notifications?20:29
de-factocan I uninstall a Gnome component or something like that?20:29
solderfumessarnold: What advancements have there been in cryptography since the past decade? What is your suggestion?20:29
TJ-sarnold: I wish the same care was applied to releases.ubuntu.com (no https) so the images and signatures there could be trusted not to MITM-ed - this for new users coming fresh to Ubuntu and not having skills/access to gnupg/PGP on their current OS. Try switching to HTTPS and it delivers a certificate for "*.bit.nl"20:30
sarnoldsolderfumes: authenticated encryption modes as the only way of operation, and much less of postel's law "liberal in what you accept"..20:30
sarnoldTJ-: yeah, users from windows have basically no options short of "use wsl to install linux first and then use that"20:31
OerHeksdconf org/gnome/desktop/notifications20:31
Sven_vBcross-post from #systemd: How can I make systemd stop bluetooth more quickly on Ubuntu xenial? "22:15:17 bluetooth.target: Unit not needed anymore. Stopping.¶ 22:15:17 Stopped target Bluetooth." … then for almost 2 minutes, nothing happens … "22:17:11 Stopping Bluetooth service..." my problem is that when I touch the antenna the wrong way, it moves just enough to disconnect USB. then I can't just push it back, I have to res20:32
Sven_vBtart bluetoothd if I want it to work again. (or probably wait 2 minutes, haven't tried that.)20:32
de-factoOerHeks, was already switched off, Gnome does not seem to care about it though, spamming me with warnings that my mouse battery is empty. well its not and it is very annoying to get that popup spam every few seconds20:34
OerHeksoh, didn't you had this issue before?20:34
OerHekslevel down the treshold?20:34
de-factoyeah again and again, threshold set made it less frequently, but still now its starting again (didnt change threshold though)20:35
OerHeksi would replace batteries20:35
de-factoit doesnt solve the problem, just delays when its starting with popup spam20:36
TJ-Sven_vB: I'd presume if the underlying Bluetooth device has disappeared the kernel is left waiting for it to respond and eventually decides it isn't going to20:36
OerHeksorg.gnome.settings-daemon.plugins.power20:36
de-factoalready have all the percentage stuff at 120:38
TJ-de-facto: are the reports inaccurate or just premature?20:38
de-factoI suspect inaccurate (how can i verify?) and sometimes extremely frequently (annoying me every few seconds). I suspect there is a bug involved somewhere since i cant imagine thats how the devs want to annoy their users20:39
de-factoi really would like to completely disable this gnome component alltogether, i dont need notifications anyhow20:40
OerHekshttps://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/10820:42
TJ-de-facto: I know that some time ago I noticed the battery for my Asus T300CHI's Bluetooth keyboard/touchpad dock was being reported accurately but at some point something broke it and it now always reports 99% .. I don't use Gnome but I'm wondering if we're both seeing symptoms of a bug/regression in the power/input devices logic20:42
Sven_vBTJ-, but it instantly says it doesn't need BT anymore?20:42
OerHeksGNOME 3.32 fixed it20:42
OerHeksand could well be this '1.2 V instead of 1.5 volts (NiMH) thingy ?20:43
TJ-Sven_vB: how do you mean? "it says2 "it doesn't" - what are these "it"s ?20:44
de-factoOerHeks, yes its got a NiMH rechargeable AA which i can charge over USB20:44
de-factoTJ- yeah it may be that its inaccurate, but i would consider such frequent popup spam a bug in itself already. sometimes when it pops up the mouse movement even stutters (i guess it does something with the logitec interface)20:45
TJ-de-facto: you can check the underlying kernel view of the battery state with " grep . /sys/class/power_supply/hid*/capacity "20:45
TJ-de-facto: I agree entirely about the notifications.... but I wonder if that could be because the reported level is changing frequently so it is say 99% one moment then 8% the next. I could imagine that causing repeated notifications and it would be no fault of Gnome20:46
de-factointeresting idea, might make sense if that is the case20:47
TJ-de-facto: you could put a watch on those values to see if they are changing with "watch -n 1 grep . /sys/class/power_supply/hid*/{capacity,status} "20:48
de-factoi dont have capacity there20:48
TJ-de-facto: really? what nodes are there?20:48
TJ-de-facto: I wonder if that could be part of the issue? If something is expecting 'capacity' and it doesn't exist the code is triggering the notification20:49
de-factoTJ-, https://pastebin.ubuntu.com/p/NwQTfmZfhy/20:50
de-factoubuntu 18.04 amd6420:50
de-factosome older Logitech Performance Mouse MX20:51
TJ-de-facto: "capacity_level" maybe ?20:54
de-factoone with that logitec unifying usb receiver or what its called like (over their proprietary rf), the mouse containing a AA NiMH rechargeable 1.2V 2000mAh at currently 1.23V20:54
de-factothe /sys/class/power_supply/hidpp_battery_0/capacity_level is "Critical"20:57
TJ-de-facto: I'm reading a patch-set from 2016 for this hidpp_battery, and there it says that some of those devices do not report their charge level and some of them even report it as 0 when plugged in (that for solar-charged devices!)20:58
de-factoyeah there is a keyboard from logitech that has solar panels inside20:59
de-factoI would love if my system would either completely ignore any of those power levels or do more accurate warnings (no more than once an hour or something like that)21:00
de-factonot every few seconds when something goes berserk about those power levels21:00
de-factoits also not reliable, sometimes its very often, other times I cant remember it annoying me so often21:01
TJ-de-facto: apparently there is/was a bug in UPower when dealing with these Logitech devices due to the missing nodes, so that could be what you're seeing21:01
TJ-de-facto: see https://bugs.freedesktop.org/show_bug.cgi?id=10035921:02
ubottuFreedesktop bug 100359 in general "Add support for "capacity_level" attribute" [Normal,Resolved: fixed]21:02
OerHeksGNOME 3.32 fixed it21:04
de-factocan i somehow disable upower?21:05
de-factodisabling/stopping it via systemctl does not have any effect, it still is acrive21:08
TJ-de-facto: I'd assume it's Dbus activated21:08
TJ-de-facto: remember that most things freedesktop/gnome use Dbus for IPC21:08
de-factoi just deinstalled gnome-power-manager, maybe that helps somehow...21:09
de-factomaybe a bit drastic, but the popup spam stopped for now...21:10
OerHeks:-)21:11
de-factoits was especially annoying because the popup goes over all the applications menu's (z layer above everything) so i had to click it away every few seconds21:13
de-factothanks guys :)21:13
OerHekshave fun!21:15
MWMI guess clean wasnt the whole story.  I am getting: dpkg: error: unable to create new file '/var/lib/dpkg/status-new': No space left on device21:22
MWMbut df -h reports 83% for that device.21:22
sarnoldMWM: yay you're back :)21:24
sarnoldMWM: df -i21:24
MWMhey df -i reports 100% in use... thats not right21:25
MWMfound a page that shows how to identify the "files that are consuming inodes" but 'sort: cannot create temporary file in '/tmp': No space left on device21:33
MWM'21:33
Sven_vBTJ-, sorry for the wait. when I unplug the antenna, systemd detects it immediately: "22:15:17 Stopped target Bluetooth." but then it takes almost 2 minutes until "22:17:11 Stopping Bluetooth service..."21:34
becooli RTFM and am still missing something on being able to create an sftp user with a home dir on the sftp folder/mount defined in sshd_config21:35
becooli'll pastebin my sshd_config21:35
Sven_vBbecool, what did you try, what did you expect, what did you observe instead?21:36
abbieSven_vB: hows your enterprise doing sir21:38
abbiei was thinking about getting support21:39
becoolhere's my sshd_config: https://pastebin.com/TS6A1eaU21:39
becooli want to be able to create new users (for sftp) and have their home directory automatically created under /sftp/users21:40
TJ-Sven_vB: that makes sense. As I said, bluetoothd (controlled by bluetooth.service) will timeout as the device disappeared and the kernel is not sure what to do about it21:40
becoolwhen i connect to sftp as the user, i want it to go directly to their home dir21:40
Sven_vBabbie, I'm open for business. if it's something that can be dealt with in public, you can also ask in the respective channel and maybe I can help for free.21:41
becoolis there an openssh channel specifically for this topic?21:44
Sven_vBTJ-, then I probably just didn't understand what you meant to say. because when I stop BT via systemctl stop bluetooth, it quits immediately.21:44
Sven_vBbecool, so the problem is that they can see stuff outside their home directory?21:46
becoolwell, the problem is that they never actually connect directly to their home directory, just the global root directory specified in the sshd_config21:47
=== guiverc2 is now known as guiverc
Sven_vBbecool, try ChrootDirectory %h21:48
Sven_vBbecool, see also the "ChrootDirectory" chapter in man sshd_config21:49
becoolcool i'll try that now21:51
becoolSven_vB: that worked! you are my here22:01
becoolhero*22:01
Sven_vBbecool, you're welcome :)22:01
becoolhave a gret weekend22:01
fullstackhi unfortunately, my system is still crashing/freezing22:08
fullstackit has a lot to do when I do anything visual like full screen a video or open media22:09
TJ-fullstack: have you been able to monitor temperatures?22:09
fullstackTJ-, if I type 'sensors' I get "PCI Adapter 60C" , and two other devices.. amdgpu-pci (no results) and acpitz-virtual-0 "+30.0C"22:09
fullstackI hear my fan and don't think its overheating22:10
fullstackI think its amdgpu22:10
fullstackis there a way to stay with Ubuntu 16.04 _____LTS_______ (LTS should mean something) and utilize the latest amdgpu? I have had problems with kernels 4.20 .17 and .19, but I didn't try 5.x22:10
TJ-fullstack: are you able to use another PC to ssh in and have it run "dmesg -w" to capture the kernel log? And of course boot the system with "debug systemd.log_level=info" on the kernel command-line - this will attempt to capture any messages that don't make it into the log-files due to the freeze22:11
fullstackOk yes that is very good information. I can put that line "debug systemd.log_level=info" in my grub defaults, correct?22:12
fullstackI'll try to ssh next time22:13
TJ-fullstack: yes.22:14
fullstackbecause there's nothing in the logs now, this should at least be an effort to isolate the issue. thanks again. will know in 24-48 hours:)22:15
TJ-fullstack: on the other PC use "dmesg -w |& tee /tmp/dmesg-problem-pc.log" so you can both see the messages and capture them to a file22:15
TJ-fullstack: actually, to be more complete "ssh other-pc dmesg -w |& tee /tmp/dmesg-problem-pc.log"22:17
elichai2hi, new laptop, XPS 15 7590, with Nvidia GTX 1650. I connect an external display and ubuntu recognize it and everything but it just stays black22:59
elichai2I tried installing the nvidia drivers, tried disabling the nvidia card. nothing helps22:59
fullstackelichai2, I setup nvidia 1050 the other day and all I had to run was 'ubuntu-drivers autoinstall'23:02
fullstackdoes 'ubuntu-drivers list' show anything?23:02
elichai2yeah23:02
elichai2it shows the device23:02
fullstackcan you run nvidia-settings or whatever?23:02
fullstacknvidia-detector23:03
elichai2ha. it returns none23:05
elichai2even though nvidia-smi detects it23:05
OerHekslaptop.. does it have a FN + screen key, internal/external/both?23:05
elichai2yes23:06
OerHeksthat would be a hardware key, even if it is F823:06
fullstackelichai2, I just ssh to my machine with the 1050 and nvidia-dector returns none also23:06
elichai2I tested that23:06
fullstackelichai2, and nvidia-smi is OK23:06
fullstacki'm actually running a job on it23:06
elichai2ok. something weird hdmi through C works23:08
elichai2direct HDMI doesn't23:08
fullstackI had to ALT-F1, sudo to root23:12
fullstackand then run 'init 3' and 'init 5' between enabling features in /usr/share/x11/xorg.conf.d/10-nvidia.conf, a file I had to create23:13
fullstackthis was ubuntu 16.04. I am not familiar with why there was no xorg.conf and everything had to be under /usr/share/x11/xorg.conf.d, but whatever.23:13
fullstack'nvidia-settings' command failed to run because there was no xorg.conf23:13
fullstackanyway I am sure there is a solution, did you find one?23:14
tomreynxorg.conf(5) discusses the different locations and how they work together23:15
sarnoldfullstack: did you modify files under /usr/share/ or just add files?23:15
fullstackI created a file called 10-nvidia.conf23:16
fullstackand stole someone's config23:16
elichai2fullstack: https://github.com/JackHack96/dell-xps-9570-ubuntu-respin/issues/8323:17
sarnoldfullstack: alright, good. modifying files in /usr/share/x11/... probably would have busted package updates. as tomreyn points out, xorg.conf(5) has the list of paths tht are consulted, and something in /etc/ would be less likely to cause trouble, and easier to find again in the future if needed :)23:18
fullstackis there any reason why it was changed? it breaks the very nice 'nvidia-settings' application23:19
sarnoldthere's been a push for a decade or two to move defaults to /usr and then have admins configure just what they need to change on the machine in /etc23:20
sarnoldwith the long-term goal of eventually perhaps having just a handful of small files in /etc that's special about the system in question23:20
fullstackthe /etc/resolv.conf change is really annoying, removing the symbol link and  chattr +i is the first thing I do installing Ubuntu. So there's definitely different objectives going on in regards to just changing /etc23:21
tomreynsee the /ETC/RESOLV.CONF section in systemd-resolved(8) on this if you haven't23:25
fullstackthere's always new and exciting ways to configure things but they aren't exactly better.  yes, old ways are wrong and somewhat broken, and could be better, but they work. And the "enhancements" risk bring new and bad user experiences. Every half decade or so somebody attempts to do something and it breaks the old ways. that's why I wanted to run a LTS "please just boot up so I can get my work done and pay my bills without having to do a23:25
fullstackbunch of unneccessary devops for a week"23:25
tomreynLTS mostly ensures that there will be no architectural changes within this release. they cannot and do not attempt to prevent that there are no such changes across LTS releases. but this is rather a discussion to be had in #ubuntu-discuss23:27
=== coffeeguy is now known as random-guy
=== random-guy is now known as coffeeguy
raid5dumbHello, I wanted to add a disk to an existing 2 disk raid 5, but I think i fucked up. The original two disks were not used fully, but the other partitions on them were deleted. On the new disk i wrongly created just one big partition and added it to the raid. Now I cannot resize the filesystem. What I did till now: "parted -a optimal -- /dev/sdd mkp23:40
raid5dumbart primary 0% 100%", "mdadm /dev/md1 --add /dev/sdd1", "mdadm --grow --raid-devices=3 /dev/md1 --backup-file=/tmp/md0.bak". Is there any way to fix this without rebuilding the raid multiple times?23:40
raid5dumbThis seems weird: md1 : active raid5 sdd1[2] sdc3[0] sdb3[1]23:40
raid5dumb55, hidden sectors 2048, dos < 4.0 BootSector (0x80), FAT (1Y bit by descriptor); NTFS, sectors/track 63, sectors 15628048383, $MFT start cluster 786432, $MFTMirror start cluster 2, bytes/RecordSegment 2^(-1*246), clusters/index block 1, serial number XYZ23:40
raid5dumb: 82d7944:7c7e1e12 name=kubuntu:1 level=5 disks=323:40
raid5dumbIs doing "mdadm -f /dev/md1p1 /dev/sdd1" and "mdadm -r /dev/md1p1 /dev/sdd1" and to readd the disk with a partition as big as the other ones the "right" thing to do?23:40
fullstackthanks for all the hard work everyone puts into Ubuntu I appreciate it, and the help here. Its a wonderful OS23:41
fullstackmy statements were in general for any OS. If anything at all, Ubuntu gets it right better then any other OS23:41
raid5dumbwell im going to bed, but im thankful for any input23:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!