Search Debian Channel Logs

Friday, January 27, 2017

#debian channel featuring TomTomTosch, TvL2386, angor, n4dir, gautamsomani, orl_, and 11 others.

Stummi 2017-01-27 01:45:38
aptitude remove package
newcoder 2017-01-27 01:46:08
That doesn't remove dependency
Stummi 2017-01-27 01:46:20
than its because the dependency is needed by something else
Stummi 2017-01-27 01:46:31
what does "aptitude why " say?
jelly 2017-01-27 01:48:39
styler2go: yes. .local is reserved for zeroconf/avahi/mdns
jelly 2017-01-27 01:51:40
dpkg, .local domain
dpkg 2017-01-27 01:51:40
.local is a pseudo-top-level domain for private networks. If you want to administer this domain manually using a name server like or in your files, you should ensure that /etc/nsswitch.conf doesn't contain "mdns" entries for the hosts line in that case. Alternatively, you can let manage the domain for you using . http://en.wikipedia.org/wiki/.local http://wiki.debian.org/ZeroConf
styler2go 2017-01-27 01:52:30
jelly, yay, got it fixed
jelly 2017-01-27 01:52:47
that's probably a bit outdated. Current best practice is, if you need dns in a private network, use a subdomain in your own public domain
GPenguin 2017-01-27 01:54:15
can dpkg bot list the newest 10 entries?
orl_ 2017-01-27 01:54:46
Hi!
GPenguin 2017-01-27 01:54:53
hello
sephii 2017-01-27 01:55:30
hi there, I'm trying to create an ephemeral copy of an LXC container by running "lxc-copy -e -n baseimage -s -B overlayfs" and I'm getting "Error: You must provide a NEWNAME for the clone" while the manpage says "When -e is specified and no newname is given via -N a random name for the snapshot will be chosen.". Am I doing something wrong or is the manpage wrong?
orl_ 2017-01-27 01:56:46
I'm having trouble after an upgrade to stretch: seq24 doesn't want to start, got an undefined symbol _ZN4Glib7ustringC1ERKSs. It's a version of seq24 I did patch a few years ago, it was working fineuntil the upgrade. I don't know what's the lib which leads to the problem, how can I track it (google didn't give me usable results)
coruja 2017-01-27 01:57:18
sephii, N != n
sephii 2017-01-27 01:59:37
coruja: yes, I'm not passing -N (NEWNAME) and LXC complains about it but the docs say that if it's not provided and -e is provided a random name will be chosen
coruja 2017-01-27 01:59:53
sephii, nvm, guess i misinterpreted the manpage quote
orl_ 2017-01-27 02:00:19
I tried to check things with ldd, looks like everything is linked except two lines (lib64/ld-linux-x86-64.so.2 and linux-vdso.so.1)
orl_ 2017-01-27 02:00:31
I don't knowhow this works exactly, though
gautamsomani 2017-01-27 02:01:36
Hello. Have a generic question - as a good sysadmin should I use sudo to run commands with privileges or should I become root directly and run things? Which is a recommended practice?
jelly 2017-01-27 02:03:05
gautamsomani: sudo, in general, is best used to provide specific permissions for specific commands
jelly 2017-01-27 02:04:11
if you give a user indiscriminate permissions to run any command as any user (including root), then there's no real difference between that user and root
gautamsomani 2017-01-27 02:06:34
jelly: Agreed, but if I talk from good practice point of view for myself who has ALL=(ALL) NOPASSWD: ALL in the sudoers file, what then?
angor 2017-01-27 02:06:59
I'm using sudo for single commands only... if I need to run several commands (e,g, investigating problems) - I'm playing shell as root :)
gautamsomani 2017-01-27 02:08:22
Okay. But that will be for convenience only, right?
jelly 2017-01-27 02:08:35
gautamsomani: opening a separate root shell has practical benefits, eg. easy to use a separate history file
TomTomTosch 2017-01-27 02:09:04
using sudo is also less error-prone in most cases.
jelly 2017-01-27 02:09:10
s/less/more/
jelly 2017-01-27 02:09:15
ymmv
GPenguin 2017-01-27 02:09:40
its less error prone because you type 2-3 times because you forgot sudo at first
jelly 2017-01-27 02:10:01
gautamsomani: also, things get interesting once you're not the only admin
TomTomTosch 2017-01-27 02:10:31
but that seldomly has consequenzes. using sudo you make an active choice with every command to give permissions to a command.
gautamsomani 2017-01-27 02:10:40
jelly: Yes, that is the case actually, history will get mixed up, you won't know who gave what command. In sudo, things get logged in separate file and also in sudo logs.
gautamsomani 2017-01-27 02:10:54
@GPengiun - yeah thats a good poing too.
gautamsomani 2017-01-27 02:11:23
TomTomTosch: - true.
GPenguin 2017-01-27 02:13:00
i read ubuntu's list of "facts" about why we should use sudo a while ago. and most of that was very obscure
TvL2386 2017-01-27 02:14:04
GPenguin, do you have a source link? I'm curious
TvL2386 2017-01-27 02:16:02
lol
GPenguin 2017-01-27 02:17:40
whats funny?
TvL2386 2017-01-27 02:18:14
I just read your statement about typing it 2-3 times ^^
kronos777 2017-01-27 02:19:34
ciao
kronos777 2017-01-27 02:19:55
!list
dpkg 2017-01-27 02:19:55
kronos777: È possibile scaricare un sacco di software libero puntando il tuo browser a http://cdimage.debian.org/debian-cd/current/multi-arch/iso-cd/debian-8.7.0-amd64-i386-netinst.iso !
styler2go 2017-01-27 02:20:54
Does anyone know a good UI network scanner?
n4dir 2017-01-27 02:22:34
zenmap?
styler2go 2017-01-27 02:24:11
n4dir, doesn't really work for me o.O
styler2go 2017-01-27 02:24:27
it just shows nmap output all other windows stay empty
n4dir 2017-01-27 02:24:28
What you want to scan?
n4dir 2017-01-27 02:25:05
i don't do much scanning, and if at all then nmap. So no idea about zenmap
GPenguin 2017-01-27 02:25:05
microsoft solved that stupidity problem with their question "do you really want to do this?" and that password prompt of sudo is just that
jelly 2017-01-27 02:25:37
UAC is actually quite nice, a bit better than sudo I think
styler2go 2017-01-27 02:26:50
n4dir: i just want to search local network for open port 80, so nmap -p80 10.10.0.1/24 buuuut the UI is not really that good and the console is unclear
n4dir 2017-01-27 02:27:31
isn't that 0/24 ?
styler2go 2017-01-27 02:28:14
oh wait, this UI does some "intense" search which just takes ages... nevermind me i guess
styler2go 2017-01-27 02:28:35
Initiating Service scan at 14:28
styler2go 2017-01-27 02:28:40
something like that it is doing
n4dir 2017-01-27 02:31:49
Nmap done: 256 IP addresses (4 hosts up) scanned in 9.98 seconds ; for nmap -p 80 192.168.178.0/24
styler2go 2017-01-27 02:33:41
yeah... the ui added -A
styler2go 2017-01-27 02:33:44
-A is quite slow
n4dir 2017-01-27 02:34:36
I never saw much sense in the gui, as i had to type the commands there anyway. But i am not much of a reader, unpatient, etc. Might be the gui is goo
styler2go 2017-01-27 02:35:55
n4dir, i just needed it to have a clear view because there are so many devices in this network
styler2go 2017-01-27 02:36:03
and i need to find a fritzbox
n4dir 2017-01-27 02:36:25
german?
n4dir 2017-01-27 02:37:26
you could try to pipe the output of nmap | grep -i fritz
n4dir 2017-01-27 02:40:30
anyway, perhaps there is a different scanner with gui. i don't know
teraflops 2017-01-27 02:44:31
,v zenmap
judd 2017-01-27 02:44:32
Package: zenmap on amd64 -- wheezy: 6.00-0.3+deb7u1; wheezy-backports: 6.40-0.1~bpo70+1; jessie: 6.47-3+deb8u2; stretch: 7.31-1; stretch: 7.40-1; sid: 7.40-1