/srv/irclogs.ubuntu.com/2017/08/04/#ubuntu.txt

tomreynwouldn't be the first time this helped fix dhcp ;)00:10
Zemmy_I am running 16.04LTS and am trying to connect to a Western Digital NAS that is plugged into my wireless router. Ubuntu will see the folders on teh drive but will not allow me to connect as it asks for credentials. I have used every combination that I can think of with no luck. I have been able to connect by allowing guest login, but I don't want that all the time. I also tried to make a new account in the router to allow read/write00:11
Zemmy_access but that also didn't work. Can anyone offer any suggestions?00:11
tomreynZemmy_: i assume you were able to connect to that NAS and access your files there before? when it worked, how did you do it?00:16
tomreynalso which product is it precisely.00:17
Zemmy_I was using a Windows laptop.00:17
tomreynwith some vendor specific software on it?00:17
Zemmy_It is an Asus TM-AC1900 router supplied by T-Mobile00:18
tomreynand the NAS is attached to the router how? via usb or network?00:19
Zemmy_USB00:19
tomreynZemmy_: does it not have a network interface then?00:19
leftyfbZemmy_: how are you trying to connect? SMB? NFS? FTP? SFTP?00:20
leftyfbZemmy_: btw, hi :)00:20
Zemmy_Hi lefty00:20
geniiSo probably some SMB other daemon on the router00:20
Zemmy_the page is titled "USB Application - Network Place (Samba) Share"00:21
leftyfbok, Samba/SMB00:21
tomreynZemmy_: what'S the product name of the NAS exactly?00:21
Zemmy_It is an Asus TM-AC1900 router supplied by T-Mobile00:21
tomreynZemmy_: that's your router, not your storage00:22
tomreynNAS= network attached storage00:22
tomreynwhich normally suggests it has a network interface card / chip and a network jack.00:23
geniitomreyn: The storage is an external USB which is plugged into the router, which shaes the drive to the network00:23
Zemmy_Oh, sorry. I read that wrong. Western Digital My Book00:23
Zemmy_its plugged into the USB port on the router00:23
tomreynokay right that's not NAS, just an external HDD00:23
Zemmy_ahh, OK.00:25
tomreynZemmy_: on windows, did you have some software by t-mobile or asus installed to support your router or its configuration?00:25
Zemmy_no00:25
Zemmy_I did all the work by pointing to it in Chrome00:25
Zemmy_"cellspot.router" takes me there00:26
Zemmy_when starting Ubuntu the entire drive appears and when I try to access it Ubuntu asks for credentials00:27
tomreynZemmy_: okay, so what i don't understand yet is that you say you had it set to guest access temporarily but you liked it better when it was somehow different. when it was somehow different, how did it work then?00:29
tomreynZemmy_: my point is that if you accessed it from windows before, and there were credentials configured to access it on your router, then you must have entered those crdentials in windows (and it stored /cached them), and you'd need the same credentials to access from linux now.00:30
Zemmy_the only way to connec to the drives from the Ubuntu computer is to set it to guest access. From my Windows machine no such change is necessary and I can access the files00:31
tomreynand you can probably configure different credentials on the asus routers' web interface00:31
Zemmy_the only credentials I have entered are the username and password to access the router settings. those credentials do not work on the Ubuntu machine00:32
Zemmy_I attempted to make another user account for the Ubuntu machine but I am still asked for credentials when trying to access it from Ubuntu00:33
Zemmy_"Password required for share documents on 192.xxx.xxx.xxx"00:33
Zemmy_Since Samba was involved I was wondering if there was something in Ubuntu that I wasn't aware of00:38
tomreynZemmy_: try this: on the router's web interface, go to "usb application", "servers center", "network place".00:38
tomreynZemmy_: that's where you should be able to configure a user whose credentials you'll use on ubuntu00:38
Zemmy_is there a chance I would need to reboot Ubuntu for it to work?00:40
[n0mad]doubtful00:40
tomreynZemmy_: not really, no. did you try what i suggested, though?00:40
Zemmy_yes. I created an account giving it Read/Write to the necessary folders but it still asks for the password00:42
tomreynyou may need to select "share with account" on that screen to be able to configure an account00:42
Jordan_Uhimom: Please pastebin the output of "dmesg" after or while you're seeing these artifacts.00:42
tomreynZemmy_: hmm, well, it might be you need to restart the router, but i would think not. it's worth a try rebooting both the router and ubuntu at this point, though.00:42
Zemmy_thanks. I will try.00:43
tomreynZemmy_: you could also try to access the files using the FTP protocol instead of SMB (which you were trying so far)00:43
Zemmy_if it still fails I will explore that.00:44
tomreynluckily this thing is vulnerable to CVE-2017-7494 so you can just get remote code execution if needed ;)00:50
[n0mad]lol00:52
himomtomreyn: I'm sure it's a feature!00:53
tomreyni'm sure t-mobile thinks so, too00:53
himomis it safe to show people my dmesg?00:53
tomreynsafe: yes, usually. if you worry a lot about privacy, though, maybe you need to strip some serials nad MAC addresses.00:54
himomthat would be a lot of stripping though?00:55
hal9002Hi, could someone take a look at this problem I am having//.,00:56
hal9002oops00:56
hal9002well, anyway, trying to reinstall ubuntu and having trouble partitioning00:57
himomwhat's wrong?00:57
hal9002I dont understand what these SCSI things mean, the latter picture. Do they refer to the same partitions, on the upper picture, that are formatted as ext4 and linux-swap?00:58
hal9002http://imgur.com/a/SyAin00:58
hal9002the guided partitioning thing offers those SCSI partitions, when I choose reinstall ubuntu01:00
himomit says partition 7 on sda - that is sda701:01
tomreynhal9002: "SCSI1 (0,0,0) (sda)" refers to your first hard disk. please be sure to have current backups before proceeding.01:01
himomso look at the numbers01:01
hal9002oh, okay01:01
himomsda, sdb, sdc that's which disk01:01
himom0, 1, 2, 3... that's which partition01:02
himomdon't worry that it says SCSI, check which partitions on which disks you edited to make sure you didn't make a mistake01:02
hal9002strange, fdisk -l claims there is no partition sda701:03
oerhekswhat a mess .. 1.84 gb and 2.44 gb unallocated01:03
hal9002oerheks, I supposedly need to leave them as such. Using a mac, alas01:03
himomhal9002: I think it means it will create one doesn' it?01:03
hal9002himom, probably, yeah01:03
hal9002well, thats not ideal, I suppose I will just manually edit the partition table then01:04
himomhal9002: if you created a partition there with ext4 file system then you know it's the one you made01:04
himomhal9002: but the changes are not applied yet until you accept everything01:04
hal9002okay01:04
hal9002thanks01:04
oerheksi read sda5 will be reused, and sda7 will come on the 1st piece unallocated..  if you hit continue01:04
oerheks1.84 gb is really not enough01:05
hal9002yup01:05
himomJordan_U: I know you try to help and thanks for that, but I'm not sure if it's safe to send this. Nothing changes in dmsg when I run those 3d apps that display artifacts01:06
hal9002oerheks, actually, those small unallocated partitions had something to do with optimizing SSD performance, not os x, but anyway01:07
hal9002anyway, thanks for your help oerheks and himom. I think I might manage it from here01:08
himomgood luck!01:08
hal9002thanks :D01:08
himomoerheks: do you remember my problem with artifacts? I tested Ubuntu live usb and on 16.04.1 it doesn't happen at all, on 16.04.3 it happens in Blender but not in games (so still better than on my 17.04. Do you know what that could mean? Maybe it's the kernel, but even then what do I do?01:12
Jordan_Uhimom: If you can narrow it down to being the kernel then a process called bisection could tell you exactly what change to the kernel introduced the problem, if you're willing to do the work required to find out.01:13
oerheksNot really, all you can do is wait for amdgpu support for 4.1001:14
himomJordan_U: how can I do that?01:14
=== Schnabel1 is now known as Schnabeltierchen
himomoerheks: that is sad. I hope that's not true and that there is some way. Being dependent from a single company that has failed me in the past with their drivers is probably the worst thing that could happen in this case01:15
Jordan_Uhimom: https://wiki.ubuntu.com/Kernel/KernelBisection01:16
Jordan_Uhimom: I expect that you'll get the best results testing from Ubuntu 16.04.1 and not upgrading anything other than the kernel.01:18
himomJordan_U: interesting, so it's like a binary search01:18
Jordan_Uhimom: Exactly that, yes.01:18
himomJordan_U: this sounds like a great method. If I learn the exact version that starts causing the problem what will this information give me?01:18
Jordan_Uhimom: In the best case it will tell you exactly what change caused the problem and you'll be able to just revert that change and use the latest kernel with just a single patch reverting the small change. More likely it won't be quite that simple but knowing a commit that makes the problem worse will probably give developers a very strong hint as to what the underlying problem is.01:21
himomJordan_U: that's awesome! I will try it then01:22
himomJordan_U: thanks for help01:23
Jordan_Uhimom: You're welcome. When you do file a bug report please subscribe me to it, user jordanu .01:25
himomJordan_U: ok, I will! where should I file the report once I find out which version is causing the problem?01:26
himomJordan_U: one more thing: can I install kernels on live usb with persistence or do I need to install the OS on a hard drive?01:27
Jordan_Uhimom: You can boot different kernel images from a LiveUSB but in that case persistance would actually likely just confuse you rather than make it easier to do so. It would be a manual process of changing the grub.cfg to point to the new kernel image, and you would *not* (for sanity's sake) want that new kernel image to be part of the "persistant" filesystem.01:32
himomJordan_U: I see01:37
Jordan_Uhimom: You can do a normal installation to a USB drive. Main downside is that it will likely be *very* slow and may replace the UEFI boot entry for your internal drive (which can be fixed by using the USB install's grub to boot the internal Ubuntu, then running "sudo grub-install").01:40
himomJordan_U: live usb seems like a better option then01:43
ohlolznoob question: if i get a dual band router should i get a dual band wirelss network adapter?01:46
ohlolzwhere else can i ask this?01:47
tewardohlolz: if and only if you want to use 5GHz and 2.4GHz.  You can get by with just a 2.4GHz adapter.  ##networking is probably a better place to ask this though01:47
ohlolzteward: i'm getting lower wifi speed in 2.4Hz01:47
ohlolzso should i change both? the router and adapter?01:48
Jordan_Uhimom: So then after "installing" a test kernel package copy the kernel and initramfs from /boot/ to the USB drive's fat32 partition, which should be mounted to /cdrom/ when you're booted from the LiveUSB, and edit /cdrom/boot/grub/grub.cfg adding an entry for booting your test kernel and initramfs.01:50
tewardohlolz: i'd try just the adapter first, but keep in mind that "lower wifi speed" isn't necessarily the router OR the wifi adapter's fault.  And you haven't stated if you're on Ubuntu or not, so unless you're on Ubuntu I can't help you here :p01:53
himomJordan_U: which files for each kernel do I have to copy from /boot ?01:53
ohlolzteward: why the adapter first? if the router doesn't have 5GHz?01:54
Jordan_Uhimom: /boot/vmlinuz-VERSION and /boot/initrd.img-VERSION .01:57
tewardohlolz: i have my reasons for suggesting the adapter first - but 5GHz isn't going to give you much of a speed boost compared to 2.4GHz for the average residential network and average consumer router.01:59
himomJordan_U: in Ubuntu repo there are kernels 4.8.x and 4.10.x but no 4.9. Does that mean I'm missing something or they just didn't use that version?02:01
=== Kitlith_ is now known as Kitlith
Jordan_Uhimom: It's likely that they didn't use that version. I'm realizing that looking at the instructions these instructions only test Ubuntu changes, where a single commit could take you from one major kernel release to another. If the problem doesn't start with one of the smaller Ubuntu changes you may need to switch to bisecting the upstream git tree.02:03
himomJordan_U: ok I see. Should I use kernels from here https://www.kernel.org/ or from here http://kernel.ubuntu.com/~kernel-ppa/mainline or it doesn't matter?02:06
Jordan_Uhimom: You would use the git repository git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git .02:17
himomJordan_U: I'm gonna try those kernels now, thanks!02:23
Philaneoushi has anyone had any issues mount smb shares hosted from a Sierra 10.12.6 client on 16.04?02:53
Felix_AmoreHello? Could you guys help me with my Ubuntu install?02:53
Felix_AmoreI made a live USB that works fine on my other machine but in my new acer it boots past he bios and gives a blank screen. I looks like the boot screen where you get a bunch of text reports as unbuntu starts, but it just sits there.02:58
Bashing-omfearnothing: Acer: http://ubuntuforums.org/showthread.php?t=2330267 <-  set "trust" on the Ubuntu/grub .efi files.03:11
EraHello. If I wanted to change the partition my system uses for swap, all I need to do is turn swap off and change the entry in /etc/fstab right?03:21
EraMy system wont fail to boot?03:21
SwedeMikeEra: you can do swapoff for existing, change fstab, then do swapon -a , and if that succeeds then you should be fine. Swap is not required for booting03:24
EraOk, Thanks03:25
bexdo you guys offer support here?03:30
bexcan't boot into ubuntu, get the error "end kernel panic - not syncing VFS: unable to mount root fs on unknown-block"03:31
bexi tried some things with a live usb but it didnt work03:31
=== Servant is now known as Mittens
Jordan_Ubex: Is this after a fresh installation of Ubuntu?03:32
bexno but after a reboot03:33
Jordan_Ubex: So you installed Ubuntu, rebooted once and it worked, but then the second time you tried to boot after installing it failed?03:34
bexno it's been working fine for a while03:34
bexi think there was a problem with upgrading03:35
Jordan_Ubex: Upgrading to a new release of Ubuntu or just updates within a release?03:35
bexwithin03:35
HarendraSinghI have installed Ubuntu and I get a blank screen on boot. issue with my gfx card. how to solve?03:36
Jordan_Ubex: Have you tried selecting "Advanced Options for Ubuntu" at the grub menu and selecting the third entry (which will be the second most recent kernel)?03:36
bexyes i tried all of them i think but it doesnt boot03:37
Jordan_Ubex: What things did you try from a LiveUSB?03:37
bexthe recovery modes too03:37
bexhttps://askubuntu.com/questions/41930/kernel-panic-not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block0-003:38
bexhttps://linoxide.com/linux-how-to/fixing-broken-initrd-image-linux/03:38
Jordan_Ubex: Please boot from an Ubuntu LIveUSB and run boot info script: https://github.com/arvidjaar/bootinfoscript and pastebin the RESULTS.txt that it produces.03:39
jcbitterhey guys, i just installed ubuntu mate on a tablet and im trying to tether my android phone for internet access, but only get local network access (can ping my other pc and router but not google.com)03:40
jcbitteri've tried bringing it up with ip link but it goes into state=unknown03:41
jcbitteralso tried to create a neew network file in systemd/network but that didnt work03:41
Jordan_Ujcbitter: Is the phone acting as a Wireless AP or are you connecting by USB / Bluetooth?03:41
jcbitterUSB tethering, phone is connected to home wifi03:42
jcbittercant connect to wifi with tablet because i need to get some packages and drivers for it to work03:42
Bashing-omHarendraSingh: A fresh install ? Try booting with "nomodeset" and install the proprietary driver if this is nvidia .03:43
Jordan_Ujcbitter: Your phone likely won't act as a gateway when it's connected via wifi rather than 3g/4g.03:43
jcbitteroh damn :/ i was afraid that might be it lol, im gonna have to go pay for data03:44
Jordan_Ujcbitter: Or you could download the packages and transfer them to the tablet via USB.03:46
Jordan_Ujcbitter: Or actually, try manually adding your router as the default gateway. Should work fine.03:46
jcbitterhow would i go about adding my router as the default gateway?03:47
Jordan_Ujcbitter: First, check that you don't already have a default route by running "ip route list".03:50
jcbitternop03:51
jcbitterusing a different one03:51
Jordan_Ujcbitter: If you don't, then run "sudo ip route add default via XXX.XXX.XXX.XXX" substituting in the ip address of your router.03:51
jcbitterwhich is usually 192.168.0.1?03:52
bexi can't figure out how to run bootinfoscript. i copied it to another usb stick03:52
bexand mounted it03:52
Jordan_Ujcbitter: Usually, yes.03:52
Jordan_Ujcbitter: Then "sudo ip route delete default via XXX.XXX.XXX.XXX" where you're substituting the ip address of your old default route (probably your phone's ip).03:55
jcbitterthe first command gives me a Network is unreachable03:56
jcbitterJordan_U, btw thanks for the assist with this03:57
Jordan_Ujcbitter: What is the exact command you ran?03:57
jcbittersudo ip route add default via 192.168.0.103:57
Jordan_Ujcbitter: And you can ping 192.168.0.1?04:00
jcbitteryup04:00
Jordan_Ujcbitter: What is the device name of the connection to your phone?04:03
Jordan_Ujcbitter: Try "sudo ip route add default via 192.168.0.1 dev DEVICE"04:04
jcbitterlooks like it doesnt want to work, i'll go with your first advice and get the packages on my arch box and pass them via usb04:05
bex"hexdump" could not be found. "mawk v1.3.3" has known bugs. Install mawk v.13.4 or newer or use gawk instead.04:23
bexthis when trying to run boot info script04:23
bexcouldnt install gawk because it wants me to put in an ubuntu cd but i only have it on a usb stick04:23
Jordan_Ubex: Comment out the CD entries in /etc/apt/source.list then "sudo apt update" then "sudo apt install gawk".04:26
=== r0Oter is now known as r00ter
Cobraxis systemd evil?05:17
leventelhi05:21
leventelI'm going to install a base Ubuntu system and then install and config as much as possible with ansible05:22
leventelI tried to install Ubuntu desktop with LVM, but I couldn't start the installer in advanced mode05:23
leventelso I've installed server edition instead, now how can I set up my wifi from cli just to clone my config repo from github?05:24
leventelI have ip and iw commands, but nothing network manager, etc05:24
leventelI can see the wlan nic with 'ip link'05:26
Jordan_Uleventel: See "man nmcli" for how to add connections via nmcli.05:29
leventelJordan_U: thanks, but I have not installed nm yet05:31
leventelJordan_U: should I install it at the base server installation?05:31
Jordan_Uleventel: It's up to your requirements when you install it as far as I can tell.05:38
leventelJordan_U: it seems to me that wpa_supplicant is a necessary at least... thanks for your help05:41
Jordan_Uleventel: You're welcome.05:43
=== juboxi is now known as jubo2
WaddupHi, Can anyone help me? I have ubuntu 14.04 lts samba server and wanna make guest users to connect to shared folder but also wants to give 2-3 people with account limited access to it. Network users will be on pc and mac07:34
NinjaKirbyGreetings, I'm having a bit of trouble with an Nvidia Multi-Monitor setup on Lubuntu v16.04.2 (I have been to #Lubuntu, hehe). I don't mind whether I use two Xscreens or just one, but I need to span a wallpaper between both screens, and have both screens function after login. Currently the best I have is one Xscreen with a tiled wallpaper, but the secondary monitor disables *after* I've logged07:58
NinjaKirbyin.07:58
NinjaKirbyAt the login screen, everything appears to function fine. No amount of toiling with xorg.conf has remedied the issue thus far.07:59
NinjaKirbyThe fact it seems to work flawlessly at the login screen, suggests (in my limited experience) there is a file hiding somewhere within my User account that's over-riding /etc/X11/xorg.conf08:05
adacGuys, my displaylink stopped working after a kernel upgrade. I see the two monitors that are attached, but the when I wan tot move windows over to the monitors they are not seen08:06
adac*not shown08:06
adacI'm on ubuntu 16.04. Does anyone have experience with displaylink on ubuntu?08:06
=== JanC is now known as Guest77859
=== JanC_ is now known as JanC
ubonehello, in gnome when you press super can you find files by file-name if in-file cache is disabled in tracker?08:11
=== Attoy_ is now known as Attoy
kksdhello every one! this is a support section, right?08:18
stranglerfishhi09:11
moskovcanhey guys, have a new machine, and am torn between Ubuntu LTS and Debian 9. Both LTS, what would you say are advantages and disadvantages? Or Ubuntu's strenghts compared to Debian? Thanks for your help in making this choice!09:15
WoLfAfter updating 16.04 to 17.04, my console does not turn off screen anymore. Used to automatically blank the screen after 5 minutes of inactivity. Trying to google this just leads to people wanting to disable that. Can anyone help me with this?09:16
WoLfI'm having so many issues after 17.04, it's making me really frustrated.09:16
moskovcanIs HWE included in every normal point release for Ubuntu? For example, does the update automatically include HWE  on a normal ubuntu desktop ISO?09:17
ducassemoskovcan: you can see how it works here - https://wiki.ubuntu.com/Kernel/Support?action=AttachFile&do=get&target=Ubuntu+Kernel+Support+Schedule.svg09:19
moskovcanducasse: so that basically means a new kernel every normal point release? am i seeing this right?09:25
moskovcanah, forget it, see it already09:26
moskovcanducasse: aaaah , i think i get it now. If you install only 16.04, not a point release, you don't get HWE, but if you install a point release, you get HWE and it is enabled automatically?09:27
ducassemoskovcan: exactly. 16.04.3 contains the kernel + x stack from 17.04 etc09:28
ducasseand will be upgraded to 16.04.4 automatically when that is released09:28
WaddupHi, Can anyone help me? I have ubuntu 14.04 lts samba server and wanna make guest users to connect to shared folder but also wants to give 2-3 people with account limited access to it. Network users will be on pc and mac09:29
kostkonmoskovcan, if you install 16.04.2 you will get the newers stack automatically09:29
kostkonmoskovcan, or 16.04.3 for that matter09:30
moskovcanthanks for your help. And basically, the iso that's available by default for download is a point release?09:32
saryWaddup: have you seen # https://help.ubuntu.com/community/Samba/SambaServerGuide09:32
kostkonmoskovcan, yes, 16.04.3 since yesterday09:33
moskovcanthanks kostkon: and, hipothetically, when 18.04 is released, what do you have to do to upgrade it to a point release? is there a dialogue window askign you or something?09:34
ducasse!hwe | moskovcan you do this09:34
ubottumoskovcan you do this: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack09:34
Waddupsary ill go check it now thank you :)09:35
kostkonmoskovcan, exactly09:36
moskovcanubottu: thanks, and after installing by the mentioned command, you are from thereonafter automatically updated09:36
ubottumoskovcan: I am only a bot, please don't think I'm intelligent :)09:36
moskovcankostkon: it was meant for you :)09:36
kostkonmoskovcan, you wil get a dialogue asking you if you want to upgrade to 18.0409:36
moskovcanand one final question: after the canonical layoffs, is ubuntu still invested into desktop?09:37
kostkonmoskovcan, upgrade 18.04 to a point release? it will happen automatically through your regular updates afaik09:37
WoLfAny takers? how to re-enable console powersave screen off lost after upgrade?09:37
xorpadwhen is 18.04 coming out?09:37
moskovcanxorpad: end of april 2018 :)09:38
xorpadAlso, anyone else excited about the new binutils, glibc, and gcc that came out yesterday?09:38
xorpadwhat!?!?!09:38
xorpadI can't wait that long09:38
xorpadgcc 7.2 RC2 has a bunch of my code in it, so i'm really happy to see it released09:39
ducassekostkon: no, you need to install the packages mentioned in the hwe link to get the hwe stack, or it will remain on the original stack09:39
moskovcankostkon: yes, that's what i thought, i meant for hwe for 18.04. If i install 18.04 next april, i have to manually enable hwe?09:39
moskovcanducasse: and when i once install it manually, it will also be alway updated when a new point release occurs?09:40
ducassemoskovcan: exactly, same as for 16.0409:40
Waddupsary: there is only adding users here, Im wondering if you can add users while allowing guests also on a single share folder ?09:41
moskovcanthank you all09:42
moskovcanit's now clear09:42
moskovcanand is ubuntu still invested in desktop ?09:43
ducasseof course09:43
moskovcanthank you, that's good to hear09:44
moskovcanI've been torn between debian and ubuntu, but HWE is something that's very convenient for a desktop user09:44
ZtaWhat's the best way to share a directory on a linux server over a network to a linux desktop for read-only?  nfs? samba? sshfs?09:45
tomreynZta: sftp, or compress and http(s)09:48
=== bazhang_ is now known as bazhang
ZtaI basically want to mount a directory fill of images and movies09:49
ducasseZta: i use both nfs and sshfs here at home09:49
tomreynoh you want to mount it, then use nfs09:49
ducasseZta: if security is not that important, then nfs is nice09:50
Ztanfs tends to rot and die. I don't have any happy memories with nfs. Nor samba for that matter.09:50
xorpaddoes anyone know when/if Ubuntu is going to recompile everything for ryzen?09:50
Ztasecurity isn't important.09:51
ducasseZta: rot and die?09:51
xorpadubuntu packages are compiled with gcc 5.4.0 right now. 6.3.0 or greater is needed to prevent segfaults during heavy multitasking loads09:51
ZtaOne day it works. Stop using it for a few month, return and it has stopped working.09:52
Waddupbasically i just wanted windows users to login to the shared folder by guest accounts and mac users by certain usernames. i tried adding "user only = username" and guest only = yes in the same shared folder but both cant login09:52
ZtaI'll try this first: https://github.com/dperson/samba  Then nfs perhaps.09:53
WoLfIs it possible that I always find issues nobody knows how to answer? =\09:55
samgoodyHi. I have a ubuntu server.09:56
samgoody It suddenly started spiking to 100% CPU usage yesterday, and the socket connections in PHP-fpm started timing out09:56
samgoodyI restarted the server, and since then CPU occassionally spikes to about 50% whereas before it was never above 10%. And the connections are dropping even when the CPU is not so high09:57
samgoodyI dont know anything that was done that could have caused the change.09:57
samgoodyI tried using the tools I know of (top et al) and the new relic stats I have, but they all show that combined all process really are always below 50% CPU, and they dont show anything about connections09:58
samgoodyAre there any recomended tutorials for debugging this sort of stuff09:59
KrisDouglasHello, has anybody had any issues running ubuntu 17.04 as a virtualbox guest10:00
KrisDouglasI am having no end of issues getting the vbox guest services running properly10:00
tomeaton17_When doing apt-get update I have a repository that is unsigned how do I get rid of it10:06
KrisDouglashave a look in /etc/apt/sources.list or /etc/apt/sources.list.d and remove the offending repo10:07
KrisDouglasor look into finding the appropriate keys for it10:07
tomreyntomeaton17_: identify the repository by it's url / the warning given in "apt-get update" output (maybe check against "apt-cache policy"), then remove the repository from either /etc/apt/sources.list.d/ or the respective lines off /etc/apt/sources.list (but it should not be in this file really)10:08
tomreynif the warning is that the repository is unsigned then there are no keys for it10:09
tomreynif the warning is that you lack the keys to check its authentiticy then get the keys10:09
tomeaton17_No its the repository, I just used it ages ago to install shadowproxy but thanks I got rid of it now10:10
tomreynsamgoody: what changed between when it worked well and now? what you discuss sounds very much like changed (php web) application code.10:12
tomreynsamgoody: to inspect which software updates were installed when you can check in /var/log/apt/term.log*  - correlate timing to the output of 'last' (or /var/log/auth.log) if you want to understand who or which mechanism installed them.10:14
save_meHi10:16
tomreynsamgoody: if it turns out that an application code change may have introduced the lad spikes then look into debugging your web application, which is not really on topic here (ask in #php, look into kcallgrind etc.)10:16
save_meWhy does sometimes a command shows usage even though syntax is correct10:16
save_me?10:16
tomreynhi save_me. it usually doesn't which command does?10:17
tomreynit usually doesn't. which command does?10:17
save_metftp10:17
tomreynwithout any arguments?10:18
save_meanyhow10:18
tomreynsave_me: when i run 'tftp' from package 'tftp' without arguments i get the Commmand line interface10:20
tomreynWoLf: maybe you just need to repeat them occasionally or ask at a different time of day.10:24
Waddupcould anyone tell me if its possible? having guest users and users created to access one same shared folder on samba?10:25
tomreynWaddup: i think you can configure twho shares with different authentication configurations which provide access to the same file system locations10:27
tomreyn*two10:28
Wadduptomreyn: wouldn't that make a conflict? I tried adding "user only=username" & "guest Only=yes" lines below the shared directory but none worked.10:29
=== kostkon_ is now known as kostkon
tomreynWaddup: why a conflict? and no, i don't think you can mix guest access and authenticated access on a single share, at least not 5years ago when i last worked with samba ;)10:33
=== tomeaton17_ is now known as tomeaton17
BluesKajHey folks10:41
saryHiya10:43
BluesKajsary, Hi10:44
mas886I'm getting "Subquery returns more than 1 row" The weird part is that the sub-query that returns "multiple rows" have a parameter from the general query that should prevent that multiple row returning.10:48
mas886That shouldn't go here, sorry10:48
pelussohello everybody!11:16
pelussoa question: I am trying to install the best possible graphics driver for 3D on my ubuntu 16.04, "lspci" lists "Intel Corporation Haswell-ULT DRAM Controller",11:16
pelussocan I just install de nvidia driver? I don't understand if it is compatible or not (excuse my ignorance)11:16
pelussoIntel's Graphics Update Tool doesn't have very good reviews11:18
mas886pelusso: ubuntu should come and update to the lastest supported driver version automatically.11:19
pelussothanks mas886, but it isn't doing a good job with the 3d11:20
pelussoI'm trying to use Equinox 3D11:21
mas886intel integrated GPUs generally won't perform well on 3d intensive stuff.11:22
pelussoI found lots of forums recommending to install the nvidia driver...11:22
mas886But you can always try updating Mesa drivers11:22
BluesKajpelusso, open a console and run this, lspci -k|grep -iEA5 'vga|3d, then paste the output in pastebin11:22
pelussoor what is your recommendation?11:23
ilyaigpetrovHi. Why checksums are distributed not over https bu over http: http://releases.ubuntu.com/17.04/ ?11:23
ilyaigpetrovI guess because "https" security is flawed and admins don't want users to be deluded. But how is it flawed?11:30
pelussothe code is not doing anything, just hangs up with >11:32
CorneilleHi guys, there is something i don’t understand about apache virtual host. How can i get my website to appear as http://www.mydomain.com? Which ServerName or ServerAlias should i use? Thanks!11:32
ilyaigpetrovCorneille: do you need it only for testing or in production?11:33
leeyaahello11:34
leeyaahow to enable iptables extensions on 16.04 lts?11:34
CorneilleI would like this for production.11:34
leeyaathere is no package iptables-extensions11:34
leeyaai need ip_conntrack_max and so on11:34
ilyaigpetrovCorneille: did you try searching apache chat room?11:36
BluesKajpelusso, copy and paste this   lspci -k|grep -iEA5 'vga|3d11:36
Corneillei'll try thanks11:37
BluesKajoops  sorry pelusso  lspci -k|grep -iEA5 'vga|3d'11:37
pelussojajajaj that made the trick BluesKaj11:39
BluesKaj!pastebin | pelusso11:39
ubottupelusso: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.11:39
ilyaigpetrovCorneille: /msg alis list httpd11:40
BluesKajpelusso, let's have alook at your hardware and drivers on pastebin11:41
pelussohttps://pastebin.com/XfXyiFHG11:41
BluesKajpelusso, do you have this installed?  libegl1-mesa11:46
BluesKajit's required for  3D rendering11:48
esuohrDhi all is this the right place to ask questions?11:51
pelussoyes, terminal says it is in its newest version11:52
BluesKajesuohrD, yes11:54
esuohrDIm having a touch time with openvpn setup.  It keeps asking me to due the system-ask-password thing  but if I use that command nothing happens.  I just keeps asking me.11:55
esuohrDi've been folling  the directions on the htpcquides website11:58
BluesKajesuohrD, did you install network-manager-openvpn11:58
esuohrDno.  just  the openvpn.  Im running mint on a raspberry pi3, command line only.11:59
BluesKajesuohrD, then you have to add the server provided .ovpn files to /etc/openvpn12:01
hateball!mint | esuohrD12:02
ubottuesuohrD: The Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle)12:02
esuohrDhmm ok.12:02
=== KindTwo is now known as KindOne
bipulHi12:16
bipulI have "Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter" And i am geeting frequent network disconnection issue.  Sometimes wifi does not work.12:18
bipulI have tried installing https://github.com/lwfinger/rtlwifi_new.git , but still hard luck.12:18
sarybipul: in different terminal tab/window run: tail -f /var/log/syslog , and tail -f /var/log/dmesg , then try to connect , paste the result into this forum in http://sprunge.us/ . also, what does dmesg | grep rtlwifi shows!12:28
bipulok.12:28
Waddupcan anyone help? what string should i add to be able to set user and guest to access single shared folder by samba?12:35
saryI don't like Broadcom , Ralink , or Realtek.. the forums is full of issues with these.  Intel's and Qualcomm Atheros are the best! bipul12:38
saryWaddup: Are you on a server or a desktop !12:38
Waddupsary: im using Ubuntu 14.04lts Server12:38
=== the_ant1 is now known as the_ant
tomreyn<tomreyn> Waddup: i think you can configure two shares with different authentication configurations which provide access to the same file system locations12:45
tomreynWaddup: do you remember this conversation from before you got disconnected?12:45
tomreynyou can review how it contineud on http://irclogs.ubuntu.com12:46
Wadduptomreyn: yes i actually answered to it "tomreyn: wouldn't that make a conflict? I tried adding "user only=username" & "guest Only=yes" lines below the shared directory but none worked."12:46
Wadduptomreyn: im thinking it is possible its just that i have wrong line inserted.12:46
tomreynWaddup: and then i responded again, which you probably did not get to see, yet, since your connection dropped. which is why i'm pointing you to irclogs.12:47
Wadduptomreyn: yeah saw it just now. the thing is im not very knowledgeable in this field so you think adding "guest=yes" and "user=username" would work? or do i have the wrong line to insert?12:49
saryWaddup: So your best bit is to tweak the smb.conf. shouldn't be guest ok = yes ,  how does your smb.conf looks like!12:49
tomreynWaddup: you want a combination of "valid users = ...", "guest ok = yes" and (optionally) "guest account = ...". you do not want to use "guest only", unless you split it up into two shares. also, guest account generally requires share-level security, so be sure to enable that.12:55
tomreyni.e. security = share12:56
tomreynactually, use "username = ..." instead of "valid users = ..." with ahre-level access12:58
pelussoMaybe I'm searching in the wrong direction, this is what the website of Equinox 3D says:13:08
pelusso"Please, install the proper graphics driver for your system. The one provided by the manufacturer of your graphics hardware (NVidia or AMD).13:08
pelussoThe default driver on most Linux systems (Mesa) does not support proper 3D graphics!13:09
saryMesa doesn't support 3D .. what!13:10
pelusso:s13:11
save_mehey on tftp command for accessing a file server says access violation13:11
hateballBy proper they may mean certain GL_ functions13:12
save_mebut on server file perm is 77713:12
hateballThese days Mesa is mostly up to par tho, so13:12
save_meand chown is to nobody13:12
save_meany reason ?13:12
pelussobut the program is not working correctly, so I thought that should be the reason13:13
hateballpelusso: well, what chipset are you using?13:14
hateballpelusso: for AMD there is really nothing but mesa, for nvidia the binary blob usually works better than nouveau for most things13:15
pelussowhen I draw anything, it won't show13:17
pelussohow can I check my chipset?13:17
hateballpelusso: lspci|grep VGA13:17
saryor inxi -G13:17
hateballWell inxi isnt installed by default :)13:17
Wadduptomreyn: thankyou !13:18
pelussoIntel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)13:18
sarywhich app is that pelusso ..13:18
sarytrue hateball :)13:18
pelussois Equinox 3D13:18
bipulsary: Here is the log  https://paste.ubuntu.com/25239894/13:19
hateballpelusso: so, what chipset are you using?13:20
hateballpelusso: this string will give even better output: lspci -k | grep -EA3 'VGA|3D|Display'13:20
hateballshows you what kernel module is used as well13:21
Wadduptomreyn: would this work? https://paste.ubuntu.com/25239903/13:22
pelussohttp://paste.ubuntu.com/25239906/13:22
danslocan anyone suggest a simpler gimp alternative? krita pulls in about a billion kde/qt dependencies, and pinta does the same but with mono13:23
dansloI just want a gtk/gnome version of those :P13:23
pelussoI also tryed installing nvidia current drivers, but it didn't do anything, just slowing the laptop down13:23
hateballpelusso: uh... that's only an intel card13:24
hateballthere's no nvidia card in your paste13:24
=== br00tal1 is now known as br00tal
pelusso:(13:25
kostkondanslo, you could install the snap version of krita which is self contained13:26
hateballpelusso: what does "glxinfo | grep "OpenGL version"" say?13:27
hateballpelusso: heh, I just tried the app (I use intel also) and I can draw lines, they just dont show when you draw. Press F5 after and they appear13:30
hateballthe whole app looks... not awesome13:30
pelussosays OpenGL version string: 3.0 Mesa 17.0.713:30
hateballthat's good13:30
sarybipul: you didn't try to use wpa_supplicant manaually , and connect through network manager, right! and you're not roming between 2,5GHZ bands!13:30
bipulI have "Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter" And i am geeting frequent network disconnection issue.  Sometimes wifi does not work. I have tried installing https://github.com/lwfinger/rtlwifi_new.git , but still hard luck.13:31
hateballpelusso: I am not sure what this program does that Blender doesnt13:31
hateballpelusso: But at least Blender works like it should13:31
bipulsary: How did you know? "you're not roming between 2,5GHZ bands" ?13:32
pelussojajajajja is the best I've found for my CAD needs13:32
pelussoI discarded blender because it was focused on the 3d part, and not on the CAD13:33
hateballpelusso: I see. Well I dont really know much about CAD tbh. I know there are some online tools like TinkerCAD13:34
pelussobut if you think blender will do for drawing plans and stuff, I'll give it a try13:34
hateballpelusso: there is also FreeCAD13:34
oerheksnice page about cad https://help.ubuntu.com/community/UbuntuEngineering#CAD13:37
oerhekslast edited 2017-04-1213:37
pelussoI used FreeCAD, but was trying to improve the experience. I'll give it a second chance13:38
pelussoI'll check the info on the link13:39
pelussothanks guys13:39
oerheksFreecad is among them13:39
espyespeonageI want to run a python3.5 script on boot of my system. I have got a working init script in /etc/init.d/servicename but I want to be able to respawn it on process failure. I read that I might need to make a file in /etc/systemd to do this but... does this replace the init script? And if so, how do I uninstall said script so I don't get two instances pop up13:40
pelussothere's also the brl-CAD, I'll try them13:40
espyespeonageI really don't want to have to write a cronjob to do it, as that feels messy.13:41
hateball!systemd13:42
ubottusystemd is the default init system for Ubuntu 15.04 onwards. For information on transitioning from upstart to systemd, see https://wiki.ubuntu.com/SystemdForUpstartUsers For a guide to basic service management with systemd, see https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units13:42
espyespeonage@hateball thanks, but I was wondering if someone could talk me through it, as I am doing it over SSH on a headless remote machine, so if I mess anything up...13:45
hateballespyespeonage: ah, then I am not the right person at any rate :)13:47
sarybipul: the logs shows, #see http://sprunge.us/AbJL13:48
ducasseespyespeonage: if you look at the arch wiki page for systemd, there are example service units you can use13:50
espyespeonagehateball no worries! ducasse thanks!13:51
Akuwhi, i am trying to mount a USB harddisk, wrong fs type, bad option, bad superblock on -dev-sdb13:52
bipulok sary thank you.13:53
Akuwi am suing mount /dev/sdb /media/samsung13:53
Akuwif i specify -t vfat still got same error13:53
ducasseAkuw: what if you use sdb1 instead of sdb?13:54
himomhello14:00
himomI wrote Ubuntu iso into my pendrive with startup disk creator, but now the pendrive is read only and I can't even format it anymore14:01
himomhow can I change that?14:01
sarybipul: I don't think it's a driver issue , but #see https://github.com/lwfinger/rtlwifi_new/issues/18314:02
oerhekshimom, plugout/plugin and try again with gparted14:02
himomoerheks: I plugged it in and out and that didn't help. Do you think gparted will work better than the disk utility in Ubuntu?14:03
bipulThank you sary for your kind support.14:03
oerhekshimom, that is the same tool, else you could try to dd the driver :  dd if=/dev/zero of=/dev/sdX14:03
sarybipul: You're welcome.14:04
himomoerheks: can I somehow see the progress of that? the command doesn't output anything14:07
himomoerheks: unless I stop it14:07
oerheksjust be patient, i guess14:08
oerhekszeroing a drive takes a lot longer thatn just wiping the blocks14:08
ducassehimom: yes, add status=progress to the command14:08
himomooh right ok14:08
himomducasse: thanks!14:09
oerheksgood thing is, after this you will automatic create a fresh mbr14:09
himomI will then be able to format it how I want?14:09
* oerheks loves a clean MBR 14:09
himom:D14:09
himomthe thing is I want to put Ubuntu on it and be able to add a few different kernels. I earlier used startup disk creator, but I'm worried that it will make it read only again14:10
himomand it all started with artifacts14:12
himomcan I use dd to make a live usb that will not be read only?14:13
BluesKajhimom, yes, make sure you unmount the usb before running dd. and of=/dev/sdX ,not sdX114:16
oerhekswait, live usb is read only...14:17
himomdamn14:17
oerheksonly if you add a persistence part, that would be writable14:17
himomhow am I supposed to add new kernels to it then?14:17
save_mehi14:17
oerheksnot14:17
oerheksagain, you need an installation to add kernels, not the installer usb,14:17
himomso I can't add another kernel to live usb? what if I modified the iso?14:18
BluesKajhimom, why would you do that? add kernels after the insatallion , not before14:18
himomBluesKaj: I don't want to install the OS, I only want to test if a certain kernel is causing issues14:18
BluesKajhimom, you'd have to find a way top add the kernel to the live iso14:19
himomI see. Does anyone know how to do that? How to edit the iso?14:20
oerheksthere used to be uck, but it is a dead project for years14:21
oerheks!uck14:21
ubottuuck is a tool that helps you customise official Ubuntu Live CDs (including Kubuntu/Xubuntu and Edubuntu) to your needs. See http://uck.sourceforge.net/14:21
oerheksfactoid should be removed14:21
himomI will try using uck14:22
oerheksthere is Cubic, but that needs an installation to create .. still you could end up with garbage, when the kernel does not meet the installed packages ..14:23
oerhekshttps://askubuntu.com/questions/741753/how-to-use-cubic-to-create-a-custom-ubuntu-live-cd-image14:23
oerheksanyway, i am not going to try this, as it seems useless to me.14:24
BluesKajhttp://www.wikihow.com/Create-an-ISO-File-in-Linux14:24
EriC^^nux14:25
BluesKajold tuts for cd/dvd14:25
saryhimom: there is https://help.ubuntu.com/community/LiveCDCustomization , but why would wnat to go through all this, install and test different kernels on the system just make sure there is enough space in/for /boot .14:25
oerhekssary, that is uck = dead project14:25
Adam-MDid anyone here ever try to use Ubuntu on a 2017 MacBook Pro (with Touch Bar)14:26
himomsary: remember my problem with artifacts? I don't get them on 16.04.1, get them only partially on 16.04.3 and get a lot of them on 17.04. I'm thinking it's probably the kernel, so I think I should find out which one and then file a bug report14:27
himomso I want to use a live usb with different kernels14:28
FRWB_i ran sensors-detect on 16.04 on a t530 and my gpu sensor is NA, what do14:28
SaichovskyHi guys14:30
SaichovskyI have a question14:30
Saichovskysomething to do with systemd-resolvd14:31
SaichovskyI connected to a VPN earlier today (work-related)14:31
saryhimom: Yeah, So this tells us it's the stack kerenl+xorg,etc difference bettwen these versions ..14:31
SaichovskyI was unable to access a certain hostname because it was not in my resolv.conf14:31
SaichovskyInstead, I had 127.0.0.5314:32
Saichovskyfor some reason, resolvd did not update my resolv.conf14:32
SaichovskyIt was my first time connecting to the VPN with this Ubuntu installation14:32
SaichovskySo I just disabled resolvd14:33
SaichovskyI would like to understand how to configure it to have it update my /etc/resolv.conf14:33
Saichovskywhenever openvpn connects14:33
Saichovskyany leads anyone?14:34
BluesKajSaichovsky, could be a dns problem in /etc/systemd/resolved.conf ...have you added any dns entries there?14:37
SaichovskyBluesKaj: I didn't even know of such a file. I'm sure I've never touched it14:38
BluesKajSaichovsky, it's a good place to enter your dns nameservers if you use any14:39
limbo_I'm trying to add an ipv6 gateway to my ubuntu 16.04 server. how do I get the server to discover the gateway? I am using statically configured IPs in an interfaces file14:40
SaichovskyBluesKaj how about dynamically assigned DNS entries, such as whenever I log in to a VPN or other network?14:41
BluesKajlimbo_, not using network-manager I asume14:41
himomI just checked out my /etc/systemd/resolved.conf for the first time and why is there google DNS in it? fortunatelly it's commented out, but still scary14:42
BluesKajSaichovsky, not sure, a startup scipt might work14:42
limbo_BluesKaj: I don't know what that is. It's been a long time since I set this up, and I can't remember if I edited this file manually or not.14:43
BluesKajhimom, it's there as an example ..I use my iSP suggested dns IPs and they work fine with or without vpn connected14:43
himomBluesKaj: oh that's interesting14:44
scorchon 15.10, added NOPASSWD to my username in /etc/sudoers but it's not being applied14:46
EriC^^scorch: 15.10 is eol14:47
scorchjust read topic, sorry14:47
EriC^^scorch: how did you add it to your name?14:47
scorchfirst tried vim, then visudo14:47
scorch 22 scorch  ALL=(ALL) NOPASSWD: ALL14:47
scorch22 is the line number14:47
EriC^^that looks right14:48
EriC^^did you log out and back in?14:48
scorchno, from googling it seems next time sudo runs it checks the file14:48
EriC^^!eolupgrades | scorch check here btw on how to upgrade14:48
ubottuscorch check here btw on how to upgrade: End-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades14:48
scorchcan't I restart a service?14:48
EriC^^scorch: ah right14:48
scorchif it's a 15.10 thing I'll upgrade first then ask again if it persists lol14:49
BluesKajlimbo_, https://askubuntu.com/questions/616856/how-do-i-add-an-additional-ipv6-address-to-etc-network-interfaces14:49
EriC^^scorch: no it's not a 15.10 thing14:49
EriC^^scorch: try putting the entry before %sudo in case your user is a part of the group, maybe it goes over the stuff consecutively14:50
EriC^^scorch: on 2nd thought i dont think that's it, no idea though14:50
scorchit is before sudo group14:50
EriC^^scorch: does "sudo -l" mention anything about it?14:51
scorchUser scorch may run the following commands on stink: (ALL) NOPASSWD: ALL (ALL : ALL) ALL14:51
scorch(two lines)14:51
scorchone with NOPASSWD one without14:51
EriC^^odd14:53
scorchEriC^^: I'll just upgrade and see if it helps, didn't realize it was old, haven't gotten a single notification about it14:56
EriC^^scorch: alright14:56
scorchheh, this might be why I've gotten no notices: "$ sudo do-release-upgrade[newline]Checking for a new Ubuntu release[newline]No new release found"15:06
saryscorch: in software sources > updates -> release uograde .. which option is it set for there!15:13
scorchsary: any15:16
jellyHi, I have a laptop with ubuntu 16.04 lts installed.  What's the correct way to configure /tmp to be its own mountpoint, with a tmpfs or ramfs filesystem?15:16
scorchsary: and release-upgrades said Prompt=normal15:16
scorchno stackoverflow tips seem to make a difference15:17
saryscorch: which version you on..!15:23
scorchsary: EOL, 15.1015:23
scorchtrying to upgrade15:24
nacc!eolupgrade | scorch15:24
ubottuscorch: End-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades15:24
naccscorch: you have to go through the above route15:24
saryscorch: in release-upgrades set prompt to lts , make sure you do sudo apt update && sudo apt upgrade15:24
scorchsary: but I don't need lts, any is better for me;15:25
scorchor you want me to try?15:25
jellyI'll try "cd /etc/systemd/system; ln -s /usr/share/systemd/tmp.mount" first.15:25
naccjelly: not sure i understand. /tmp is already a mountpoint (a mountpoint is just any path)15:26
naccjelly: and to put a tmpfs on it, you can just edit /etc/fstab15:26
saryscorch: is there "any" release between 15.10 and 16.04 !15:26
naccsary: no.15:26
scorchcan't upgrade to 17.04 directly?15:26
naccscorch: no15:27
scorchwouldn't "any" qualify as 16.04 as well?15:27
SaichovskyBluesKaj: I found this https://github.com/jonathanio/update-systemd-resolved15:27
sarynacc: trying to tell him that..15:27
SaichovskyLet me reboot and see how it goes15:27
tgm4883scorch: the fact that you're on an unsupported release makes me believe you don't upgrade all that often, which would make me point you at LTS rather than any release15:27
tgm4883since an LTS is supported for 5 years and any other release is only supported for 9 months15:28
scorchtgm4883: thing is I've never gotten a notice about a new versino so never thought about it. My other ubuntu installations I've upgraded because they've notified me15:28
scorchactually never since 15.10 (I started on 13.04 on this machine it seems)15:28
scorchsary: changed to lts, still says "No new release found"15:29
jellynacc, it's not really a mountpoint until there's a filesystem mounted there, and editing fstab might be suboptimal or not needed at all.15:29
tgm4883scorch: which is neither here nor there. You need to follow the EOL path now15:29
jellyfor the record: "cd /etc/systemd/system; ln -s /usr/share/systemd/tmp.mount" worked!  After a reboot, I now have a15:30
jellytmpfs                  8155672        4   8155668   1% /tmp15:30
jellywith correct permissions (sticky bit)15:30
saryscorch: well, that's strange .. you're connected to the network right!15:37
oerheks!eolupgrade15:38
ubottuEnd-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades15:38
oerheksjust edit to deb http://old-releases.ubuntu.com/ubuntu/ and run update / upgrade again15:39
MWMI am getting a permissions error from firefox when installing an add on.  When I open firefox from terminal with sudo I can install the add on, but it does not persist without opening in terminal15:41
EriC^^MWM: try setting the permissions of your home dir back to original, "sudo chown -R $USER: ~/"15:42
EriC^^close firefox first15:42
Dan39hi, new to ubuntu 16.04, experienced with linux in general... was playing around as a user, using xfce(xubuntu install), when i noticed a message from upstart... huh!? i thought 16.04 was systemd... what is going on here? it looks like upstart is running for managing user stuff? is this like systemd --user? what is going on here? :(15:42
oerheksMWM, what ubuntu version, firefox version and what add-on?15:43
MWMoerheks: Kubuntu 17.04, Firefox 54.0, and Flashgot15:43
scorchsary: might be a china issue; couldn't connect to old-releases.ubuntu.com. Have vpn on now and it seems to do better just crazy slow15:45
MWMGoing to try EriC^^'s solution.  I will stop back in after restarting firefox15:45
Dan39not having much luck googling about this either... -_-15:46
oerheksMWM, "No longer works with Youtube" and last update 11-2016 .. https://addons.mozilla.org/en-US/firefox/addon/flashgot/15:46
oerheksFlashGot doesn't work with Firefox 54.015:46
oerheksetc15:46
Dan39i really hate to see upstart on here... :|15:47
oerheksDan there is still this upstart thing during transit to systemd, on user basis, systemd takes over system services15:48
oerheksso it is perfectly alright, i guess15:48
Dan39sounds like a cluster -_-15:49
dedzeHello, I have a question, I entered 'top' in the terminal (ubuntu 16.4), and I saw a process that disapeared fast that was run by user 'message+', what is it?15:49
MWMthat is a handy one for fixing permissions and it fixed the issue.  I cant imagine how the permissions were broken, but that is a topic for a different day I guess.  Thanks15:50
Dan39whoever thought it was a good idea to leave both systemd and upstart running by default needs to be beaten15:54
scorchdoing release upgrade at a wooping 2.6kbps15:56
EriC^^scorch: is your internet usually that slow?15:58
dedzeCan someone help me understand what is message+ in the process list? It keeps appearing and disappearing periodically.   http://imgur.com/a/DnVW716:01
dedzepavlos: hi16:03
pavlosdedze: hi there16:03
dedzepavlos: Can you help me with something please? http://imgur.com/a/DnVW7    in this image, does the 'message+' user mean anything bad or is it normal? I cant find much about it on google16:04
pavlosdedze: I seea top screen, message+ is the user running the process dbus-daemon. Dont see an issue16:06
dedzepavlos: I mean, is it legit?? I never created such a user on my laptop!16:06
pavlosdedze: try a reboot and see if that persists. I'm rebooting mine to compare16:09
dedzepavlos: Thank I'm doing this16:09
SaichovskyI'd like to have an applet that executes a script in the background and give a message using notify16:09
SaichovskyIs small there such an applet?16:10
pavlosdedze: message+   817     1  0 09:09 ?        00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation16:11
pavlosdedze: as you see it runs under message+16:11
dedzepavlos: I rebooting my laptop and it's still doing it16:15
dedzerebooted*16:15
oerheksdedze, on your last screenshot, you had 2 zombies ...16:15
dedzeoerheks: what is a zombie?16:16
pavlosdedze: seems the user is messagebus (if you look in /etc/passwd) but is truncated to message+16:16
oerhekszombie = uncontrolled runaway process/child16:16
oerheksdedze, are they still there ?16:16
dedzeoerheks: I dont know what it means, I will do a new screenshot16:17
pavlosdedze: if you just rebooted, there should be no zombies16:17
seen_dedze:  messagebus is mentioned on http://manpages.ubuntu.com/manpages/trusty/man1/dbus-daemon.1.html16:17
dedzeoerheks: pavlos http://imgur.com/a/6Br4W    new screenshot16:18
pavlosdedze: zero zombies, good16:19
oerhekslooks alright, skype uses a lot of systemresources though16:19
pavlosdedze: https://en.wikipedia.org/wiki/Zombie_process16:20
dedzepavlos: oerheks Are zombie process something I should learn about ASAP or is it not important?16:20
dedzepavlos: Thanks16:20
oerheksIt is good to know about it, when your system responds slowly16:20
dedzeoerheks: Actually I'm always so paranoid about someone remotely controling my laptop, not so worried about slow laptop hehe16:21
oerheksinstall gufw, and turn your firewall on in systemsettings16:22
dedze oerheks I did sudo ufw enable, is it the same?16:23
pavlosdedze: sudo ufw status16:23
dedzeOk wait I need to change user account, I cant use sudo with this one16:24
oerheksit is enabled by default, without rules AFAIK16:24
oerheksgufw is just a gui with some standard rules for the most common tasks16:24
oerhekshttps://help.ubuntu.com/community/UFW16:25
dedzepavlos: ufw is active16:29
saryscorch: why connect to old-releases.ubuntu.com in the first place ! connecting through vpn might break .16:31
pavlosdedze: read the link oerheks gave to familiarize yourself with ufw16:32
njs126How do I show my grub boot options during boot time?16:32
njs126The boot process is hidden16:33
sarynjs126: ESC , or right shift.16:34
dedzeOmg pavlos I saw a process ran by user rtkit, is it a rootkit? :'(16:34
njs126sary: ok16:35
pavlosdedze: that's Realtimekit, a dbus service16:35
oerheksno rootkit would name itself rtkit :-D16:36
imbezolhow can i find out if and when the 4.10.1 kernel will come to 17.04?16:37
leventelhi16:38
dedzepavlos: oerheks  Basically what would be suspicious in top?16:39
imbezolor even 4.11?16:41
oerheksimbezol, no idea about that, 4.10.x ... i guess 4.11 only appears in the next 17.1016:42
oerheksdedze, depends per configuration, zombies, high cpu use..16:43
oerhekson yours, i would say: kill skype, it takes 30% +16:43
pavlosdedze: security is a big subject, I dont think 'top' tells you much. You can type 'who' which tells you who logged on and when, you can tighten with ufw.16:44
snowwebPlease guys I downloaded  kernel 4.4.25 on my Ubuntu 16.04 then deleted it and that messed up my grub , I went ahead to run grub-install /dev/sda on my Kali Linux since I happened to have both installed and the new grub didn't show Ubuntu in the menu, any help please¯\_(ツ)_/¯16:46
njs126sary: That worked and how do I ensure I can run sudo commands?16:46
dedzepavlos: Oki thanks, also when I was using windows, like a few months ago, I opened a port on the routeur for a game, could someone have installed a malware on my routeur?16:46
oerhekssnowweb, 1. that kernel is not supported on 16.04, and we surely do not support kali16:47
oerheks!kali16:47
ubottuThe Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle)16:47
snowweb Please guys I downloaded  kernel 4.4.25 on my Ubuntu 16.04 then deleted it and that messed up my grub , I went ahead to run grub-install /dev/sda on my Kali Linux since I happened to have both installed and the new grub didn't show Ubuntu in the menu, any help please¯\_(ツ)_/16:48
pavlosdedze: routers can be compromised so if you dont play anymore, close that port16:48
BluesKajsnowweb, run sudo os-prober then sudo update-grub16:48
snowweb@oerheks is there any way out of this mess?16:48
oerheksBluesKaj, he messes up with kali and ubuntu, and should stick with ubuntu + update grub ..16:48
sarynjs126: run sudo for/from where .. are you in recovery mode!16:48
snowwebShould I run these codes on an Ubuntu LiveCd or on Kali Linux??16:49
njs126sary: No we got linux workstations at work and I'm trying to ensure I can run commands on behalf of root :-)16:50
oerheks.. kali ?? lolz16:50
njs126lol16:50
snowwebPlease I can't access my Ubuntu on the new grub I installed16:50
sarynjs126: well ok, that's what sudo is for.16:51
njs126sary: Thanks16:52
stokkelandwhy?16:54
BluesKajsnowweb, can you ssh into ubuntu from your phone,? that would be the best methos16:55
BluesKajmethod16:55
snowwebHow would I go about that??16:55
drewbertHello friends.  I'm having an issue with apt. Every time I run any command it starts running some mysql-server upgrade, which fails, and then thing I tried to do never happens.  I can't even purge mysql-server because apt starts a mysql_upgrade before the purge.16:57
dedzepavlos: how do I know if my routeur is compromised?16:58
drewbertWhich fails, so my apt-get remove --purge mysql-server never happens.16:58
drewbertHow can I stop apt from performing a mysql_upgrade before doing the command I tell it to?16:59
lotuspsychjedrewbert, have you added external ppa's of any kind?17:01
pavlosdedze: I assume you can change pw on router often, you can monitor traffic, firmware loaded, ... search for "router compromise"17:01
oerhekssudo systemctl stop mysql.service17:02
drewbertlotuspsychje: I have not. I just double checked.  There are no PPAs outside of the standard ones.17:02
drewbertoerheks: mysql is already not running17:06
naccdrewbert: what mysql_upgrade? that would imply some package is partially installed?17:07
naccdrewbert: please use a pastebin and paste the exact output and command you ran17:07
sarydrewbert: how can a package preform an upgrade without a user's input.. !17:07
drewbertHere is an example, note that this will happen for any apt-command I've tried so far http://paste.ubuntu.com/25241230/17:08
naccdrewbert: "1 not fully installed or removed"17:09
drewbertsary: look up unattended-upgrade17:09
OnkelTemhi17:09
naccdrewbert: do you need/use MySQL?17:09
drewbertnacc: yes, but you clearly see that I want to remove it, but I can't, because it's not fully installed17:09
OnkelTemDoes anybody know why Pitivi adds black borders to Top Right Bottom and Left when I just render a Video which was initially 16:9?17:09
naccdrewbert: if not, you can use dpkg (rather than apt) to remove it17:09
drewbertnacc: I do need it, but if I could uninstall it, then reinstall it, I think this problem would go away17:10
naccdrewbert: wait17:10
naccdrewbert: read the actual output "Package 'mysql-server' is not installed, so not removed"17:11
naccdrewbert: i think you want to remove mysql-server-5.717:11
lotuspsychjeOnkelTem, perhaps the #pitivi channel might know that17:11
naccdrewbert: if that also fails, use `dpkg -P`17:11
pavlosdrewbert: dpkg -l | grep mysql | nc termbin.com 999917:11
dedzepavlos:  oerheks thanks for everything guys17:14
drewbertnacc: Thanks, I removed the package with dpkg, then reinstalled it with apt., then did a apt-get remove --purge mysql-server-5.7, then reinstalled mysql-server17:14
naccdrewbert: ok17:16
Cobraxwhy do most distros have their own versions of programs?17:31
CobraxGedit, Kate, Mousepad, etc17:31
CobraxKonqueror...17:31
Cobraxit's unreal, and much of the software is unmaintained duo to fragmentation17:31
oerheksthose names correspondent with the desktop, KDE -> Kate Kbreakout, Kmnines and so on17:32
Jordan_UCobrax: That's more of a discussion for #ubuntu-offtopic.17:32
Cobraxyou want me to go to a sub-channel that barely has a 1/10th of this and waste my time talking to a wall?17:34
oerheksoh boy ..17:34
oerheksit is the spirit of the DE, develop own packages17:35
oerheksgedit - gnome edit ..17:35
Jordan_UCobrax: This channel is for productive Ubuntu support discussion only. There are many other channels where you are encouraged to discuss such things, but this isn't one of them.17:35
* oerheks wonders Konqueror unmaintained???17:35
BluesKajoerheks, still available as one of the default browsers in debian17:37
oerheksBluesKaj, i thought so too ..17:38
nicomachusCobrax: -offtopic is more active than this channel most days.17:49
oerheks!pm18:08
ubottuPlease ask your questions in the channel so that other people can help you, benefit from your questions and answers, and ensure that you're not getting bad advice.18:08
gabrielchi. anyone have problems using the chrome repository?18:11
=== JanC_ is now known as JanC
gabrielchttp://dl.google.com/linux/chrome/deb returns 40418:12
oerheksgabrielc, on what ubuntu version?18:13
gabrielcoerheks: Ubuntu 16.04.3 LTS18:14
oerheksi am on 17.04, fine here.. but 16.04 just got upgraded to v318:14
oerhekswhere did you spot that 404? can you paste the update output on paste.ubuntu.com ?18:15
MWMIve never used xpad before and I am not sure if it is acting up or not.  I should be able to change note colors and move the notes around right?18:16
gabrielcoerheks: http://paste.ubuntu.com/25241606/18:17
oerheksgabrielc, i see, same happening here now with google-chrome only ..18:19
oerheksmaybe their mirror is just being updated, try again after a few minutes18:19
gabrielcoerheks: ok18:20
metaphysicianGoogle Chrome repository key changed?18:21
metaphysicianNew key 6494C6D6997C215E18:21
oerheksmetaphysician, no ifo about that, likely it is a mirror update.. key is the same btw18:22
gabrielchttps://www.google.com/linuxrepositories/18:22
gabrielcsee the command for "Command line key installation for APT"18:23
gabrielcsolved the error18:23
masloi have ubuntu 16.04 lts and I'm trying to set the time manually but it keeps on updating every few seconds18:41
masloI uninstalled ntpdate, turned off ntp18:41
maslonot sure what else to try18:41
masloany ideas?18:41
Jordan_Umaslo: Please pastebin the output of "timedatectl". Also, why do you not want network time?18:43
gabrielcmaslo: dhcp client18:45
maslocant seem to sync it up to my time18:45
masloand I can't use s3 buckets because of time difference18:45
masloso I figured i would set it manually18:45
masloill paste the output give me a second18:45
maslohttps://gist.github.com/anonymous/341c3e90f1f90c037fe396868aa28b4618:46
root_hello18:47
maslodid you get a chance to see the paste? @gabrielc18:48
maslooops, @Jordan_U18:48
gabrielcmaslo: yes. is the problem on vm?18:48
F4RR3LLhello :318:49
masloit's a vagrant box18:49
maslowindow host18:49
F4RR3LLanyone using conky here?18:49
masloI'm in Montreal (canada) currenty fri 2017-08-04 14:29:00pm18:49
gabrielcmaslo: what about vagrant's documentation?18:49
maslonot sure i didn't even think it could be a vagrant thing18:51
masloI'll look into it thanks for the thought18:51
F4RR3LLno one?: (((18:52
gabrielcmaslo: to set time use 'date' command18:52
masloyeah I used date -s18:56
masloand i also tried to set the timezoen with timedatectl18:56
maslobut ill look in vagrantfile (vagrant's config file)18:56
F4RR3LLdoes anyone knows why command use thru crontab gives another result than in terminal?18:59
F4RR3LLfor example I have a bash script to check my ip thru one address, the ip given thru terminal has another value than crontab gives when it runs18:59
F4RR3LLanyone knows why? :D19:00
EleanorEllisI tried and failed to install the native client for Google Chrome. Now when I start Chrome it says "You are using an unsupported command line-flag: --extensions-on-chrome-urls. Stability and security will suffer." I have checked the menu entry and the command to run Chrome is "/usr/bin/google-chrome-stable %U". Any idea how to fix this?19:02
pavlosF4RR3LL: ip address show gives you ip but maybe the PATH env is different when running crontab or cli19:03
=== jstein_ is now known as jstein
F4RR3LLpavlos: the bash script looks like this ip=$(curl -s https://api.ipify.org)echo "$ip" >| ip.log19:05
F4RR3LLtor is installed ofc course19:05
F4RR3LLand when i run the bash script thru terminal it gives me the hidden ip and save it in the file19:05
F4RR3LLbut when i set the bash to run thru crontab each 30mn, it saves my real ip in the file19:06
F4RR3LLwhich I dont understand the same command is setup in crontab which is: sh ip.sh19:06
fedorafanI know how to get rid of kernels, just delete them :)19:08
F4RR3LLdoes this mean that crontab does not take account that tor service is active when he fetches the ip?19:10
nacc!who | fedorafan19:10
ubottufedorafan: As you can see, this is a large channel. If you're speaking to someone in particular, please put their nickname in what you say (use !tab), or else messages get lost and it becomes confusing :)19:10
fedorafannacc its just a statement19:11
pavlosF4RR3LL: I dont use tor so cannot test ... when I'd vpn to europe, my ip would change. BTW, another way is, curl ipinfo.io/ip19:11
fedorafanI have asked for it last time what to do to get older kernel back19:11
F4RR3LLpavlos: with ipinfo.io/ip the result is the same as well. When run in terminal it displays the hidden ip, even when I go thru the website, but when command goes thru crontab it displays my real ip19:13
geirhaF4RR3LL: did you forget to paste the && between the assignment and echo ?19:13
geirhaalso, if you just want to write curl's output to a file, why do you bother with a variable and echo?19:14
F4RR3LLgeirha: u mean it should be echo:"$ip" && >| ip.log ?19:14
F4RR3LLgeirha: because im using the result into conky on my desktop19:14
geirhano, ip=$(curl...) && echo "$ip" > ip.log19:14
F4RR3LLthe conky app reads the content of the file and displays it on the desktop19:14
F4RR3LLso the content of the file in this case is the address ip19:15
F4RR3LLgeirha: ok i will try19:15
F4RR3LLgeirha: but why && since after the variable ip on the new line is the echo command?19:16
F4RR3LLmaybe i i will pastebin the scrip to make it easy19:16
geirhaalso be aware that sh is not bash; you said you had a bash script earlier, but you actually run the script with sh19:17
petohi, can you please help me with installing libindi packages?19:17
naccF4RR3LL: also always use full paths in a crontab, you don't know what PATH is set to (it's very limited)19:18
F4RR3LLgeirha: yeah i run the script thru sh https://hastebin.com/raw/oteripaxad19:18
pavlosF4RR3LL: made ip.sh with curl ipinfo.io/ip > /tmp/ip.log, moved it to /etc/cron.hourly and +x in an hour I'll see if anything changed19:18
geirhaF4RR3LL: Oh you had a newline between them? didn't show in the code you pasted. Well, the && causes the echo to only be run if the curl succeeds19:18
F4RR3LLpavlos: the sh script is located in user home folder19:20
geirhaF4RR3LL: that'll bite you at some point. Don't run bash scripts with sh. In this case, you happened to use a subset of the syntax that is the same in both sh and bash, so it happened to work19:20
geirhawell, mostly the same19:20
F4RR3LLgeirha: with what should i run bash scripts? im new :P19:21
geirhaF4RR3LL: Oh, the cronjob is run from /, so that means if you put sh ip.sh as the job, it won't find your script19:21
geirhaF4RR3LL: either with   ''bash yourscript''  or make it executable with chmod +x and run it directly19:22
F4RR3LLgeirha: this is my crontab setting 30 * * * * sh ~/ip.sh19:22
geirhaah ok, so then it should find it at least, and run it once an hour19:22
nonix4also don't forget the hashbang if writing script yourself... #!/bin/bash19:22
F4RR3LLgeirha: the thing is it execute the command correctly on crontab, and save the result in the file. What i just dont understand is why on crontab the script give my real ip and when the same script runs thru terminal it gives me the hidden ip19:24
geirhamissing an environment variable, probably19:24
pavlosF4RR3LL: use absolute paths, for commands and for destination files19:25
geirhaF4RR3LL: to emulate running it from cron in your terminal, try:   env -i PATH=/usr/bin:/bin bash ~/ip.sh19:25
fedorafanwhat is the tool called to show the space is used by19:26
fedorafanthis diagram19:26
fedorafanneed to delete some stuff19:26
pavlosfedorafan: you mean, df -h ?19:26
fedorafanno19:27
fedorafanthat gives absoulate spaceinfo19:27
F4RR3LLgeirha: pavlos so it should be like this? 30 * * * * env -i PATH=/usr/bin:bin bashh ~/ip.sh ?19:27
geirhain a terminal, you can use   du -haxd1 | sort -h   to see the usage of the files and directories in the current directory. Then cd into a big one and run it again there19:27
fedorafanI try19:27
fedorafanmoment19:27
geirhaF4RR3LL: No, in your terminal, to emulate running it from cron19:27
fedorafanbut its a guitool19:28
geirhaF4RR3LL: It's a debugging step to see if you need to pass an environment variable to your cron job19:28
pavlosfedorafan: du is text, not gui19:28
fedorafanI understand19:28
fedorafangui is more better I think19:28
petonoboby can help me? i became: http://paste.ubuntu.com/25242003/ and sudo apt-get -f install and sudo dpkg --configure -a doesnt work19:29
geirhafedorafan: you are probably thinking of baobab19:30
F4RR3LLgeirha: i pasted it in the terminal i gave me this env: ‘bash’: No such file or directory19:30
F4RR3LL:D19:30
pavlosfedorafan: install Baobab (Disk Usage Analyzer)19:30
geirhao_O you don't have bash installed?19:30
fedorafandu works right but not that good19:30
fedorafanBaobab hmm19:30
fedorafanI got some well need to survey19:30
F4RR3LLgeirha: bash is installed19:30
Posterpeto: Unfortunately I am not familiar with your language, though I suspect it may be a disk space issue, can you please paste the contents of "df -h" ?19:31
F4RR3LLgeirha: what command should I paste in the terminal in this case? maybe I was lost somewhere19:31
fedorafandisk usage analyzer19:31
oerhekspeto, what exactly are you doing? and why did you not copy the comand used?19:31
geirhaF4RR3LL: env -i PATH=/usr/bin:/bin bash ~/ip.sh19:31
pavlosfedorafan: https://apps.ubuntu.com/cat/applications/natty/baobab/19:31
F4RR3LLgeirha: yeah that's what I did :D19:31
gabrielcF4RR3LL: i think it is best to avoid cron and run a script in the background at boot19:31
fedorafanI got it its installed standardly19:31
geirhaF4RR3LL: bash should be installed as /bin/bash, so it should find bash with that PATH variable19:31
fedorafannow need to delete some19:32
petoPoster, http://paste.ubuntu.com/25242027/ here is the command19:32
oerheks?19:32
F4RR3LLgeirha: I check /etc/bin and I dont see bash there.19:32
F4RR3LLI see basename and then bashbug and thats all19:33
F4RR3LLchecked*19:33
geirhawhere did /etc come from?19:33
F4RR3LLso terminal didnt lie, he didnt find bash19:33
pavlosF4RR3LL: /bin/bash19:33
gabrielcF4RR3LL: run "cat /etc/shells"19:33
geirhafatalhalt: type ''type -a bash''  it should list /bin/bash19:33
petooerheks, sorry i ran: http://paste.ubuntu.com/25242034/19:34
oerheks!info libindi xenial19:34
F4RR3LLbash is already the newest version (4.4-5).19:34
F4RR3LLwhen I try to install bash i have this info19:34
ubottuPackage libindi does not exist in xenial19:34
petolibindi exist but u need add the repository : sudo apt-add-repository ppa:mutlaqja/ppa19:35
Posterpeto: ok that all looks ok, try ; apt-get clean ; apt-get -y autoremove ; apt-get update ; apt-get -fy install19:35
F4RR3LLgeirha: sorry xD not etc, but usr hahaha19:35
oerhekspeto, it does exist, https://packages.ubuntu.com/source/xenial/libindi .. but PPA is unsupported here19:35
oerheks!ppa19:35
ubottuA Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge19:35
geirhaF4RR3LL: not /usr/bin, just /bin19:35
geirhaF4RR3LL: type -a bash   should output "bash is /bin/bash"19:36
F4RR3LLgeirha: but u suggested me to run this on terminal env -i PATH=/usr/bin:bin bash ~/ip.sh19:36
F4RR3LLi see /usr/bin there :P19:36
geirhaF4RR3LL: you removed the / in front of bin19:37
geirhaPATH=/usr/bin:/bin, not PATH=/usr/bin:bin19:37
geirhaF4RR3LL: env -i PATH=/usr/bin:/bin bash ~/ip.sh19:38
petoPoster, i became following : http://paste.ubuntu.com/25242056/19:38
pavlosF4RR3LL: add a / before the bin19:38
F4RR3LLgeirha: alright19:38
F4RR3LLgeirha: it worked and displays me my real ip :P19:38
petooerheks, I must add this repository : sudo apt-add-repository ppa:mutlaqja/ppa ... see http://www.indilib.org/download/ubuntu.html19:38
geirhaF4RR3LL: right, which is the wrong one, right?19:38
F4RR3LLbut when i run bash ip.sh it displays the hidden ip19:38
F4RR3LLthe wrong one is the command u suggested me to do19:38
masloat a loss...don't know how to stop the time from auto syncing..19:39
F4RR3LLthe right one is from the command bash ip.sh19:39
geirhaso curl is using an environment variable to tell it to use this tor thing. Probably http_proxy ?19:39
maslocan't finda nything related to virutalbox or vagrant19:39
maslothat works19:39
masloamazon s3 allows up to 15 minutes difference19:39
maslocant have the time be more > 3 hours apart19:39
oerhekspeto, contact the ppa maintainer, nothing we can do19:39
F4RR3LLgeirha: yeah there is http_proxy involved since tor service is running. How can I use the http_proxy env to run with the command in crontab?19:40
gabrielcF4RR3LL: try to avoid crontab19:40
geirha30 * * * * http_proxy=http://or.whatever bash ~/ip.sh19:40
F4RR3LLgeirha: I am using crontab for this only to bypass the same issue in conky desktop app19:41
petooerheks, on rasperry pi it works hmm , but now i cannot install any package19:41
geirhaalso, I recommend not using .sh extension for bash scripts, as it is misleading19:41
F4RR3LLgeirha: what extension should I use for bash scripts?19:41
geirhaF4RR3LL: oh, so it's an XY problem. You've set http_proxy in .bashrc probably19:41
geirhaF4RR3LL: none, since the extension is redundant anyway, but if you insist, use .bash19:42
GlemSomHow do I install an older version of the nvidia driver?  I assumed I could do "sudo apt install nvidia-361" to get the 631 version, but - it seems apt is ALSO installing the 375 version which seems to have issues with my graphicscard.  output from apt: https://pastebin.ca/385085319:43
geirhaF4RR3LL: Anyway, if conky doesn't have that environment variable, it means you've set it at the wrong place19:43
F4RR3LLgeirha: no I didnt set http_proxy there, I just installed tor and run the service thats all and then I configured tor http proxy on localhost19:43
oerheksF4RR3LL, so you wonder why tor gives you an other ip ?19:44
geirhaI've never user tor, so I have no idea how all this works, but it matters greatly where and when that environment variable gets set19:44
F4RR3LLoerheks: I am aware of it, thats what I want :P19:45
F4RR3LLoerheks: I am just using something to display those ips and the app reads them from a file19:45
geirhawhat does "I configured tor http proxy on localhost" mean? did you edit any files?19:45
F4RR3LLgeirha: to access darknet u need to reconfigure some file to make proxy work, tor service on the other hand does not need any files to be edited as if tor service work, ur ip should be hidden already19:47
jjegeirha: can't he just specify 'curl --local-port 9050' in the script to use tor? or is that not how it works? i could be wrong.19:49
F4RR3LLgeirha: we will see if after 30 mn crontab will execute the command19:49
geirhaF4RR3LL: well, at some place the http_proxy variable has to be set, and it sounds very much like it gets set in the wrong place in your case.19:49
F4RR3LLgeirha: this is the crontab settings now 30 * * * * http_proxy=http://localhost:9050 bash  ~/ip.bash19:49
F4RR3LLi will check the result in 30 mn :P19:50
F4RR3LLif it will work19:50
geirha40 minutes you mean19:50
F4RR3LLgeirha: wy 40? :P19:50
geirhayou told it to run at HH:30 every hour19:50
geirhaRight now it's HH:5019:51
* wipesh sent a long message: wipesh_2017-08-04_19:51:04.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/reokabrBdWQFCnZmRgUslBEQ>19:51
geirhaF4RR3LL: but surely, the proper solution to your problem is just to tell conky about that proxy in the first place19:52
F4RR3LLgeirha: then the settings is wrong, i want crontab to execute the command every 30 mn :P19:52
naccF4RR3LL: "every 30 minutes" in a crontab doesn't make sense19:52
F4RR3LLgeirha: conky has a command cat ip.log to read the ip19:52
geirhaF4RR3LL: */30 will run it at HH:00 and HH:3019:52
F4RR3LLgeirha: every hour then?19:52
naccF4RR3LL: you want it to execute every 30 minutes from whenever you edited the crontab?19:53
geirhaF4RR3LL: yes, I get how your current kludge work, I'm talking about doing it properly in the first place, avoiding this kludge19:53
pavloschange the entry to */5 * * * * and wait 5 min19:53
F4RR3LLnacc: yeah I wanted to make crontab run the command every 30 mns19:54
geirhaF4RR3LL: 30 * * * *   runs once an hour,   */30 * * * *  runs every thirty minuts, at HH:00 and HH:3019:54
F4RR3LLgeirha: i dont know if http_proxy works with conky i will try19:54
naccF4RR3LL: yes, I think you misunderstand how crontab works -- it's not relative to when you edit he crontab, it's using the clock19:54
F4RR3LLnacc: im new so perhaps i missunderstood how it works19:55
naccF4RR3LL: as geirha and pavlos are saying, you can have it run on the :00 and :30 of every hour, or other options19:55
maslowhy is it that when I set timedatectl to Canada/Eastern i get19:55
maslo      Local time: Fri 2017-08-04 18:55:08 EDT19:55
maslowhen in reality it's 15:5519:56
gabrielcmaslo: utc on bios?19:57
naccmaslo: `timedatectl status` in a pastebin19:57
F4RR3LLnacc: geirha pavlos nice guys thx :) we will see if it will work ;p i like solving problems, i can learn from it and I wouldn't let this go until it will work haha19:57
maslohttps://pastebin.com/3egA9y6j19:57
naccmaslo: all you did was change the timezone19:57
naccmaslo: you're not using ntp so there's no change to the time19:58
maslothe time does change when i change the timezone19:58
naccmaslo: yes, relative to whatever the current time is in the current timezone your system thinks it is19:58
naccmaslo: but it doesn't 'synchronize' with any external time source, since you have that disabled19:58
naccmaslo: so if your time starts out wrong, it will stay wrong19:58
masloso how do i change what time the system think it is?19:58
F4RR3LLservice cron reload should be enough to restart it19:59
F4RR3LL?19:59
naccF4RR3LL: hrm? you don't need to reload cron normally19:59
naccmaslo: enable ntp?19:59
masloi tried19:59
naccmaslo: how did you try?19:59
maslotimedatectl set-ntp 119:59
pavlosmaslo: timedatectl set-local-rtc 1 (set real time clock to local20:00
petoyes I did it20:00
F4RR3LLgeirha: it didnt work xD20:00
naccmaslo: i think it's 'true' not 1?20:00
naccmaslo: did that succeed with 1? your output indicates ntp is not on20:00
F4RR3LLcron still run the script without http_proxy20:00
gabrielcnacc: sometimes is necessary restart cron service, when i change something on crontab i allways restart the service20:00
maslothe output was with it off20:00
masloi will paste the output now20:00
maslohttps://pastebin.com/YCY9GhEY20:01
oerheksnever needed to restart cron after adding a rule..20:01
naccgabrielc: i guess it could be, but editing your user crontab never requires restarting the cron service20:01
gabrielcnacc: on theory20:01
naccmaslo: do you see how it says "NTP synchronized: no"?20:01
oerheksgabrielc, just curious,  did this google-chrome key change happen *after* you got chrome 60 ?20:02
F4RR3LLis there another way to execute command on terminal hidden?20:02
masloI tried with true nacc, not too sure howt o enable it other than that command20:02
F4RR3LLmaybe I will take it with another approach20:02
naccmaslo: yes, it's enabled but not yet done20:03
pavlosmaslo: I use this to setup my time, sudo dpkg-reconfigure tzdata20:03
naccmaslo: see `man timedatectl`, i think you need to check if systemd-timesyncd is running and has recently sync'd your clock20:03
gabrielcoerks: no,  I have version 60 of before20:03
naccmaslo: you can also, of course, run it manually20:03
maslothat does the same as timedatectl set-timezone but with a ui paylos20:03
gabrielcoerheks: after the change I did not get a new version of chrome20:04
oerheksgabrielc, that is oke, 60.0.3112.90 is the latest.20:05
oerheksstill wonder why the key changed after that..20:05
gabrielcF4RR3LL: run "nohup script.sh &"20:05
gabrielcoerheks: same version here20:06
pavlosmaslo: I just changed my zone to Toronto and it tells me it is 4pm20:08
F4RR3LLgabrielc: ok I will try, i will let know at 22:30 if it worked :P20:08
laceylaneyHow do you set autostart apllications with a custom xsession ??20:08
maslomine does not do that paylos20:08
pavlosmaslo: I have ntp running20:09
=== Davros is now known as N3LRX
maslocan't seem to start mine20:10
F4RR3LLgabrielc: */30 * * * * nohup bash ~/ip.bash & ___ yes?20:10
gabrielcF4RR3LL: for bash programming http://tldp.org/LDP/abs/html/20:10
jjecan't F4RR3LL just specify 'curl --local-port 9050' to tell curl to use tor?20:10
F4RR3LLjje: i will try that as well, noted20:11
gabrielcF4RR3LL. try it, but i recommend you avoid cron and make your script run all the time on background20:11
=== Mittens is now known as MittensAFK
gabrielcF4RR3LL: script as a service20:12
F4RR3LLgabrielc: can u link me a tutorial for that pls?20:12
masloeven if i run set-ntp to true, 1 or on, it does not run.every links from google tells me the same things I've already tried20:12
gabrielc I have to go out. I will be back later20:12
masloso annoying to do such a simple task -.-20:12
F4RR3LLk20:12
naccmaslo: did you look at the manpage and service output?20:13
masloyes20:14
geirhagabrielc, F4RR3LL: No don't read http://tldp.org/LDP/abs/html/, that's garbage. Read http://mywiki.wooledge.org/BashGuide instead20:15
Jordan_Umaslo: I'm wondering if your hipervisor is constantly "fixing" the clock in the VM, and the hipervisor's clock is off.20:17
oerheksmaybe it is  windows 10 issue, time control offset .. http://ubuntuhandbook.org/index.php/2016/05/time-differences-ubuntu-1604-windows-10/20:18
HomelessSantaHello all, I'm currently on Ubuntu 16.04.03 LTS when I click on 'Software Updater' it's telling me it 'Failed to download repository information -- check your internet connection'. Anyone got any idea on how to fix it or is the main server down at the moment?20:19
oerheksHomelessSanta, did you add google-chrome to your install ?20:20
HomelessSantaoerheks, I have Google Chrome installed yes Chrome had recently been upgraded since yesterday.20:20
Jordan_UHomelessSanta: Please pastebin the output of "sudo apt update".20:21
oerheksit is a kown issue, new key after google-chrome 60 .. https://www.google.com/linuxrepositories/20:21
oerhekswget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -  # and you are fine20:21
HomelessSantaJordan_U, https://pastebin.com/DS8pVJHm20:22
oerheksif you run Jordan_U's command, you will find chrome being the culprit20:22
HomelessSantaYeah, seems Chrome is being failed to be fetched.20:22
HomelessSantaFrom the output.20:22
[n0mad]glad i was lurking to see that!20:22
oerheksNow my Q: howto remove the old key, i cannot delete it in sources gui20:23
HomelessSantaoerheks, Essentially I should enter the command you gave right?20:23
oerheksjups, as described in the url20:24
HomelessSantaAhh, I see it on the link.20:24
oerheksA040830F7FaC5991 2007-03-08 is the key i want to flush20:25
HomelessSantaoerheks, Jordan_U -- Thanks for the information that seemed to fix the issue.20:26
[n0mad]oerheks: not sure, i just clicked it and clicked remove and put in my pw and it removed20:26
oerhekssudo apt-key list gives "pub   dsa1024 2007-03-08 [SC] " so it would be:  sudo apt-key del dsa102420:27
maslotried that oerherks20:28
maslono luck20:28
maslontp still wont sync20:28
F4RR3LLdoest the command nohup with & at the end close the terminal after running the script?20:29
geirhaF4RR3LL: No. If you want to start a command and exit the terminal, leaving the command running in the background, do:  thecmd & exit20:31
geirhanohup is pointless for that purpose20:32
pavlosmaslo: sudo systemctl status ntp.service   is is active?20:32
maslolet me see20:32
masloactive and running20:33
masloor so it says20:33
pavlosmaslo: I'm changing zone from Phoenix to Toronto and it syncs up within 30sec20:34
maslotime changes, just wrongly20:34
maslowhenever i change timezone20:34
maslontp still says it's not synchronized though20:34
pavlosmaslo: sudo timedatectl set-timezone America/Toronto ... and http://paste.ubuntu.com/25242353/20:40
maslomy timezone is america/toronto....20:41
maslomy universal time and rtc time is 3hours too late20:41
maslo3hours ahead20:41
pavlosmaslo: upper case T20:41
pavlosmaslo: upper case A20:41
maslo?20:41
masloi know20:41
maslolook at any of the pastebin ive posted20:41
maslothey all say america toront20:41
masloAmerica/Toronto20:41
naccmaslo: have you tried just running ntpdate?20:43
Jordan_Umaslo: Any way to ask your hosting provider what time the physical machine thinks it is?20:44
maslothere is no hosting provider20:45
masloit's a virtual machine (viortualbox)20:45
maslothrough vagrant20:45
Jordan_Umaslo: OK. What is the time according to the host OS?20:46
masloi tried nacc20:46
maslomy time is 4:46pm20:46
maslowindows 10 host20:46
FatDarrelhey guys the aws packer ami builds on us-east-1 using the latest images is very slow20:47
FatDarrelany ideas20:47
FatDarrelits taking 20 mins + to run a coule of chef recpies that just do apt-get installs from the repos20:48
oerheks16.04 installs ? maybe your issue is that 16.04 got updated to 16.04.3 ..20:49
oerheks(yesterday)20:49
oerhekselse i have no clue about aws20:49
gabrielcmaslo: check if the vm is getting the time from host, and if the host is getting the time from bios or ntp, and check the time on bios20:50
maslosuch a pain lol20:50
pavlosmaslo: strange because ... I started a VM in VB and told it to set time to Toronto, it did. My host has time in Phoenix. Can you restart the VM?20:52
masloi must of restarted at least 5 times, including my host computer after disabling/ewnabling the time from internet20:53
gabrielcmaslo: check if host uses bios time as utc or local time20:53
FatDarrel16.04.3?20:53
FatDarreloerheks: yeah its 16.04 and its using latest20:54
oerheksFatDarrel, yes, not sure it conflicts with scripts you use20:54
masloI am gonna build another vm just to see if I get the same issue20:54
maslothis is such bs lol20:54
douxHow come only Software Updater can do a "Partial Upgrade" but the command: "apt-get upgrade" doesn't actually do the upgrade "Partial Upgrade"?20:55
douxMate 16.0420:55
pavlosdoux: I think there was a issue with one package, do the partial upgrade and it will be fine.20:56
pavlosdoux: check at #ubuntu-mate20:57
douxpavlos, ok, thanks20:57
gabrielcmaslo: hwclock maybe it will be useful20:57
RBoreal_FripperyI have an ubuntu 14.04 desktop as htpc connected with an ubuntu 14.04 server on the LAN. The server acts as an NFS server and the client an NFS client with the correct entries in /etc/fstab. This setup worked fine for over a year. Recently, often when resuming the client system from suspend, something will go wrong with the NFS mount. As soon as one tried to access it in a file manager, or terminal, or even run somet21:02
RBoreal_Fripperyhing like $ df -h, the process freezes. I can still Alt-out to another tty but I usually have to end up rebooting to get it to work again. Anything common I could check?21:02
gabrielcRBoreal_Frippery: fsck ?21:04
RBoreal_Fripperyon the server? I will try it, but it does not feel like that type of error. I dont get anything about input/output problems, just a hang.21:04
RBoreal_FripperyAnd when rebooting everything comes up find and working as usual21:05
Posteryou can try to do a lazy umount of the NFS mount point then remount with "mount -a"21:05
Posterumount -l /mnt/nfs21:05
gabrielcRBoreal_Frippery: with nfs service off check the partition with fsck21:05
RBoreal_Fripperythe unmount could help to avoid rebooting but I assume it will not fix the underlying issue.21:06
gabrielcRBoreal_Frippery: backup the data and check for logical or physical errors21:07
pavlosRBoreal_Frippery: can you post the /etc/fstab line where the nfs mount shows its options?21:08
gabrielcRBoreal_Frippery: if there are no physical or logical errors should be a configuration issue21:09
RBoreal_Fripperythe end looks like this: nfs rw,rsize=32768,wsize=32768,vers=3,intr 0 021:10
Bashing-omRBoreal_Frippery: As pavlos advises . verify all UUIDs match ' sudo blkid -c /dev/null -o list ' .21:13
RBoreal_Fripperyok21:14
gabrielcRBoreal_Frippery: you can try to replicate the issue mounting locally on server21:14
pavlosRBoreal_Frippery: you can add ,hard next to intr ... per manual nfs requests will be retried indefinitely, intr says process can be interrupted. Just a thought21:25
donu7Hello, I'm having a hard time installing 16.04 where /boot is 1G and the rest of the drive is encrypted. Anyone try this that can give me any advice?21:27
donu7and if this isn't the right channel i apologize21:28
Jordan_Udonu7: What problem are you running into specifically?21:28
Jordan_Udonu7: Ubuntu's installer supports encrypting the root FS with LUKS as one of the default options.21:29
donu7the automatic drive partitioning doesn't allow for customizing partition sizes so i get /boot w/ 500m which isn't enough. so i choose >something else for partition options. when I make an encrypted root partition, i get an error about a non-encrypted swap partition and the install fails but i cant make an encrypted root AND swap partitions21:30
donu7so i just made partitions by hand (/boot & and lvm for / and swap) and during install, i can choose to encrypt the swap partition and specify it as swap but when i try to encrypted the root partition i get the same error about an unsafe swap partition and install closes.21:31
psychoticwarriorwhats going on ppl21:31
donu7i've been googling this all week and haven't found anything that makes this work. The closest thing I'm seeing is to set up the encrypted partitions manually and set up the /etc/cryptab file manually but that article doesn't specify if the installer will pick up on those partitions :/21:32
Jordan_Udonu7: So you have partition 1 Swap, partition 2 LUKS. On top of LUKS you have an LVM PV containing VGs, one for root and another for swap. Is that correct?21:33
donu7correct. here's my lsblk:21:34
donu7erp just realized i can't screen cap or copy paste it lol >_<21:34
donu7sda1 - boot -- sda2 has lvm w/ lvroot & lvswap21:34
gabrielc  donu7: can you use the root partition encrypted and the swap as a file?21:35
donu7I don't follow what steps you're referring to21:36
donu7as in, in the installer, use the primary lvroot partition as encrypted and set up the swap partition as a normal, non-encrypted swap partition?21:36
Jordan_Udonu7: To confirm,sda2 is a LUKS volume, not an LVM PV. Crrect?21:37
donu7no -- sda2 is lvm21:37
donu7which i copied from what the installer does by default21:37
gabrielcdonu7: install the os without swap partition, boot the os and then make a large file (ie /swap) and use as swap21:38
Jordan_Udonu7: Then where does LUKS come into play?21:38
donu7i need root encrypted and afaik swap should also be encrypted21:38
Jordan_Udonu7: I know, which is why I'm still trying to find out where you're using LUKS. Right now you haven't mentioned any LUKS volumes at all.21:39
donu7Right, I see. I really have no preference or knowledge of where and how to introduce luks.21:40
donu7I copied the general setup of how the ubuntu installer setups up the HDD.21:40
psychoticwarriorso how is it setting up in ubuntu?21:41
psychoticwarriorin the general setup21:41
Jordan_Udonu7: Do you need to be able to hibernate (suspend to disk)?21:41
donu7yes21:41
donu7and @psychoticwarrior -- general setup creates a 500m /boot (which is too small), then makes a separate partition with lvm, and inthe lvm there's a root and swap partitions that are encrypted21:42
donu7at least i'm preferring to have the option to hibernate21:43
psychoticwarriori would suggests having /boot as 50 Megs21:43
donu7O_o that's really small21:43
psychoticwarriorthats how i usually have it21:43
donu7as is just installing ubuntu on a 500m /boot part, it eats up 30% of the /boot partition.21:44
donu7after a few rounds of kernel updates it fills up to 100% and apt crashes mid-update usually causing some problems with some binaries21:44
psychoticwarriorinstall ubuntu as a / partition21:44
psychoticwarriori have my /boot at 100 megs21:44
psychoticwarriorno problem21:44
Jordan_Upsychoticwarrior: 50 MiB won't even fit a single default Ubuntu kernel and initramfs.21:45
psychoticwarriori have 100 megs for my /boot partition21:45
Jordan_Upsychoticwarrior: And do you never have more than two kernels (and their corresponding initramfss) in /boot/?21:46
psychoticwarriornot sure21:46
psychoticwarriorlet me check21:46
psychoticwarrioryes there are different kernels21:46
Jordan_Upsychoticwarrior: Please pastebin the output of "du -h /boot/" and "df -h | grep /boot/"21:47
gabrielcdonu7: do you discard swapfile instead of swap partition?21:47
=== semeion is now known as mnemonic
psychoticwarrior2.4M/boot/grub/i386-pc21:47
psychoticwarrior140K/boot/grub/locale21:47
psychoticwarrior2.3M/boot/grub/fonts21:47
psychoticwarrior7.2M/boot/grub21:47
psychoticwarrior792M/boot21:47
TBotNikall: Have apt-get install errors on WINE. Writeup at: askubuntu.com/questions/943153/apt-get-package-errors21:48
TBotNikNo package shown as hold!21:48
Jordan_Upsychoticwarrior: In the future, please don't paste more than one line into the channel. Please use http://pastebin.ubuntu.com instead.21:48
donu7gabrielc: i think I'm missing a difference between swap file and swap partition21:48
psychoticwarriorok for sure21:48
psychoticwarriormy bad21:48
psychoticwarriori run a triple boot also21:49
gabrielcdonu7: swap file is a big file on root partition for example21:49
Jordan_Upsychoticwarrior: Your /boot/ has 792M worth of files in it. That's 14 times larger than you're recommending that donu7 make his /boot/ partition, and 7 times larger than you said yours was.21:50
gabrielcdonu: so you can have 2 partitions, /boot and root, and a big file inside root as swap21:51
TBotNikpsychoticwarrior: Why not VM instead, so you have all at once.  CHEF does it well with little performance impact.  Great tool, still learning it though!21:51
psychoticwarriorok for sure21:51
psychoticwarriorim satisfied with my system as it is. if i feel like changing it I will :)21:51
donu7right, makes sense. how can i specify to the installer to use a swapfile? or just install ubuntu without swap then manually specify a swap file?21:51
donu7and is there a performance tradeoff to having a separate swap partition compared to a swap file ?21:52
Jordan_Udonu7: Using a swap file (especially with an encrypted root fs) will not allow you to hibernate.21:52
psychoticwarriorso /boot is 792 M?21:52
gabrielcdonu7: i think that you have to install the OS without swap, then, inside os create the big file and setup to use as swap21:52
Guy1524hey guys, how do I use a wireless XBOX one controller (via USB dongle) on Ubuntu 16.0421:53
[n0mad]yes psychoticwarrior you pasted it as such21:53
Guy1524I have tried installing xboxdrv package and this https://github.com/paroj/xpad21:53
psychoticwarriorok but it says i have 72.76 megs for /boot21:53
psychoticwarriorunused21:53
Jordan_Upsychoticwarrior: That is how much data you currently have in your /boot/ directory. If you pastebin the output of "df -h | grep /boot/" it will tell you how large your /boot/ partition is. If that command produces no output then you don't have a separate /boot/ partition at all.21:53
psychoticwarriorbr21:55
psychoticwarriorbrg21:55
psychoticwarriorbrb21:55
donu7hmm21:55
donu7does ubuntu desktop hypernate automatically?21:56
donu7hibernate * wow21:56
gabrielchibernation power off the disks, right?21:57
psychoticwarriorback21:57
Jordan_Udonu7: hibernation, also called suspend to disk, powers off the entire computer.21:57
ShmamTrying to remove mysql with 'sudo apt-get remove --purge mysql*' and getting this error: http://paste.debian.net/979897/ Tried to uninstall that mariadb-client package but it's not installed21:57
Shmamso idk how I can have unmet deps for something I don't even have21:57
donu7right, Jordan_U does ubuntu-desktop automatically hibernate? i always assumed under a default install it just goes to sleep but not hibernate21:58
psychoticwarriorwell what do you have a problem with just sleep21:58
psychoticwarrioror lock it when you walk away21:58
psychoticwarriorjust in case someone messes with it21:58
donu7this will be a desktop in an office22:00
psychoticwarriorok22:01
donu7either way, i'm used to fedora/centos. So i want to double check.22:02
psychoticwarriorhaving trouble with hibernate too but suspends works22:06
Jordan_Udonu7: So it seems that you just need to create an encrypted volume on top of your "swap" LV , then make a swap volume on top of that.22:10
Jordan_Udonu7: I'm not certain that will work with hibernation , but I'm hoping that it will.22:10
donu7I see -- ty I'll try that out22:10
psychoticwarriorhow come hibernate doesnt work but suspends does22:11
donu7hibernate requires writing and reading to the drive and it conflicts with the encryption22:12
Jordan_Upsychoticwarrior: Because suspending to RAM doesn't require swap and suspending to disk does.22:12
donu7^22:12
TBotNikall: Have apt-get install errors on WINE. Writeup at: askubuntu.com/questions/943153/apt-get-package-errors. No packages shown on hold!22:13
psychoticwarriorok22:13
psychoticwarriorits okay ill just use suspend22:13
Jordan_Udonu7: I seem to recall there being a fancy swap specific encryption setup that allowed for hibernation using a randomly generated key at each boot but I don't have the time to research it at the moment.22:13
TBotNikAll: have tried several reboots but nothing clears!22:14
donu7@Jordan_U, i have an article on it and the thing is I'm not sure how manageable that is going to be because I have some employees that will be using the same setup i'm creating here22:15
donu7but I'm going to test it out since at this point there I'm not finding anything that's going to work :/22:16
Jordan_Udonu7: Well, when Ubuntu sets it up it's all automagic and shouldn't require anything special from the users once the system is installed.22:16
donu7right. I'm also just realizing that I may have been trying to set it up backwards -- I'm reading through a walkthrough from 2014 that suggests creating the luks format partition first then setting up LVM22:17
Jordan_Udonu7: That was indeed my first instinct, but I think the special treatment of swap to allow for hibernation may be why Ubuntu doesn't do that by default.22:18
donu7yeah, i think you're on the right track tho i'm goign to test it out now and report back with what I find22:19
F4RR3LLhow can I add a command after adding execStart=gnome-terminal into the service system file?22:23
|Night|hey, is there an easy way to get output and delete it? I woud like to delete all files ending in .srt22:32
Jordan_UF4RR3LL: What "service system file" are you editing? What is your end goal?22:32
donu7|Night|,  you may want to check out the bash irc channel -- you can list files using ls and pipe it using | to grep which searches the output of the ls command for whatever text you want22:33
Jordan_U|Night|: First, be *very* careful any time you script the removal of files. One typo could leave you very unhappy.22:33
donu7^22:33
|Night|Jordan_U:  i knwo :p22:33
|Night|need to to remove 10k files22:33
|Night|on  a server 100TB ++22:33
Jordan_Udonu7: |Night|: Never parse the output of ls for scripting.22:33
|Night|how would you delete *.srt from /mnt/* then?22:34
Jordan_U|Night|: rm -i /mnt/*.srt22:34
|Night|hmm22:34
|Night|so -i does all sub folders on /mnt?22:34
|Night|7254 files when i did locate *.srt | nl22:35
donu7why would you not use ls ? and night did not mention using a script over a 1-liner22:35
|Night|just need to do soem cleanup22:35
Jordan_U|Night|: No. -i makes rm interactive (checking before delteting). The command I gave would not search in subdirectories.22:36
|Night|ah would not work then22:36
|Night|since i have 10 mounted drives in /mnt/22:36
|Night|(drives)22:36
|Night|some are radied22:36
|Night|raided22:37
Jordan_Udonu7: http://mywiki.wooledge.org/BashPitfalls#for_i_in_.24.28ls_.2A.mp3.2922:37
donu7ah -- that's in a for loop tho and I can see why that would be an issue. I had that issue a few months ago22:38
|Night|would be painfull to use ls in every dir22:39
donu7you could optionally try a `find -name` command22:39
|Night|donu7:  locate command gives me the output i need with location22:40
|Night|would need to prhase that and delete §file22:40
Jordan_Udonu7: Just never parse the output of ls i scripts. There are pitfalls everywhere.22:40
donu7right, depending on the output you could pipe it to a file or to the rm command22:40
|Night|locate foobar | xargs -ixxx rm -f 'xxx'22:41
|Night|might work22:41
donu7@Jordan_U, yeah, i'm interested in giving that page a thorough read to better understand why22:41
|Night|yup that did the tiric22:42
|Night|trict22:42
Jordan_Udonu7: |Night|: My ssh connection is incredibly laggy and I can't respond to all orf your wrong answers. Please stop. This is an area where there are many wrong ways to do it.22:42
Jordan_U|Night|: find -iname '*\.srt' -print22:42
donu7That's a little elitist but I'm new here so I'm just going to get back to working on my encrypted install issue22:43
|Night|Jordan_U:  that gives me output simular to locate command22:43
Jordan_Udonu7: That came off much ruder than I intended. It's mainly because of the lag and the fact that I've had to stop wrigint responses to the original question to respond to the solutions that have been proposed. Sorry.22:43
donu7It's all good I'm very used to that treatment from my last job where people would act extremely elitist. Here on IRC i personally really appreciate people being willing to converse and help find the right answers22:44
Jordan_U|Night|: If the output looks good, and you have good backups as well, then switch to "find -iname '*\.srt' -delete". (This is what I've been trying to type for the past several minutes :)22:44
Jordan_Udonu7: I really do apologise> I should not have said what I did.22:45
donu7you're ok :)22:45
|Night|Jordan_U:  thank you very much :) worked great22:45
|Night|abit slow but ill leave it in a screen22:45
Jordan_U|Night|: You're welcome.22:46
|Night|there are a few drives that are mounted as virtual drives with 0 wrtie permissions so might fail there, but that not important as those drives are mirror of other with some sw ontop22:46
|Night|yup done, 8910 files deleted22:47
Jordan_U|Night|: If you wanted to use locate and still be safe no matter what odd filenames might come up you could use "locate --null '*.srt' | xargs --null rm -i". (Throwing in the -i again for safety in case I got something wrong).22:48
Jordan_U(And to be completely filename safe I'm actually also missing a "--" argument after -i)22:49
|Night|Jordan_U:  indeed, your first script worked and gives me no file when checking iwth cat/vim22:49
F4RR3LLguys how can I open a terminal with a command using execstart= in service file?22:49
Jordan_UF4RR3LL: What service file are you editing specifically? For system services, as opposed to user services, I would say that starting a GUI app (like gnome-terminal) is just not possible (directly at least). What is your end goal?22:56
F4RR3LLJordan_U: run a script that would open gnome-terminal with a command22:57
F4RR3LLJordan_U: i dont want to use cron so I want to create system service instead22:58
F4RR3LLand run the script every 1800s22:58
Jordan_UF4RR3LL: When would this script be run? What is the command? What is your end goal?22:58
F4RR3LLJordan_U: to fetch ip and to save it in a file22:58
F4RR3LLbut i want the ip to be fetched by using terminal, i am trying to do a bypass22:59
F4RR3LLto resolve an issue22:59
F4RR3LLso i want to use execStart= to force it to open gnome-terminal22:59
Jordan_UF4RR3LL: Please explain the most high level problem you're trying to solve.22:59
F4RR3LLJordan_U: well like I said  I want to try to create a service that would start a gnome-terminal with a command23:00
F4RR3LLso im creating a .service file23:01
gabrielcF4RR3L: you really need a terminal?23:01
F4RR3LLin that file u have ExecStart=23:01
F4RR3LLgabrielc: yes our solution before didnt work23:01
Jordan_UF4RR3LL: But why do you want to do that? (And keep asking yourself "why" until you are at the highest reasonable level, what I would call your "end goal").23:01
F4RR3LLseems like it will work only if the script runs thru terminal23:02
F4RR3LLJordan_U: I already explained everything like few hours ago, sorry but I dont want to repeat myself again and again23:02
F4RR3LLgabrielc: understand what I mean23:02
F4RR3LLI only need to know how to start a terminal from .service23:02
F4RR3LLthe rest is not relevant to know23:02
F4RR3LLJordan_U: I am trying to display my hidden ip, all the script i run displays my real ip. Only if I run the scrip thru terminal would display the fake ip. Im using tor. Thats the explanation in a nutshel23:04
Jordan_UF4RR3LL: The problem is that the direct answer to that is problably "you can't due to the way systemd services and X11 work" so I'm hoping that there is a better way to solve your original problem.23:04
F4RR3LLnutshell*23:04
gabrielcF4RR3LL. he wants to run a script every x seconds. and i tell him that can avoid cron and make a script with a endless while23:04
F4RR3LLI was suggested to run scripts using services instead of cron23:05
F4RR3LLwhich i am trying to do xD23:05
F4RR3LLSo i want that terminal to be open and run the command :D23:05
gabrielcF4RR3LL. you can run a terminal at gui session login23:06
F4RR3LLgabrielc: I  want it to be automate23:06
F4RR3LLwhich the purpose of using cron or service system23:06
F4RR3LLotherwise I would not bother and do it manually23:07
F4RR3LLbut I want to automate it because I want to display the ip somewhere else after the command saves the value into a file23:07
=== KindTwo is now known as KindOne
Jordan_UF4RR3LL: Does hthe following give you your real external ip address?: http_proxy= wget -qO- ifconfig.co23:09
F4RR3LLu want me to run the command in terminal?23:09
F4RR3LLyeah23:10
Jordan_UF4RR3LL: Try it there first, yes. If it does what you want then see if it also works as you want from a systemd service.23:10
F4RR3LLit gives me the real ip23:10
Jordan_UF4RR3LL: So your systemd service file might look something like this: http://paste.ubuntu.com/25243220/ but note that it doesn't do anything useful yet. Since you want to write to a file and maybe do other things, it's probably best to make a script that does everything that you want, then execute the script in ExecStart= .23:19
F4RR3LLif I can't open terminal thru services I will try to run bash script thru service and add start gnome terminal thru bash23:20
Jordan_UF4RR3LL: If you try to start gnome-terminal from a script that has been executed as part of a systemd service it will fail to start because it will not be able to connect to the X server.23:24
F4RR3LLJordan_U: I didnt understand. What do u mean?23:25
oerhekshe is not using a proxy but tor,..23:26
oerheksand should say that properly...23:26
F4RR3LLoerheks: i mentioned many times that i am using tor services23:26
Jordan_UF4RR3LL: To be clear, do is what you're calling your "hidden" ip the ip address of the tor exit node that you happen to be using at the moment?23:27
oerheksF4RR3LL, just to clear up "real ip", no worries23:28
F4RR3LLif I go to this website http://ipinfo.io/ip the ip thas is displayed 89.234.157.25423:29
F4RR3LLwhich is correct because its a fake ip from tor service23:29
F4RR3LLbut when I create a service that fetch the ip automatically or if I set a the command to fetch ip on cron, the result is that they display my real ip not the fake ip23:30
Jordan_UF4RR3LL: OK. And that is the ip that you want this script to show as well?23:30
F4RR3LLJordan_U: nothing else than the fake ip that are displayed in those "ip fetching" website23:30
Jordan_UF4RR3LL: OK, the I apologise my previous answer I was answering how to get your "real" ip as I misunderstood your question.23:31
F4RR3LLmanually when I run the command thru terminal, it fetches the fake public ip from tor nodes23:31
F4RR3LLbut when I set it on autorun from the system, it fetches my real ip out of tor node23:31
Jordan_UF4RR3LL: What is the output of "echo $http_proxy" from a gnome-terminal terminal?23:31
F4RR3LLso for if I do manually: curl -s http:ipinfo.io/ip in terminal, it fetches me the fake public ip23:32
F4RR3LLbut if I set a script with the same command in cron or services it fetches my real ip23:32
F4RR3LLSO i am trying to understand why23:32
oerheksif this is true, running that script as root gives your real ip too ?23:32
F4RR3LLJordan_U: echo $http_proxy shows me blanl23:33
F4RR3LLblank*23:33
F4RR3LLoerheks: im on root23:33
Jordan_UF4RR3LL: It's almost certainly because your environment (meaning the set of your environment variables) is different. We need to figure out in what crucial way it is different.23:33
F4RR3LLbut I have not idea :D it seems that the command runs correctly in the terminal but out of the terminal environnment it gives the real ip23:34
F4RR3LLso thats why I want to open the terminal with the command from services to see if it will fetch the fake public ip or the real ip23:35
gabrielcF4RR3LL: with "set" you can view the environment variables23:35
Jordan_UF4RR3LL: gabrielc: Warning though that bash_completion clutters the environment signifigantly. "bash -c set" should give you something a little more digestible.23:36
gabrielcok23:37
gabrielcFARR3LL: run "bash -c set |less" and read the output23:38
F4RR3LLwhat are we looking exactly from bash -c set?23:40
F4RR3LLALL_PROXY=socks://localhost:9050/23:40
Jordan_UWell, looks like F4RR3LL found it. Hopefully they come back :)23:41
F4RR3LLwhat are we looking exactly from bash -c set?23:43
F4RR3LLALL_PROXY=socks://localhost:9050/23:43
F4RR3LLi had to restart my router23:43
Jordan_UF4RR3LL: My guess would be that setting ALL_PROXY in your script will make it run the same in cron/systemd services as it does from a user shell.23:48
F4RR3LLJordan_U: then it should not give my real ip from cron/systemd. But unfortunately it does the opposite xD23:50
Jordan_UF4RR3LL: Add the line "ALL_PROXY=socks://localhost:9050/" to the top of your script (as the second line, after the #!/bin/bash line). Then try executing your script in a user shell and via systemd service.23:51
jasunto_anyone have a URL of a good tutorial for headless ubuntu server to boot, connect to PIA (Private Internet Access) with OPENVPN and then run transmission-cli access via web page, i built one 2 years ago with a guide, also a fedora server one, now trying to go back to ubuntu server and cannot for sake of my find any guides close that work23:52
jasunto_im trying to piece several guides together right now and i cant get PIA to  connect on boot even though i did the AUTOCONNECT= and the login.conf23:52
F4RR3LLJordan_U: I will try, standby.23:53
jasunto_anyone?23:53
=== jasunto_ is now known as jasunto
F4RR3LLJordan_U: was it ExecStart=/bin/bash ?23:56
Jordan_UF4RR3LL: ExecStart=/path/to/your/script  (And make sure that your script is executeable and starts with "#!/bin/bash" as the first line)23:57
F4RR3LLExecStart=/bin/bash /tmp/ip.bash23:59
F4RR3LLwould work/23:59
F4RR3LL?23:59
Jordan_UF4RR3LL: Yes, it's just not the "proper" way to do it.23:59

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