=== N0DE` is now known as CripperZ-
=== deny_ is now known as misterpink
=== Sachiru is now known as Guest15651
=== Sachiru_ is now known as Sachiru
blaaaAre the nosuid, nodev and noexec permissions generally safe to use for the /tmp filesystem on a server? I have found some daemons which write executable files to /tmp...06:55
=== Beliq_ is now known as Beliq
=== a1berto_ is now known as a1berto
yoyo09kh3is there a way to set upstart log size limits?07:48
=== Lcawte|Away is now known as Lcawte
jamespagejodh, do you know the answer to yoyo09kh3's question?08:04
jeffreylevesqueI tried installing Ubuntu server 14.04, and got the same error as http://ubuntuforums.org/showthread.php?t=198102011:32
jeffreylevesqueI couldn't install grub, so I installed LILO during installation11:32
peetaur2jeffreylevesque: try putting a UUID in there.... it's stupid to use ambiguous device names11:46
peetaur2blkid lists the UUIDs11:46
peetaur2put a UUID in fstab and run update-grub, and it will probably do it for you11:46
peetaur2(for boot and root)11:46
peetaur2sometimes "root" in grub files means /boot11:46
jeffreylevesquepeetaur2:  What iare UUID?11:48
peetaur2universal unique id11:49
peetaur2the ones listed by blkid are in the filesystem header stuff11:50
jeffreylevesqueHow so I get those?11:50
peetaur2blkid .... already said that11:50
jeffreylevesquepeetaur2: http://tinypic.com/r/256bbj4/811:50
peetaur2jeffreylevesque: that has no POSIX file systems listed11:52
peetaur2eg. ext411:52
jeffreylevesquepeetaur2: How do I get that information, sorry I get disconnected on my iPhone (since laptop in inoperable)12:03
peetaur2run "blkid" and it prints it on screen12:08
jeffreylevesquepeetaur2: Got it12:12
jeffreylevesqueI see the uuid's12:12
jeffreylevesquepeetaur2: where do I assign these UUID's?12:14
peetaur2put them in fstab without the "12:17
peetaur2UUID=...    /   ext4  blah blah12:17
peetaur2just replace /dev/... with UUID=... without any quotes12:17
peetaur2and then run:    update-initramfs -u      and then run    update-grub12:18
peetaur2to do that properly, you should be in a chroot or in the root system, not just mounted in /mnt/ or whatever12:18
jeffreylevesquepeetaur2: The terminal is prefixed with (initramfs).  How do I get I to chroot?12:19
peetaur2well you can't chroot from there... but it is possible to get it to finish booting (but not easy) with some manual commands12:20
peetaur2you should use a LiveCD or rescue cd12:20
jeffreylevesquecd /root?12:20
peetaur2the Ubuntu installer rescue mode should offer to chroot for you already12:21
peetaur2no... you have to get root mounted, then mount dev, proc, sys in there, then "chroot /whereveryoumountedit/"12:21
peetaur2and on initramfs you are missing all the commands to do that12:21
jeffreylevesqueI put the usb installer in.  Do i go in rescue mode?12:22
jeffreylevesquepeetaur2: Where is the fstab file located12:23
jeffreylevesqueI'm doing the rescue mode12:23
peetaur2fstab is /etc/fstab ... and if you have to ask, yo7u should back it up first.    cp /etc/fstab /etc/fstab.bak12:24
peetaur2what I do when there's no mouse copy & paste is to run:      blkid >> /etc/fstab       (>> not > or you delete the file)12:24
peetaur2and then edit it with vim, and remove the unwanted lines, and copy and paste12:24
peetaur2and if you don't know vim, use another editor12:24
jeffreylevesquepeetaur2: I can cd into '/etc' without doing any unmounting in 'initramfs'. But, there is no fstab12:28
peetaur2/etc and everything in your initramfs are inside the initramfs archive... not the real root12:39
jeffreylevesquepeetaur2: I booted from USB and I did ls, I can see the file now fstab.  But, if I try to use pico or vim, it says /bin/sh: vim: not found12:52
peetaur2okay so use nano or vi12:54
peetaur2or get in the proper rescue that does the chroot... if you get that one, it'll have whatever your broken OS had installed (and it should come with vi even if not vim and nano and pico)12:54
jeffreylevesqueThat worked12:55
peetaur2also your chroot should probably have apt-get working... you can even install things12:58
jeffreylevesqueIm at a library.  So i dont have internet access with their firewall thing12:59
jeffreylevesquepeetaur2: I hope fstab changes will work, otherwise I have to go home13:00
peetaur2jeffreylevesque: you also ran these, right?    pdate-initramfs -u  ;  update-grub13:03
peetaur2first puts the info in the initramfs, and 2nd puts it in grub.cfg13:03
jeffreylevesqueIn the shell before modifying fstab?13:03
peetaur2those commands read fstab13:05
jeffreylevesqueFstab has no defined UUID's13:08
jeffreylevesquepeetaur2: There are four lines the first column for each is "none"13:09
jeffreylevesqueMy phone is about to die13:09
jeffreylevesqueHave to go home13:09
jeffreylevesqueI took notes of what you said13:10
jeffreylevesqueSecond column reads /dev/pts, /run, /proc, /sys13:10
jeffreylevesqueThird column: devpts, tmpfs, proc, sysfs13:11
jeffreylevesqueFourth, defaults;  nosuid,size=10%,mode=755;  0;  013:12
jeffreylevesqueThe rest of the columns are 0s or blank13:12
peetaur2only modify the / and /boot lines13:13
peetaur2just change the first column, nothing more13:13
peetaur2and back up the files13:13
peetaur2if you are unsure, always back up anything you edit, especially things required for booting13:13
stmillerThe EC2 apt repositories for 12.10 were pulled down immediately when 12.10 went EOL. Does anyone know if 13.10 EC2 repos will remain online? Right now they are (which is a good thing for me at the moment).13:14
stmillerex: http://us-east-1.ec2.archive.ubuntu.com   repositories used by EC2 images13:15
jeffreylevesqueOk, created a backup13:15
cfhowlettstmiller don't plan on it.  end of life = end of support.  suggest you upgrade to long term support version : 14.0413:15
stmillercfhowlett I know - upgrade is in the works. I am looking for any dates or indications for 13.10 status and those repositories. Otherwise, EC2 automation with 13.10 images is out of luck.13:16
zartooshHI we are developing linux boxes which should have identical system configuration and Os (ubuntu 14.04).  This boxes will boot in UEFI mode. I like to know whether the grub file /boot/efi/EFI/ubuntu/grubx86.efi will be identical for all system, or has some dependencies to installed system?  thx13:26
TJ-zartoosh: identical on all, the boot images are secure-boot compatible and therefore using signing just-in-case Secure Boot is enabled13:43
jeffreylevesqueI found IRC as a webservice13:47
jeffreylevesquepeetaur2, https://github.com/jeff1evesque/audio-analyzer/issues/351#issuecomment-4987061213:48
peetaur2jeffreylevesque: ooookay that makes no sense.  I said to enter the UUIDs for boot and root, but you did it for /dev/pts. And you set it to an exfat partition ... which won't work. And blkid doesn't list any POSIX file systems, so I don't think you have any bootable Linux system there.13:56
zetheroo1service networking restart doesn't seem to work for me ... this is what it reports: stop: Job failed while stopping & start: Job is already running: networking13:57
peetaur2maybe when you edited fstab, it was not you root, but the live system. Check that with "df" and see which device is mounted on /13:57
jeffreylevesquepeetaur2, what should the partition be, ntfs?13:57
peetaur2jeffreylevesque: you need to find your Linux install .... and it shoudl be a POSIX system:   ext4, ext3, reiserfs, xfs, btrfs (don't use that), etc.13:57
zetheroo1I used to be able to use /etc/init.d/networking restart successfully in Ubuntu, but now that too doesn't work13:58
peetaur2not exfat, vfat, fat32, ntfs13:58
peetaur2and don't break your old ntfs partitions unless you know what you are doing13:58
peetaur2back them up13:58
peetaur2make sure to format something that Linux can install to (I suggest ext4, the default choice)13:59
jeffreylevesquepeetaur2, i created the exfat partition yesterday so i could tell which partition i was going to use (stand out against the current ntfs).  I thought ubuntu installer would allow me to erase the exfat partition, and use it accordingly for the Ubuntu Server13:59
peetaur2zetheroo1: in 14.04, that script is disabled without telling you. It's a feature. You have to use "ifdown $device" and "ifup $device" now13:59
jeffreylevesqueHow do I remove the partition entirely?14:00
zetheroo1so if I change something in /etc/network/interfaces how do I get all the changes applied in one go?14:00
peetaur2zetheroo1: ifdown is a stupid non-equivalent though.. for example it won't take down an interface that you removed from /etc/network/interfaces ... for that use:    ip a del ipgoeshere/bits dev $device     (CIDR notation)14:00
zetheroo1peetaur2: that is extremely annoying14:01
peetaur2it is almost sane.... but makes no sense to just make the script return 0 and print no warnings.  yes... extremely annoying.14:01
peetaur2jeffreylevesque: select one in that partition editor you showed me in a screenshot earlier, and say to remove it14:01
zetheroo1peetaur2: I am configuring bonding and bridging in the interfaces file and I want it all implemented like in 12.04 ... :P14:01
peetaur2jeffreylevesque: but make sure! if you delete your windows partitino, it won't be a dual boot.... it'll be Linux only14:02
jeffreylevesquepeetaur2, my windows partition is important.  I can't delete that14:02
zetheroo1so the command "service networking restart" is also useless!?14:02
jeffreylevesquepeetaur2, I'm going to record the results of "df"14:03
zetheroo1restarting the machine is almost simpler then using this ifdown/up stuff :P14:06
jeffreylevesquepeetaur2, https://github.com/jeff1evesque/audio-analyzer/issues/351#issuecomment-4987790314:07
peetaur2jeffreylevesque: make sure you back it up ... if you're not very familiar with this stuff, it is at risk if you continue without a backup14:07
jeffreylevesquepeetaur, I cant' access either partitions at the moment14:08
peetaur2jeffreylevesque: okay so from that df, I'd say you don't have your linux filesystem mounted.14:08
peetaur2jeffreylevesque: well you should find some way to back it up ... one way is to use dd and copy the image to another equal sized disk (in this case the other disk will even boot windows)14:09
peetaur2if it's a different sized disk, it will still copy but it is harder to restore and won't boot14:09
jeffreylevesquepeetaur2, how can you tell that linux is not mounted, and how do I remove the exfat partition.  I guess I'd like the laptop to be able to boot into windows again.  Then, I will try to setup this ubuntu installation again14:10
peetaur2if it was mounted, it should show a real disk in the leftmost column, like /dev/sda3 and on the mountpoint column, it would say /14:11
peetaur2seeing nothing mounted on / means it's some weird hack like a rescue with some weird root that isn't mounted normally14:12
peetaur2maybe you would be best with a gparted live cd for removing the exfat partition14:13
peetaur2there are lots of ways, but the gparted gui would be easiest14:13
peetaur2gparted can also work in any GUI LiveCD; don't need a special CD14:13
peetaur2but the installer has no GUI14:13
jeffreylevesquepeetaur2, is the best way to remove this phantom ubuntu so my machine boots back up to windows 7, is to use gpart?  Or can I restore my machine another way?14:16
peetaur2to make windows boot, you need a proper GRUB installation or some other bootloader. The easiest would be to use the windows cd to reinstall the windows bootloader maybe. I don't know the details on that, but you can ask in ##windows14:18
peetaur2I think you should (1) back up everything (2) plan your partitioning.... reserve some space for windows, and for linux, and try to use fewer partitions (3) change your partitions and leave an empty one for Linux (4) install Linux there14:19
peetaur2and for dual boot there are more details that I'm not to familar with ...14:19
micmacso I have an outdated server running ubuntu 11.10, and I'm willing to do an upgrade to 12.04 LTS. the server is in production, so i wish i could do this upgrade at night unattended.14:28
micmacI have read about the DistUpgradeViewNonInteractive flag which should agree to every default prompt14:28
micmacI have many services, like dovecot, postfix, and so on with custom configuration (virtual aliases...), how can I know the upgrade will not break everything ?14:29
micmacwhere can I read about the changes of every packages/services ?14:29
micmacdo I really have to read all the changes? or should it work right away (backward compatibility in the /etc config?)14:30
=== cripperz is now known as CripperZ
=== CripperZ is now known as N0DE`
peetaur2micmac: the update will break everything... back it up14:38
peetaur2micmac: ... is a good assumption to keep you safe. ;)14:38
micmacI do backups regularly14:39
peetaur2micmac: ubuntu release update deleted my /etc/openvpn once, including private keys. In such cases, only the backup will save you.14:39
cfhowlettmicmac assume breakage.  have plans to restore and reconfigure your system and pull the trigger14:39
micmachmm I could try to clone the server into a VM, then launch the do-release-upgrade, and then check if the services are ok14:42
micmacthen apply to the original14:42
micmac(still with backups)14:43
micmacI guess some of the services could have major changes, others would not, depends on the ones I'm using14:43
peetaur2testing like that can be good. Might take some time, but might save you a headache.14:44
micmacmight be better than reading all the doc too..14:44
cfhowlettmicmac actually, peetaur2 brings up an excellent suggestion.  As you have a production server and need to minimized downtime, you might consider mirroring your present setup on a different box.  then upgrade that and see how it behaves before you go to working box14:45
micmacwill do that14:47
=== Solution-X is now known as Solution-X|AFK
=== chmurifree is now known as chmuri
zartooshTJ-, thank you so much you did understand me main reason I was asking this question, it is of Secure Boot. Many thanks again for your answer.15:32
lordievaderGood afternoon.15:40
=== TDog_ is now known as TDog
CooLBALL1what is a chroot?16:11
CooLBALL1is it a template for clients on a server?16:12
TJ-CooLBALL1: see https://help.ubuntu.com/community/BasicChroot16:12
CooLBALL1i want to set up a server that runs applications that fat clients can use16:16
CooLBALL1are openSSH LAMP and postgreSQL required for this type of server?16:17
patdk-wkhow should we know?16:21
patdk-wkthat would depend on what the *applications* are16:21
patdk-wkand how you configure them16:21
=== Ursinha is now known as Ursinha-afk
DeltaHeavyI'm getting the following error when running a test on my config for SSL, and through Googling as far as I can tell everything seems to be in line. Anybody have any idea what's wrong, or anything I should be looking into?17:27
DeltaHeavyError: http://p.ngx.cc/c7 - Config: http://p.ngx.cc/d817:27
sarnoldDeltaHeavy: why are you trying to use a certificate signing request instead of a certificate or a keyfile?17:32
DeltaHeavysarnold: Yeah, I just realized I can download a set of certs. I forgot I needed one signed. Thanks17:36
=== Ursinha-afk is now known as Ursinha
sarnoldhallyn: http://www.openwall.com/lists/oss-security/2014/07/23/1017:48
hallynsigh, every time you post a link from there i have to worry17:49
sarnoldhallyn: sorry :)17:51
hallynsarnold: that shoulda been easy to spot.  hope i didn't review the patch that went in through17:51
hallynsarnold: what about this one specially interests you?17:51
hallynsuppose this coudl explain why rootfs sometiems doesnt' cleanly umount17:52
sarnoldhallyn: heh, that's always my fear too, "please don't let this one be one I've overlooked'17:52
hallynheck this could explain why the installer hasn't been cleanly umounting for psivaa and plars.  maybe :)17:52
sarnoldhallyn: mostly that root-in-container seems to be enough to able to trigger it17:52
hallyndo you need that?17:52
hallyni thought it said an unpriv user can do it17:52
sarnoldthat -might- just be an artifact of how it affected RHEL?17:53
DeltaHeavyI put these lines at the bottom of /etc/ssh/sshd_config and now I can't connect via my SFTP client. I have this identical config on another server so I'm unsure why it's doing this. Users NOT in the group 'sftp' work though - https://www.refheap.com/8851818:17
sarnoldDeltaHeavy: check error messages in the logs?18:18
DeltaHeavyBah, true.18:18
DeltaHeavysarnold: Got it working, home directory of the SFTP account had to be owned by root18:23
jeffreylevesquecould someone assist me.  I messed up by ubuntu server installation18:24
sarnoldDeltaHeavy: nice. :)18:24
DeltaHeavyjeffreylevesque: What's wrong?18:25
jeffreylevesqueI decreased my C: drive to allow a large enough partition for a dualboot into Ubuntu.  I couldn't decifer which partition I created for ubuntu during install.  So I booted back in windows 7, and made the extra space exFat partition, this way i could tell when I attempted to install ubuntu, hoping ubuntu would reformat the partition as needed.18:25
sarnoldjeffreylevesque: irc tends to work best if you just ask questions :) see DeltaHeavy's question for a good example :)18:25
jeffreylevesqueAfter install, ubuntu starts first, but doesn't load properly, and I can't boot into windows now18:25
sarnoldjeffreylevesque: in what way does ubuntu not load properly?18:27
jeffreylevesquesarnold, https://github.com/jeff1evesque/audio-analyzer/issues/351#issuecomment-4986749218:27
jeffreylevesquegrub wouldn't install18:29
jeffreylevesquegave me an error18:29
sarnoldjeffreylevesque: sorry, this one is way beyond me; it looks like you've got the four primary partitions filled (sda1, sda2, sda3, sda4) then the extended partition (sda5), which seems wrong to me.. and using unetbootin, something I've never tried before, and using LILO on top of everything else...18:30
DeltaHeavyjeffreylevesque: Why did you post an issue on a totally unrelated peice of software?18:31
DeltaHeavyThat's not what that's for :p18:31
sarnoldjeffreylevesque: you may have better luck in #ubuntu. I know it's a madhouse in there but this channel is mostly populated with folks who have simple server systems that boot ubuntu and only ubuntu. :)18:31
DeltaHeavyThey're for legitimate bugs, not misuse.18:31
jeffreylevesquesarnold, thank you!18:31
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
toyotapiehello. I am updating the IPs on my servers in /etc/network/interfaces. Is there a command to get Ubuntu to update all the interfaces so that it is the same as that which is in /etc/network/interfaces ( like service networking restart, but doesn't horribly break the server ) ?20:18
Patrickdktoyotapie, reboot?20:34
Patrickdkthe correct way is to ifdown, edit interfaces, then ifup20:35
jeffreylevesqueanyone here know about dual boot with ubuntu server?20:58
=== thesheff17_ is now known as thesheff17
=== TDog_ is now known as TDog

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