Search Debian Channel Logs

Tuesday, January 31, 2017

#debian channel featuring KjetilK, phorce1, thestupidprowler, somiaj, dpkg, ztealmax,

thestupidprowler 2017-01-31 11:46:00
ok.. I'll try to be funny next time
antisaint 2017-01-31 11:48:09
Hey, so I removed the vnc4server from the rc.local and it now shows but its the wrong ip
antisaint 2017-01-31 11:48:12
:/
KjetilK 2017-01-31 11:51:06
any further ideas on my floppy drive problem?
antisaint 2017-01-31 11:52:03
Is my wrong ip issue due to network interface population order?
antisaint 2017-01-31 11:53:29
like im seeing 41.8.1.0 rather than the 192.168.10.63 like it should be
antisaint 2017-01-31 12:00:32
Any thoughts on why the ip is not showing the correct one?
ztealmax 2017-01-31 12:08:29
a question trying to make a script to add created user to sudo group, is it possible to show created user from root account and only the created username so i can pipe it to adduser ?
antisaint 2017-01-31 12:09:07
Scary ^
ztealmax 2017-01-31 12:13:08
essentialy what im trying to do is create a system install script instead of a complete iso (first install basic debian nothing selected) then run script and at the end add user to sudo group, thats why i need to find a way to find out username of created user so i can pipe it and att to sudo group, does it make sense or am i thinking this all wrong?
somiaj 2017-01-31 12:13:39
well how are you creating this user if you don't know the username?
ztealmax 2017-01-31 12:14:21
the idea is that someone else except me is running the script
antisaint 2017-01-31 12:14:34
PIMP.. adding a simple sleep to the rc.local fixed my issue :)
ztealmax 2017-01-31 12:15:31
so i need to find a way to maybe list last created username or something so i can pipe that name to sudo group?
Iridos 2017-01-31 12:16:00
ztealmax, whoever runs the script will need to supply the username, so the script can create it?
Iridos 2017-01-31 12:16:17
ztealmax, also, isn't your script re-inventing what pre-seeding already does?
Iridos 2017-01-31 12:16:21
dpkg, preseeding
dpkg 2017-01-31 12:16:21
[preseed] Preseeding provides a way to set answers to questions asked during the Debian installation process, to allow for a streamlined or completely automated installation. The provides an extensive appendix on preseeding with a full example. See http://wiki.debian.org/DebianInstaller/Preseed and http://www.debian-administration.org/articles/394 . See also .
phorce1 2017-01-31 12:17:15
my Google eyes are hurting. Is is at all possible to get a good run of "dpkg --get-selections" with a missing or broken /var/lib/dpkg/updates/ directory? /var/lib/dpkg/status looks OK.
ztealmax 2017-01-31 12:17:20
yea but was thinking was after installing basic debian with nothing selected user creates his account there, my script is essentially installing a desktop enviroment combined of some tweaks and a combo of lxde+pekwm
Iridos 2017-01-31 12:19:13
antisaint, be more precise… how do you read out the IP and how do you set it… or suppose that it is set
ztealmax 2017-01-31 12:19:44
well anyway ill sort it out eventually i hope ;) ill look in to preseed
Iridos 2017-01-31 12:21:13
ztealmax, it is (or was, last time I looked) not overly well documented…
Iridos 2017-01-31 12:21:18
maybe that got better
ztealmax 2017-01-31 12:21:46
Iridos, thank you ill google some :) disconnecting for now, and thank you for all the help so far :)
somiaj 2017-01-31 12:21:57
ztealmax: the default user in debian has uid 1000, that can be used to get the user name from /etc/passwd
ztealmax 2017-01-31 12:22:18
somiaj: thanx :)
ztealmax 2017-01-31 12:22:26
afk abit
Ooze 2017-01-31 12:26:08
My root filesystem is full and I'm not sure where the offender is
Ooze 2017-01-31 12:26:18
I ran sudo du -x / | sort -rn | head -15 but that's not really doing what I was hoping to do
Ooze 2017-01-31 12:26:47
I'd like to list whatever large files are on that partition
Ooze 2017-01-31 12:26:58
I probably accidentally copied something to the wrong dir
Iridos 2017-01-31 12:27:22
ztealmax, also, for re-using the package selection of another machine, you may find this interesting: /msg dpkg debian clone
Iridos 2017-01-31 12:28:48
phorce1, isn't updates/ regenerated all the time anyway? There is a factoid to restore status file (if the backups of it are gone, too) in an ugly hack from /usr/share/doc
awal1 2017-01-31 12:30:17
any x term with spliting support apart terminator?
phorce1 2017-01-31 12:30:53
Iridos: I tried ust moving /updates out of the way and that just made dpkg angry. I'm doing this on recovered files from a file system image from a machine I had an rm -rf oops on. Not on a live system
Iridos 2017-01-31 12:31:24
Ooze, if you are just looking for one place, you can go iteratively… du -hs * .[^.]* | sort -h … then descend to the biggest target… or there's tools like gdmap or … some ncurses tool whose name I forgot…
Iridos 2017-01-31 12:33:01
phorce1, you must somehow be misinterpreting something…my /var/lib/dpkg/updates/ is empty… on a working system
phorce1 2017-01-31 12:35:06
Iridos: aha! thank you for the clue. I moved the whole directory out of the way and failed to create a new, empty, one
Iridos 2017-01-31 12:41:03
Ooze… *sigh*