=== Oatmeal is now known as SuzieCue [01:41] I'm stepping through the systemd settings on Ubuntu 16.04.1 server. I'd like to find where $TERM first gets set. I'd like to change it to xterm-256color at first login, for all TTY's. [01:43] I'm looking at /lib/systemd/system/getty@.service and see that it refers to $TERM which is already set [01:43] So I'd expect that somewhere in the chain before, $TERM gets set [01:44] or detected === JanC is now known as Guest5754 === JanC_ is now known as JanC [02:58] hi [02:59] What do you guys recc in terms of a GUI desktop environment for Ubuntu Server? (not talking shell, but preferred GUI) Is it somethig lightweight? [03:00] this is just a question of curiousity [03:03] guest4146: AwesomeWM, Lubuntu, i3 [03:41] ok... how do I get the desktop environment running after log-off. no ubuntu button to change DE AT ALL on login screen [03:51] guest4146: What Display Manager did you install? [03:52] guest4146: And which Desktop Manager did you go with? [03:52] guest4146: Also, why the need for a GUI? [04:03] this is Ubuntu 16.04 [04:03] standard [04:08] did you install one of the -desktop packages? [04:25] I'm looking for a recommendation on how to get a nice terminal with Ubuntu server, without X. My current terminal is TERM=linux and can't send various keys, such as CTRL-F2. [04:26] I realize terminals are crazy/weird/complex/historical beasts. I read http://catern.com/posts/terminal_quirks.html [04:26] Should I expect my terminal to generate *something* for CTRL-F2? Function keys in general work. [04:27] djames: What are you expecting it to do? [04:28] djames: Those are usually things that happen in the Desktop Environment. [04:29] well, it should also work in a terminal, if any application there uses it [04:29] rypervenche For example `cat -v` then gives `^[[[B`. However, gives nothing. [04:29] I'd like to learn exactly why CTRL-F2 is not being generated. [04:30] I started answering http://askubuntu.com/questions/827947/inspect-and-adjust-non-gui-terminal-configuration but there is more I want to learn [04:30] For example, I'd like to find the code that shows where ALT-F1 gets trapped. [04:30] And I'd like to see why CTRL-F2 is not passed along. [04:31] djames: Because that key combinatinion is a X thing. [04:31] rypervenche I don't understand your reply. CTRL-F2 is a keypress, nothing more, nothing less. [04:32] rypervenche You understand what `cat -v` does? [04:32] djames: Yes, but in the TTY you are using a keymap, in X you are using a keyboard layout. [04:33] rypervenche still, your explanation isn't connecting the dots for me. some terminals / terminal emulations do in fact send CTRL-F2 [04:33] djames: Some TTYs or only terminal emulators? [04:34] I'm not sure [04:34] Then unless you are sure, you are talking about apples and oranges. [04:34] I don't understand all the detailed differences, but I would like to learn [04:35] Put another way, why doesn't a CTRL-F2 keypress show up in `cat -v`? [04:35] My logic is this: if CTRL were simply ignored, the F2 part would still show up. [04:35] Because you are doing it from a TTY. [04:36] rypervenche that isn't the "why" I'm looking for, sorry :) [04:36] I'll see if I can find something understandable for you. [04:36] So, I'm if I'm using a TTY, why can't it handle CTRL-F2, in terms of a deeper explanation. Your response seems to be a summary of "it doesn't work because it is a TTY" but not *why* that is the case [04:37] I'll see if I can find a good explanation. For me, it's just the way of things, it's always been that way. [04:37] ah, fair enough [04:38] What is ctrl+F2 supposed to do for you? [04:38] rypervenche I'm not sure why you keep asking that [04:38] I want to learn about terminals, key bindings, the stack, etc [04:38] Oh, so you're just doing all of the F keys as a test? [04:39] Ultimately, I want that keypress to be available to Byobu [04:39] But I find it very strange that some keypresses are ignored [04:40] And I'd like to be able to look at the underlying code and see for sure exactly what is happening... e.g. is the keypress being ignored? swallowed by some other process? [04:40] I wonder if it's the TERM variable doing it. [04:41] You said you're using "linux", have you tried something else? [04:41] * djames is reading http://www.linusakesson.net/programming/tty/ [04:41] like xterm [04:41] https://unix.stackexchange.com/questions/198711/how-can-i-pass-function-keys-to-htop-in-a-tty [04:43] that's useful, I'm looking over `infocmp -L1` now -- pertaining to /lib/terminfo/l/linux [04:46] rypervenche I don't think it is valid simply to change TERM=xterm arbitrarily. I say this because systemd autodetects TERM [04:47] Yes, and TTYs are usually set to "linux" and terminals to "xterm" or to the 256color variant. You can change them all you want. [04:47] it is possible that CTRL-F2 is not considered to be (1) a valid keypress or (2) one keypress by most terminals [04:47] Other things change them, such as tmux or other terminals have their own TERM variables. [04:48] Yeah, that I don't know. You might try in ##linux [04:48] there are some fb terminals that might work [04:48] So, if I do `TERM=xterm bash` it does change TERM; however `cat -v` is no different. [04:49] I'll go back to reading the TTY vs Terminal Emulation article. === Guest8435 is now known as sts [07:54] Good morning. === iberezovskiy|off is now known as iberezovskiy [11:59] when i download any image from internet for maas /pxe boot where that image is store on hardisk ? [11:59] i am trying to configure 1st maas server on ubuntu 16.04.1 with maas version 2 [12:53] roaksoax: see samba35 above ^^ [12:54] samba35: in the example on https://maas.ubuntu.com/docs/sstreams-mirror.html it is /var/www/html/maas/images/ephemeral-v2/daily [12:54] samba35: would this or similar match your case? [12:54] ok ,thanks [12:58] strange ,when i click on images tab on gui it show two images are there but i dont have any thing on /var/www/html/maas [12:58] maybe the example isn't the place it downloads by default [12:59] sorry - out of experience exception [12:59] back to roaksoax ^^ [13:00] but thanks it help me to understand [13:00] cpaelzer: thank you again [13:01] now it seems it downlading image from link you have provided [13:01] not sure :) [13:08] cpaelzer: can you please tell me if i have to configure juju and maas and lxd ,then how many nic/network card i will require ? [13:09] samba35: sorry I can't - I'd check docs just as you [13:09] ok [13:09] no issue [13:10] r u ubuntu employee ? [13:11] samba35: not a heavy maas user yet, I always got mine set up by people who knew [13:12] ok [13:26] samba35: when maas first downloads it stores them in the DB [13:26] and then in /var/lib/maas/boot-resources/ [13:26] ok [13:27] and where is DB location is ? [13:27] http:///maas/images/ ?????? [13:28] sorry /var/www/html/maas/images / ???? [13:33] cpaelzer: for bug 1625372, change the status on the top right to Public Security. Then it goes on the security team's triage queue. [13:33] bug 1625372 in ntp (Ubuntu) "NTP security issues on Precise and Trusty" [Undecided,New] https://launchpad.net/bugs/1625372 [13:33] when gui say it has download images but i could not see any image on actual location you mention ,in that case what mistake i must be doing ? [13:42] rbasak: thanks, never had to click that [15:26] coreycb, I can't see it in the queue (pbr) [15:28] jamespage, it's in the unapproved queue [15:29] coreycb, oh yes [15:35] ftr we could have dropped d/p/no-u-string-for-python-3.2.patch === ChanServ changed the topic of #ubuntu-server to: Ubuntu Server discussion and support | For general (not server specific) support, try #ubuntu | IRC Guidelines: https://wiki.ubuntu.com/IrcGuidelines | https://wiki.ubuntu.com/ServerTeam/GettingInvolved | Docs and resources: https://help.ubuntu.com/16.04/serverguide/ [16:43] Ok, I have a handfull of servers with local storage. What tech can I use to somehow pool them alltogether and present it back to the network as one large filesystem? [16:45] something like ceph probably [16:48] or export them as block devices using something like iscsi [16:49] JanC: iscsi? How would you merge all the storage in the end though? [16:58] you could in theory use RAID or a filesystem that can use multiple block devices (in this case iscsi targets), but I don't think it's really a good idea [16:58] ceph and glusterfs seem to be what I'm talking about. [16:59] yeah, they are designed for what you want [16:59] looks like ceph is in main while glusterfs is in universe though [17:01] IIRC there is also a wikipedia page that compares distributed filesystems === iberezovskiy is now known as iberezovskiy|off [17:49] on ubuntu 16, using conjure-up openstack is there a switch to specify xenial rather than trusty? [17:58] stokachu, ^^ [17:58] jgrimm: he left :\ [17:58] doh [17:58] sorry, just noticed === dzragon^ is now known as dzragon === IdleOne is now known as Guest4978 [19:57] Question: Is this the correct channel to ask an Ubuntu 16.04 boot from iSCSI question? [19:58] sure [19:59] thanks. So I am attempting to iSCSI boot Ubuntu 16.04 with IBFT. If I boot with the boot option "iscsi_auto" the iSCSI NIC is not configured. If I add all iSCSI parameters to the boot options then it boots. Could someone point me at possible configurations that would cause the IBFT boot method to fail? [20:12] I have verified that /run/net-.conf and /run/initramfs/open-iscsi.interface files are populated correctly [20:12] is there a way to have cloud-init install packages using no-install-recommends? [20:13] or should I use bootcmd to create an /etc/apt/apt.conf.d file with Install-Recommends "false"; ? [20:53] hi all, need help with getting PHP to work after a do-distupgrade 14.04 LTS to 16.04 LTS: using aptitude all php packages are marked auto. I purged all and deleted /etc/php* to start fresh. I'm getting this error: "WARNING: Module mysqli ini file doesn't exist under /etc/php/7.0/mods-available". I'm open to any ideas on how to get the Ubuntu 16.04 LTS LAMP fixed. :) [20:56] unimatrixoverlod, see the releasenotes, https://wiki.ubuntu.com/XenialXerus/ReleaseNotes#PHP_7.0 and the mysql part [20:57] I'm trying to install https://github.com/Open365/Open365/ on Ubuntu 14.04, but I'm stuck on the "pip3" commands. I know from Python experience that you NEVER run "sudo pip" *anything*, lest you mangle your packages. Yet, if I set up a virtualenv, the "sudo ./open365 install" doesn't see its packages. I am completely lost [20:59] CodeMouse92: check the output of 'sudo env', make sure it looks like what you expect [20:59] sarnold: I've never done this. I don't know what I expect [20:59] aha [20:59] I don't know enough about pip or virtualenv to say either :) [21:00] * CodeMouse92 weeps [21:08] oerheks: thank you, looking into it [21:24] Is anyone else experiencing serious problems with disk IO/load issues on 16.04.1? I fresh installed 16.04.1 on a Logical volume hosted on a RAID1 (mdadm) partition, on 7200 RPM drives, and my machines are just struggling to breathe. [21:44] After using Aptitude and purging all apache2 and php packages and deleting /etc/php* I get the message: "WARNING: Module mysqli ini file doesn't exist under /etc/php/7.0/mods-available". Anyone have any ideas on how to get mods-available with the modules? [21:45] you install php and the modules. [21:48] tomreyn: sorry I didn't say I reinstalled apache2 and php... [21:49] tomreyn: so yes they are "installed" but not working. [21:59] unimatrixoverlod: you are probably lacking some packages: apt-cache search php7 [22:04] unimatrixoverlod: http://packages.ubuntu.com/search?suite=xenial&arch=any&searchon=contents&keywords=mysqli.ini [22:04] this is for xenial, i'm not sure which release you were looking for. [22:05] * tomreyn afk [22:06] tomreyn: correct, it is for Xenial [22:12] tomreyn: http://paste.ubuntu.com/23217853/ [22:19] tomreyn: these are the packages installed for "*php*". It looks like all the correct packages are installed for PHP7 functonality. Here is the /etc/apache2/* directory: http://paste.ubuntu.com/23217873/ [22:23] tomreyn: the issue appears to be when Xenial re-installs php7 ( after a aptitude purge of PHP & rm -rf /etc/php ) [22:23] tomreyn: here is the directory for /etc/php/: http://paste.ubuntu.com/23217884/ [22:26] tomreyn: apt-get install fails to populate the /etc/php/7.0/mods-available directory [22:29] also running a2query -m show PHP7 is loaded but ALL does process as PHP: http://paste.ubuntu.com/23217903/ [22:29] ideas anyone? [22:29] have you checked the logs? [22:30] yes. i can pastebin a grep of something specific? [22:30] I know next to nothing about apache and php; "check the logs" is just my generic debugging advice :) [22:31] oh, thank you though. very wise ;) [22:33] it's amazing how well it works :) [22:40] unimatrixoverlod: can you start from the top and tell me your steps? [22:44] nacc: sure, let me type it up better. give me about 2min [22:48] unimatrixoverlod: for reference, i just did: `apt-get install libapache2-mod-php php7.0-mysqli; apt-get purge libapache2-mod-php php*; rm -rf /etc/php; apt-get install libapache2-mod-php php7.0-mysqli` and /etc/php/ is fine [22:48] that seems roughly like what you said you did [22:58] After using Aptitude and purging all apache2 and php packages and deleting /etc/php* I get this message when re-installing: "WARNING: Module mysqli ini file doesn't exist under /etc/php/7.0/mods-available". The problem appears to be that mods-available is not re-populated with the modules? #dpkg -l '*php*' | grep ii (http://paste.ubuntu.com/23217853/); #dpkg -l '*apache2*' | grep ii (http://paste.ubuntu.com/23217945/); [23:01] nacc: interesting, i've been working on this for a couple hours. i might have done something extra or "contaminated" :P my OS install. This morning i did a do-distupgrade from Ubuntu Server 14.04 LTS to Ubuntu Server 16.04 LTS. thank you for looking at my info! i can provide more info if needed [23:02] do-release-upgrade ? or apt-get dist-upgrade? [23:03] do-release-upgrade [23:03] okay :) [23:09] /etc/php/* rwl, [23:09] /etc/php/** rwl, [23:09] So there may be a "bug?": with AppArmor under 14.04 apache2 was configured for PHP being in /etc/PHP5 I believe. After upgrade to 16.04 the AppArmor apache2 configuration didn't get updates to the new PHP7 new directory: /etc/php. I had to manually add: [23:09] unimatrixoverlod: reviewing [23:09] wierd, it posted in reverse... my bad [23:11] unimatrixoverlod: in which file is that line? [23:16] nacc: /etc/apparmor.d/usr.sbin.apache2 [23:18] unimatrixoverlod: that's not controlled by php, but by 'libapache2-mod-apparmor' afaict [23:18] unimatrixoverlod: and by default, the file has no php-related contents [23:18] so yoyu must have edited the above in? [23:22] nacc: today I added "/etc/php/* rwl, /etc/php/** rwl,". The original install was Ubuntu Server 14.04 LTS with a LAMP configuration (AppArmor enabled). There would have to have been some AppArmor profile maybe? [23:23] nacc: let me check that 'libapache2-mod-apparmor' is installed. one sec. [23:24] unimatrixoverlod: fwiw, nothing seems to actually depend on libapache2-mod-apparmor, afaict [23:24] unimatrixoverlod: package wise [23:24] nacc: good catch! the package: 'libapache2-mod-apparmor' is not installed. fixing. [23:25] you might want to get things working before adding apparmor into the mix [23:25] * nacc was going to say that next :) [23:25] * sarnold ^5s nacc [23:25] sarnold: suggestion noted :) [23:25] mostly because it feels like you might be missing other pacakges too, if you're missing that one [23:26] the do-release-upgrade did remove a lot of packages... [23:27] unimatrixoverlod: so you're still getting an error message, right? [23:27] can you pastebin dpkg -L php7.0-mysql [23:30] nacc: dpkg -L php7.0-mysql is up at: http://paste.ubuntu.com/23218041/ [23:32] nacc: ok i re-executing the following to test: `apt-get install libapache2-mod-php php7.0-mysqli; apt-get purge libapache2-mod-php php*; rm -rf /etc/php; apt-get install libapache2-mod-php php7.0-mysqli` [23:34] unimatrixoverlod: did you get messages like: http://paste.ubuntu.com/23218056/ [23:46] nacc: so i modified one step to grab php7 packages as well: `apt-get purge libapache2-mod-php php* php7.0*` [23:46] nacc: the result is at http://paste.ubuntu.com/23218097/ [23:46] unimatrixoverlod: well, php7.0 is a proper subset of php* [23:48] nacc: lol, yes... [23:48] nacc: maybe it was more for my sake :D [23:48] you can notice lines like: "WARNING: Module xsl ini file doesn't exist under /etc/php/7.0/mods-available" [23:49] now to install... one sec. [23:50] ok wow! [23:50] nice, under "Setting up php7.0-common" it's listing updates to mods-available [23:52] good [23:52] unimatrixoverlod: yes, let me see if i saw that on my lxd [23:54] unimatrixoverlod: i did not get any such errors [23:54] i wonder if it's detecting your old php5 configuration [23:57] nacc: yes, it was running php5 previously... I purged all of anything PHP and then "rm -rf /etc/php/" The [23:57] nacc: the "php7.0-common" seemed to repolulate the mods-available directory [23:58] unimatrixoverlod: ok [23:59] Thank you everyone for your help. It means a lot and why I do Ubuntu :D