/srv/irclogs.ubuntu.com/2015/05/21/#ubuntu-server.txt

=== Lingo is now known as IronDev
=== Lcawte is now known as Lcawte|Away
=== zz_DenBeiren is now known as DenBeiren
=== markthomas|away is now known as markthomas
jrwrenhow can I run debian jessie in lxc with network?01:45
jrwrentrusty runs fine in lxc with network, but jessie, as setup by the download lxc template doesn't bring network interface up01:46
jrwrenno /run/network dir and so ifup fails /run/network/.ifstate.lock01:46
=== markthomas_ is now known as markthomas
=== markthomas is now known as markthomas|away
radish_good morning!06:15
radish_regarding the logjam exploit, is it planned to backport http://httpd.apache.org/docs/trunk/mod/mod_ssl.html#sslopensslconfcmd functionality to Ubuntu 12.04 (apache2/mod_ssl)?06:15
sarnoldgood morning radish_; that's currently under investigation; it may require backporting pieces of openssl functionality as well06:22
=== kickinzA|afk is now known as kickinz1
=== Lcawte|Away is now known as Lcawte
StathisAI need some help. How can I have automatic "sudo apt-get update" but NOT download the updates? somehow I have configured it to check for updates and download them if they exist, but I need only to check - not download unless I do it manually08:35
StathisAeven though i have "APT::Periodic::Download-Upgradeable-Packages "0";" in  /etc/apt/apt.conf.d/10periodic08:38
ogra_perhaps with the --download-only switch ?08:38
ogra_oh, update08:38
ogra_ignore me08:38
StathisAand no allowed origins in  /etc/apt/apt.conf.d/10periodic08:40
StathisAbut my systems still download the updates - not install them, just download which is annoying08:41
OpenTokixapt-get -update --no-download08:41
OpenTokixapt-get update --no-download08:41
StathisAwhere do I config this in "unattended-upgrades" config?08:42
StathisAi'm not referring to manual "sudo apt-get update"08:42
StathisAthis is done automatically08:43
OpenTokixStathisA: I am not sure what you want. - you want unattended upgrades running, but not upgrade?08:44
StathisAok here's the thing. I have installed "unattended-upgrades" package, and I have configured it to NOT upgrade anything but do a "sudo apt-get update" periodically and get a notification with "apticron" that updates are needed08:48
StathisAthis is working as intended, nothing is getting installed automatically08:48
StathisAbut as soon as it checks for the updates, it downloads them too08:48
StathisAwhich is not wanted08:48
=== ashleyd is now known as ashd
StathisAnow as soon as I login to a server, I can sudo apt-get dist-upgrade and the system installs the downloaded updates08:49
StathisAI just dont want it to download them automatically, since this is getting run on multiple systems, and we end up starving for bandwidth when this occues08:49
StathisAoccurs08:49
kickinz1StathisA, I know it is not what you are looking for, but why not put one apt proxy in your infrastructure, i.e. apt-cacher-ng, that will cache only the necessary packages? This way each time you update your servers, you will only download one time from external archive.08:51
OpenTokixkickinz1: +108:54
StathisAkickinz1, this is a good advice, but a but a bit of an overkill for what I want to achieve08:57
kickinz1StathisA, not so overkill, you need just to apt-get install apt-cache-ng, then add a /etc/apt/apt.conf.d/01Proxy file with 'acquire::http:Proxy "http://ip.of.the.prox:3142";' line in it to your servers. Now each time a server download a package, it will be cache for use by the others, it is not a full mirror.09:01
StathisAeven if I go that way, the server will still "download" the update from the cacher - which is exactly what I want to avoid09:02
StathisAit just minimizes internet b/w09:03
StathisAI dont mind systems -checking- for updates over the internet, thats not too much of a hassle09:03
StathisAI dont wat systems to download stuff automatically09:04
StathisA*want09:04
=== ashleyd is now known as ashd
shaunoBased on https://wiki.debian.org/UnattendedUpgrades  it looks like you're looking for the APT::Periodic::Download-Upgradeable-Packages  line09:05
kickinz1StathisA, I asked mvo, who is the writer og unattended-upgrades, and the maintainer of apt.09:05
kickinz1StathisA, it is in /etc/apt/apt.conf.d/20auto-upgrades09:06
shaunoalthough if you're just fighting with local network saturation, I'd be tempted to just offset the cron jobs so they're not all running at the same time09:06
kickinz150auto-upgrades on my server.09:06
StathisAi can see 20auto-upgrades in mine09:07
StathisAwhat do I change?09:07
StathisAnothing to resemble "auto-download"09:07
StathisAjust APT::Periodic::Update-Package-Lists "1";09:08
StathisAAPT::Periodic::Unattended-Upgrade "1";09:08
StathisAi do have "APT::Periodic::Download-Upgradeable-Packages "0";" in 10periodic09:13
StathisAbut no such option in the default 20auto-upgrades09:14
StathisAI could add it, but i'm not sure09:14
=== ashleyd is now known as ashd
kickinz1mvo: StathisA would like to know how to disable the downloading of upgrades, so unattended-upgrades just tells the admin he has to update things manually.09:27
kickinz1mvo: nut don't download automatically packages.09:27
StathisAhello, mvo09:28
mvoStathisA: best is probably to edit /etc/cron.daily/apt and put --dry-run behind unattended-upgrades09:28
StathisAthanks for helping on this, much appreciated09:28
mvoups, sorry09:29
StathisA?09:31
barnexHello. I've been installing various linux distros on various vm and computers, but I've never been in a real server room with rack servers. Is there something special I need to know to install on IBM System x3650 M4?09:32
kickinz1StathisA, I think mvo meant sorry for he went out of the channel, and came back.09:32
barnexLike should I expect them to have some sort of keyboard/monitor setup ready that will work with no configuration?09:32
StathisAoh ok, I dont see joins/leaves09:32
mvoStathisA: yeah, I accidently closed the window09:32
barnexalso does USB boot commonly works on systems like this?09:32
StathisAthis will still allow apticron to send the notification about the existing updates i guess09:33
kickinz1barnex, you might encouter troubles on those if you install debian (due to ethernet drivers), for ubuntu, it is quite satndard install.09:33
=== ashleyd is now known as ashd
barnexSo I can go there with USB stick only and expect to complete the installation? No PXE setups, serial consoles and stuff like that?09:37
StathisAmvo, in /etc/apt/apt.conf.d there's a section "# download all upgradeable packages (if it is requested)09:38
StathisA"09:38
StathisAperhaps I need to do something there to avoid the download09:38
mvoStathisA: the default it "0" for that option, do you have a different value there?09:38
kickinz1barnex: it depends, if you want unattended install, you need to either make your own preseed and provide a way to make it load at boot (i.e. mod the usb, or PXE, or a Maas). If you want it to install without any keyboard/display, you will need some tools outside of your server.09:39
StathisAin 10periodic i got "APT::Periodic::Download-Upgradeable-Packages "0"09:39
StathisAin 20auto-upgrades, i dont have it at all09:39
StathisAbut somehow updates are still getting downloaded09:40
mvoStathisA: did you try if unattended-upgrades --dry-run also downloads the packages? it might do that, the reason is that for e..g. conf-file prompts it needs to inspect the data inside the package09:40
kickinz1barnex, I meant install is standard as any othe machine (I had previous x3650M3), but it won't be magic, it will still ask what you want to do (patitionning, language, etc...)09:40
StathisAwell there's not packages to download atm09:40
mvoStathisA: if so, we need a new option for u-u09:40
barnexkickinz1: thanks. So basically I need more info about what kind of infrastructure do they have on-site09:40
barnexif there's some sort of screen and keyboard I could borrow or some other setup needed09:40
StathisAso I cannot really check what its gonna do next time it finds updates09:41
kickinz1barnex, except if you go MAAS/PXE/Preseed way, but you still will need some access to the server.09:41
kickinz1barnex: yes you will need a keyboard/display.09:41
StathisAheh, i'm not asking for something radical like adding a new option. I thought that maybe someone else wanted this and found a way ><09:42
davegarathHi all, I have this problem : /dev/loop0p1: read failed after 0 of 4096 at 257884160: Input/output error.  How can I identify where loop point to ?09:42
mvoStathisA: you could use "/usr/lib/update-notifier/apt_check.py --human-readable09:44
mvo"09:44
StathisA0 packages can be updated.09:45
StathisA0 updates are security updates.09:45
* mvo needs to leave for some minutes to get lunch, bbiab09:47
=== ashleyd is now known as ashd
=== kickinz1 is now known as kickinz1|afk
=== ashleyd is now known as ashd
=== ashleyd is now known as ashd
=== ashleyd is now known as ashd
=== ashleyd is now known as ashd
=== kickinz1|afk is now known as kickinz1
=== ashleyd is now known as ashd
=== ashleyd is now known as ashd
eagles0513875__hey all what do i need to do to keep from being disconnected when my ssh session is left idle11:34
OpenTokixeagles0513875__: -o TCPKeepAlive11:35
ikoniaalthough that won't help if it's the network device killing idle11:35
OpenTokixtrue11:35
OpenTokix-o ServerAliveInterval=30 -o TCPKeepAlive=Yes11:36
OpenTokixbest you can do11:36
eagles0513875__OpenTokix: in which configuration file though11:36
ikoniaeagles0513875__: think about it11:36
OpenTokix.ssh/config11:36
OpenTokixeagles0513875__: or as a alias11:36
ikoniaeagles0513875__: are you making a server or client config11:37
=== ashleyd is now known as ashd
=== ashleyd is now known as ashd
=== Thorn__ is now known as Thorn
=== _ruben_ is now known as _ruben
wimpogHowdy Y’all! I have two servers running 14.04.2: one was provisioned by my hosting provider, and another one – by me. When I apply updates to both of them, sometimes I have to reboot the one that I installed, especially for linux header updates, but it never prompts to reboot the one provisioned by the hosting provider. What’s the difference?13:09
ikoniaare they physical tin or virtual13:09
wimpogikonia: the one that I have to reboot is virtual, the other (no reboot required) is physical13:10
sponzorhi. can anyone help me how to add read only user to samba share?13:11
wimpogikonia: could this be the reason?13:12
ikoniawimpog:is it asking you to reboot ?13:12
ikoniaI suspect if it's kernel headers it's because the kernel is being provided from the hypervisor so you need to reboot to pick up differences as it's locekd at the hypervisor13:12
wimpogikonia: I have webmin on both and apply updates through it on both. The virtual one sometimes prompts for a reboot, especially happens when new kernel headers are applied, and the physical one never does that.13:13
ikoniawimpog: there we go - webmin13:14
ikoniaat that point, I'll back away from this discussion13:14
ikoniawimpog: webmin is an unsupported and not-recommended product,13:14
wimpogikonia: Oh ok. But I believe I also saw a prompt for a reboot at the command line13:14
ikoniawimpog: not going to support your box with webmin on, sorry13:15
wimpogikonia: No, I’m not looking for support. I’m just wondering why the same OS on two different machines – one prompts for a reboot and one doesn’t. I think your explaination that the one is VM makes a lot of sense13:15
wimpogikonia: next time I apply updates I will take note of it...13:16
ikoniawimpog: you are looking for support, you're asking for help as to why you are seeing different situations13:16
wimpogikonia: yeah, is that bad?13:16
ikoniano, I just said I won't support your machines with webmin13:17
=== ashleyd is now known as ashd
wimpogikonia: ok, thanks. Not sure what’s wrong with webmin, and I only use it to check mailqueue and apply security updates… and maybe restart apache… that’s about it. Nothing more complex13:19
rsullywimpog would be worth learning how to do that from the shell, pretty simple stuff13:21
wimpogikonia: ok, thanks!13:22
pmatuliswimpog: webmin is considered hostile on ubuntu. don't use it. at all13:24
wimpogpmatulis: ok, I will not. I didn’t know that it wasn’t desired. and yes rsully I can do all that from the shell, just quicker from webmin13:25
rsullywimpog when asking for help you should simplify the problem as much as possible, which means few dependencies. update from shell, see if you get prompted there.13:26
pmatuliswimpog: once you learn the shell and other basic things webmin will seem very slow and clunky13:26
wimpogrsully: yeah. Definitely do it from shell next time and see what happens…13:26
wimpogpmatulis: yeah, thanks!13:27
=== ashleyd is now known as ashd
=== ashleyd is now known as ashd
eagles0513875__hey guys how does one go about testing upstart scripts?13:50
=== ashleyd is now known as ashd
=== ashleyd is now known as ashd
=== DenBeiren is now known as zz_DenBeiren
=== ashleyd is now known as ashd
=== Kick is now known as Guest72582
=== Guest72582 is now known as kickinz1_
=== kickinz1_ is now known as kickinz2
=== kickinz2 is now known as kickinz1_
=== ashleyd is now known as ashd
=== ashleyd is now known as ashd
=== ashleyd is now known as ashd
=== ashleyd is now known as ashd
=== ashleyd is now known as ashd
=== markthomas|away is now known as markthomas
=== kickinz1_ is now known as kickinz1|afk
rattkingHi! is anyone here using a Broadcom NetXtreme II BCM57800 netword card?16:11
rattkingI am plauged with "bnx2x 0000:01;00.2 eth2: MDC/MDIO access timeout” errors on 12.04.05 with the 3.13 series kernels..16:12
patdk-wknope16:15
rattkingthats fortunate I am not having any luck getting this thing to work :)16:18
=== ashleyd is now known as ashd
tewardis anyone aware of any case where systemd fails security expectations and threads of processes/services' master process get started as root instead of the user it's set to run as?16:34
Walexeagles0513875__: that's an interesting question :-)16:44
Walexeagles0513875__: of course you must add them to '/etc/init/' which is an interesting situation.16:44
tewardnevermind, my situation is unique, and actually my fault16:58
teward:/16:58
* teward kicks himself around the room16:59
sponzorhi. i have degraded storage (raid5) if i remove mount point from /etc/fstab (raid storage) and then reboot will boot skip this array check? or do i have somewhere else also to edit boot process?17:40
sponzorim working on remote.. so i dont want to be stuck at boot control d and that.. :)17:44
tychicushardware raid 5 or software raid5?17:50
sponzorsoftware17:50
tychicusand you have a separate boot disk?17:54
sponzoryes17:55
sponzorthis is only storage17:55
sponzorboot and lvm is separeted on raid1 2 different hard drives17:56
sponzoranything? :P18:02
tychicusmy thought is that you should be ok, but I'm not 100% certian18:03
tychicusI know that there is the —freeze-reshape option18:04
tychicusbut I don't think it applies in this case18:04
=== sponzor- is now known as sponzor
dannfhallyn_: is there a git tree somewhere w/ the latest qemu/ubuntu uploads in it?18:10
sponzor-ok server came back up so # at raid line in fstab worked fine :)18:11
hallyn_dannf: the latest version for development release is in the debian git tree,18:12
hallyn_git://anonscm.debian.org/pkg-qemu/qemu.git18:12
dannfhallyn_: ah - which branch?18:12
hallyn_ubuntu-dev branch18:12
dannfok18:12
dannfhallyn_: looks like it's just back due to security updates18:13
dannfs/back/out-of-date/18:13
dannfbut that's good enough for me atm18:13
hallyn_oh, yeah18:13
hallyn_i need to import those - i was going to do that the next time that i merge (which i wanted to do this week, but probably wont' get to)18:13
=== Lcawte is now known as Lcawte|Away
tarvidwhere should ipset be initialized18:32
Forbidd3nI can FTP using FileZilla, but when I try to do it via command line it logs in I can change directories, but I get this error if I try to put or list directory - 550 Command PORT failed18:36
patdk-wkForbidd3n, that is expected when your using nat18:51
Forbidd3npatdk-wk: it tries to get a directory listing and therefore won't allow me to upload any files18:54
patdk-wkyes, that is expected18:54
tarvidls18:55
patdk-wkForbidd3n, if you want to make it work, fix your firewalls18:56
patdk-wkotherwise, don't use PORT command18:56
ay_carambahey guys, during a fresh install of Ubuntu-Server 14.01 when you're prompted to put the machine's hostname, if I do a FQDN there when I log into the box would the hostname display the FQDN or just the hostname part?19:01
quanticay_caramba: just the hostname part19:01
ay_carambacool, thanks quantic19:02
quanticay_caramba: i used an fqdn when i installed this - hostname shows shortname, hostname -f shows fqdn19:02
ay_carambagot it19:02
Forbidd3npatdk-wk: what exactly do I need to do to the firewalls on the remote server for this to work?19:17
patdk-wkI dunno19:28
patdk-wkand I never said it was the remote server that was the problem19:28
patdk-wkthe remote server must be able to make a connection from it, back to you19:28
patdk-wkso it must be allowed to make outgoing connections19:28
patdk-wkyour firewall must accept those connections, and send them to your computer19:28
patdk-wknormally when one uses nat, this is broken, cause the firewall has no idea where to send these connections to, so it rejects them19:28
patdk-wkthis is why nat is bad19:28
patdk-wkthis is also why people don't use ftp19:28
patdk-wkbesides it's insecure, full of problems, ...19:28
tewardanyone fluent in udev rules?19:32
tewardneed some assistance19:32
pmatulisForbidd3n: describe your requirements. maybe you don't need FTP19:33
RoyKForbidd3n: don't use FTP19:33
Forbidd3nnvm I have it working thanks19:33
RoyKdon't use antique protocols - I'm learning that the hard way since my boss chose to stick to Amanda backup until we've found something to replace it with - so we've used some weeks swearing about this :P19:34
RoyKinstead of just ditching the PoS and installing bacula or something - it'd taken far less amount of work and given a better result in the end19:35
* RoyK is a *wee* bit frustrated19:35
szronikWWHat's the best way for me to remotely edit file on my Apache server?20:12
szronikAnyone there?20:15
geniiszronik: Likely most are currently occupied. Best to just wait a while, maybe ask again in 12-15 minutes after more people have left and arrived in the channel20:17
szronikgenii: Okay, thanks.20:22
szronikWhat's the best way to remotely edit a file on my Apache server? I would like to edit the files directly in Sublime on my Windows machine.20:58
YamakasYdoes anyone know where I can get a newer sssd version for 14.04 ?20:59
PryMar56szronik, find an editor with sftp support20:59
szronikWell I thought of a couple of solutions21:00
szronik1. Sync the files via ftp21:00
szronik2. Use samba to share the dir21:00
rsullyszronik is the server on your lan?21:00
szronik3. Edit in Sublime and upload/repeat as needed21:01
szronikYes, on the LAN21:01
rsullyGenerally it is best to use version control like git, and some type of deployment21:01
rsullyOtherwise I would personally use SFTP and an editor21:01
szronikWhat do you mean by some type of deployment?21:01
rattkingssh and vim is always a option if you dont use any managment system like salt,puppet,chef21:02
szronikI just said I want to use Sublime though, not vim.21:03
szronikI can already ssh and use vim if I wanted to, but that's not what I need.21:04
rattkingso then you are asking us how to transfer a file to you r server?21:07
szronikNo, I'm asking about the best way to edit the file remotely.21:07
szronikBut I want to edit it on another machine, in Sublime.21:08
szronikI could just create a share using samba, any other way?21:08
qman__szronik: sshfs21:12
qman__Oh, windows client21:13
qman__Not sure if there's anything else21:13
szronikI guess I'll just edit and upload.21:13
RoyKszronik: vim21:14
rattkingheh21:14
RoyKor "nano" if you're a realy newbie https://xkcd.com/378/21:15
szronikthere goes vim again ;-)21:17
qman__Vim is what I use, too21:18
RoyKszronik: try vimtutor21:21
RoyKszronik: a command to start a tutor to vim - it's rather good21:21
tiblockHi. I have newbie question. For example i made project "myproject", where i need to store it on server? /root/myproject/ or /srv/myproject/ or /var/myproject/ or ...?21:34
=== ashleyd is now known as ashd
concordia71ciao21:37
concordia71qualcuno parla italiano21:37
szroniktiblock: store it in your home directory: echo ~/21:38
tiblockszronik, thank you21:39
stephenhhello, is there a way to specify protocol number with ufw?  not seeing example so far ..22:37
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away

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