The officially official Devuan Forum!

You are not logged in.

#1 2017-08-26 15:32:56

GitGud
Member
Registered: 2017-08-26
Posts: 9  

Wicd/system-wide permissions?

Linux Devuan 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64 GNU/Linux

After a recent update, i started receiving an error with Wicd.  Upon login, it would ask for the keyring password, which I would enter/unlock. (note:  if I had to access a p/w stored in the keyring again, I would have to unlock it a second time) Devuan would then notify me that Wicd started with elevated permissions, but did not ask for them.  Then, the Wicd service would fail, and the GUI would display a functionality error without the service running.

I attempted to restart the service/daemon, but received the same issue at login, with the exception that I did not have to unlock the keyring again.  I tried and apt-get clean && apt-get update && apt-get dist-upgrade to update the package, over wired because Wicd was still malfunctioning.  The wired interface worked fine, and all repos in my sources.list were hit fine.  apt-get would hang at [waiting for headers] with some of the mirrors, while others would succeed.  I checked my sources file, and made sure it was congruent with the documentation, but still I'm having the same issue.

On top of it, it appears that some system features are starting on login without proper permissions.  When booting, I no longer get the graphical login after my GRUB menu.  Instead, I have to log in via command line and run startxfce4.  When I have logged in this way, I am unable to execute restart/shutdown/suspend/hibernate (they are greyed out in the logout gui) and cannot execute them without elevated privileges in terminal.  However, I can log out fine.  My xfce4-power-manager has also stopped controlling screen brightness, although the system tray's icon still shows an adjustable slider.

When logging out, it takes me back to a command line, but returns an error that the x display manager and slim could not be stopped. (I'm not sure where some of these logs would be, but I'm sure I could find/post if needed) I have to manually press the power button to send a kill signal.

Not sure what logs might help.  Any/all are available.  Every issue above can be reproduced.

Last edited by GitGud (2017-08-26 15:36:03)

Offline

#2 2017-08-28 21:08:20

greenjeans
Member
Registered: 2017-04-07
Posts: 544  
Website

Re: Wicd/system-wide permissions?

Probably the first thing would be to check Synaptic's history and post a list of what all upgrades were done the day you started having trouble, there may be more than one issue.

I seem to remember having a similar issue with Firefox months ago, it would stop and give me that message that the keyring wasn't unlocked and ask for a password etc. Can't remember what the fix was though.


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#3 2017-08-28 22:38:16

GitGud
Member
Registered: 2017-08-26
Posts: 9  

Re: Wicd/system-wide permissions?

@greenjeans

Thank you for such quick feedback.  Unfortunately, I already tried to look at my update history in Synaptic.  It prompts me for my admin password, then upon receipt and successful launch, stops with an error dialogue:
--------------------
E: Write error - write (28: No space left on device)
E: Can't mmap an empty file
E: Failed to truncate file - ftruncate (9: Bad file descriptor)
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.
--------------------------
The only option is to close the error box, and the program terminates.

The output of df is:
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda2        6597808  3992352   2247264  64% /
udev               10240        0     10240   0% /dev
tmpfs            1225088     1060   1224028   1% /run
tmpfs               5120        4      5116   1% /run/lock
tmpfs            7450560    45748   7404812   1% /run/shm
/dev/sda1         523248      132    523116   1% /boot/efi
/dev/sda6      926180968 50688908 828421752   6% /home
/dev/sda5         369639     2273    343763   1% /tmp
/dev/sda3        2818080  2801692         0 100% /var
-----------
It looks like /var is filled, but I'm not entirely sure with what.

sudo du outputs:
sudo du
4    ./lib/nfs/sm
4    ./lib/nfs/sm.bak
16    ./lib/nfs
4    ./lib/udisks2
12    ./lib/dhcp
8    ./lib/urandom
4    ./lib/os-prober
20    ./lib/binfmts
4    ./lib/vim/addons
8    ./lib/vim
76    ./lib/gconf/defaults
4    ./lib/gconf/debian.defaults
4    ./lib/gconf/debian.mandatory
88    ./lib/gconf
4    ./lib/hp
8    ./lib/dictionaries-common/wordlist
8    ./lib/dictionaries-common/aspell
12    ./lib/dictionaries-common/ispell
32    ./lib/dictionaries-common
4    ./lib/emacsen-common/state/flavor/installed
8    ./lib/emacsen-common/state/flavor
4    ./lib/emacsen-common/state/package/installed
8    ./lib/emacsen-common/state/package
20    ./lib/emacsen-common/state
24    ./lib/emacsen-common
56    ./lib/upower
40    ./lib/xml-core
8    ./lib/dbus
8    ./lib/logrotate
4    ./lib/bluetooth/D0:7E:35:58:32:42
8    ./lib/bluetooth
4    ./lib/sudo/lectured
8    ./lib/sudo/ts
16    ./lib/sudo
8    ./lib/xkb
8    ./lib/tex-common/fmtutil-cnf
12    ./lib/tex-common
20    ./lib/libxml-sax-perl/ParserDetails.d
24    ./lib/libxml-sax-perl
4    ./lib/update-rc.d
4    ./lib/initscripts
4    ./lib/insserv
4    ./lib/usb_modeswitch
1588    ./lib/firebird/2.5/system
4    ./lib/firebird/2.5/backup
4    ./lib/firebird/2.5/tmp
4    ./lib/firebird/2.5/data
1604    ./lib/firebird/2.5
1608    ./lib/firebird
4    ./lib/aptitude
4    ./lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants
4    ./lib/systemd/deb-systemd-helper-enabled/hibernate.target.wants
4    ./lib/systemd/deb-systemd-helper-enabled/bluetooth.target.wants
4    ./lib/systemd/deb-systemd-helper-enabled/suspend.target.wants
4    ./lib/systemd/deb-systemd-helper-enabled/sockets.target.wants
4    ./lib/systemd/deb-systemd-helper-enabled/hybrid-sleep.target.wants
4    ./lib/systemd/deb-systemd-helper-enabled/paths.target.wants
108    ./lib/systemd/deb-systemd-helper-enabled
112    ./lib/systemd
4    ./lib/synaptic
8    ./lib/NetworkManager
4    ./lib/python
456    ./lib/apt/lists/partial
118676    ./lib/apt/lists
146244    ./lib/apt/lists.old/partial
187768    ./lib/apt/lists.old
4    ./lib/apt/mirrors/partial
8    ./lib/apt/mirrors
4    ./lib/apt/periodic
306476    ./lib/apt
8    ./lib/initramfs-tools
4    ./lib/git
4    ./lib/deborphan
6536    ./lib/mlocate
20    ./lib/wicd/configurations
32    ./lib/wicd
4    ./lib/geoclue
4    ./lib/polkit-1/localauthority/30-site.d
4    ./lib/polkit-1/localauthority/90-mandatory.d
4    ./lib/polkit-1/localauthority/50-local.d
4    ./lib/polkit-1/localauthority/20-org.d
16    ./lib/polkit-1/localauthority/10-vendor.d
36    ./lib/polkit-1/localauthority
40    ./lib/polkit-1
20    ./lib/ghostscript/CMap
12    ./lib/ghostscript/fonts
36    ./lib/ghostscript
8    ./lib/xfonts
4    ./lib/colord/icc
8    ./lib/colord
12    ./lib/PackageKit
4    ./lib/libreoffice/share/prereg/bundled
8    ./lib/libreoffice/share/prereg
12    ./lib/libreoffice/share
16    ./lib/libreoffice
4    ./lib/alsa
4    ./lib/avahi-autoipd
28    ./lib/pam
4    ./lib/minidlna
4    ./lib/snmp
3668    ./lib/aspell
44    ./lib/ucf/cache
100    ./lib/ucf
12    ./lib/sgml-base
32    ./lib/exim4
496    ./lib/usbutils
4    ./lib/misc
400    ./lib/dpkg/alternatives
4    ./lib/dpkg/updates
62044    ./lib/dpkg/info
4    ./lib/dpkg/parts
48    ./lib/dpkg/triggers
65544    ./lib/dpkg
3204    ./lib/ispell
4    ./lib/man-db
388452    ./lib
616    ./backups
4    ./opt
12    ./log/fsck
4    ./log/hp/tmp
8    ./log/hp
14676    ./log/installer/cdebconf
15952    ./log/installer
4    ./log/speech-dispatcher
4    ./log/firebird
780    ./log/apt
240    ./log/wicd
116    ./log/ConsoleKit
44    ./log/exim4
12    ./log/cups
2386824    ./log
4    ./local
4    ./cache/pm-utils
48    ./cache/dictionaries-common
4    ./cache/man/hu/cat8
4    ./cache/man/hu/cat1
4    ./cache/man/hu/cat5
36    ./cache/man/hu
4    ./cache/man/de/cat8
4    ./cache/man/de/cat1
4    ./cache/man/de/cat5
64    ./cache/man/de
4    ./cache/man/pt_BR/cat8
4    ./cache/man/pt_BR/cat1
4    ./cache/man/pt_BR/cat5
36    ./cache/man/pt_BR
4    ./cache/man/zh/cat1
28    ./cache/man/zh
4    ./cache/man/sk/cat1
28    ./cache/man/sk
4    ./cache/man/id/cat8
4    ./cache/man/id/cat1
4    ./cache/man/id/cat5
36    ./cache/man/id
4    ./cache/man/sl/cat8
4    ./cache/man/sl/cat1
32    ./cache/man/sl
4    ./cache/man/cat2
4    ./cache/man/cat7
4    ./cache/man/fr.ISO8859-1/cat7
4    ./cache/man/fr.ISO8859-1/cat8
32    ./cache/man/fr.ISO8859-1
4    ./cache/man/hr/cat1
28    ./cache/man/hr
4    ./cache/man/tr/cat8
4    ./cache/man/tr/cat1
4    ./cache/man/tr/cat5
36    ./cache/man/tr
4    ./cache/man/zh_TW/cat8
4    ./cache/man/zh_TW/cat1
4    ./cache/man/zh_TW/cat5
36    ./cache/man/zh_TW
4    ./cache/man/pl/cat8
4    ./cache/man/pl/cat1
4    ./cache/man/pl/cat5
44    ./cache/man/pl
4    ./cache/man/zh_CN/cat8
4    ./cache/man/zh_CN/cat1
4    ./cache/man/zh_CN/cat5
36    ./cache/man/zh_CN
4    ./cache/man/ko/cat8
4    ./cache/man/ko/cat1
4    ./cache/man/ko/cat5
36    ./cache/man/ko
4    ./cache/man/ca/cat1
28    ./cache/man/ca
4    ./cache/man/sr/cat1
28    ./cache/man/sr
4    ./cache/man/lt/cat1
28    ./cache/man/lt
4    ./cache/man/cat4
4    ./cache/man/fr/cat8
4    ./cache/man/fr/cat1
4    ./cache/man/fr/cat5
64    ./cache/man/fr
4    ./cache/man/el/cat1
28    ./cache/man/el
4    ./cache/man/gl/cat8
4    ./cache/man/gl/cat1
32    ./cache/man/gl
4    ./cache/man/da/cat8
4    ./cache/man/da/cat1
4    ./cache/man/da/cat5
36    ./cache/man/da
4    ./cache/man/cs/cat8
4    ./cache/man/cs/cat1
4    ./cache/man/cs/cat5
36    ./cache/man/cs
4    ./cache/man/ro/cat1
28    ./cache/man/ro
4    ./cache/man/fi/cat1
28    ./cache/man/fi
4    ./cache/man/cat6
4    ./cache/man/nl/cat8
4    ./cache/man/nl/cat1
4    ./cache/man/nl/cat5
36    ./cache/man/nl
4    ./cache/man/cat8
4    ./cache/man/cat1
4    ./cache/man/pt/cat8
4    ./cache/man/pt/cat1
4    ./cache/man/pt/cat5
36    ./cache/man/pt
4    ./cache/man/ja/cat8
4    ./cache/man/ja/cat1
4    ./cache/man/ja/cat5
44    ./cache/man/ja
4    ./cache/man/it/cat8
4    ./cache/man/it/cat1
4    ./cache/man/it/cat5
44    ./cache/man/it
4    ./cache/man/cat3
4    ./cache/man/ug/cat1
28    ./cache/man/ug
4    ./cache/man/ru/cat8
4    ./cache/man/ru/cat1
4    ./cache/man/ru/cat5
44    ./cache/man/ru
4    ./cache/man/ar/cat1
28    ./cache/man/ar
4    ./cache/man/fr.UTF-8/cat7
4    ./cache/man/fr.UTF-8/cat8
32    ./cache/man/fr.UTF-8
4    ./cache/man/cat5
4    ./cache/man/sv/cat8
4    ./cache/man/sv/cat1
4    ./cache/man/sv/cat5
40    ./cache/man/sv
4    ./cache/man/es/cat8
4    ./cache/man/es/cat1
4    ./cache/man/es/cat5
44    ./cache/man/es
4    ./cache/man/uk/cat1
28    ./cache/man/uk
2220    ./cache/man
40    ./cache/apt/archives
56    ./cache/apt
76    ./cache/ldconfig
4    ./cache/PackageKit/downloads
8    ./cache/PackageKit
80    ./cache/minidlna
1368    ./cache/fontconfig
6508    ./cache/debconf
4    ./cache/cups/rss
16    ./cache/cups
10388    ./cache
8    ./mail
11016    ./tmp/kdecache-zach
11020    ./tmp
4    ./spool/rsyslog
16    ./spool/anacron
4    ./spool/libreoffice/uno_packages/cache
8    ./spool/libreoffice/uno_packages
12    ./spool/libreoffice
4    ./spool/cron/atspool
8    ./spool/cron/atjobs
4    ./spool/cron/crontabs
20    ./spool/cron
4    ./spool/exim4/msglog
4    ./spool/exim4/db
4    ./spool/exim4/input
16    ./spool/exim4
4    ./spool/cups/tmp
8    ./spool/cups
80    ./spool
16    ./lost+found
2797416    .
zach@Devuan:/var$ sudo du
4    ./lib/nfs/sm
4    ./lib/nfs/sm.bak
16    ./lib/nfs
4    ./lib/udisks2
12    ./lib/dhcp
8    ./lib/urandom
4    ./lib/os-prober
20    ./lib/binfmts
4    ./lib/vim/addons
8    ./lib/vim
76    ./lib/gconf/defaults
4    ./lib/gconf/debian.defaults
4    ./lib/gconf/debian.mandatory
88    ./lib/gconf
4    ./lib/hp
8    ./lib/dictionaries-common/wordlist
8    ./lib/dictionaries-common/aspell
12    ./lib/dictionaries-common/ispell
32    ./lib/dictionaries-common
4    ./lib/emacsen-common/state/flavor/installed
8    ./lib/emacsen-common/state/flavor
4    ./lib/emacsen-common/state/package/installed
8    ./lib/emacsen-common/state/package
20    ./lib/emacsen-common/state
24    ./lib/emacsen-common
56    ./lib/upower
40    ./lib/xml-core
8    ./lib/dbus
8    ./lib/logrotate
4    ./lib/bluetooth/D0:7E:35:58:32:42
8    ./lib/bluetooth
4    ./lib/sudo/lectured
8    ./lib/sudo/ts
16    ./lib/sudo
8    ./lib/xkb
8    ./lib/tex-common/fmtutil-cnf
12    ./lib/tex-common
20    ./lib/libxml-sax-perl/ParserDetails.d
24    ./lib/libxml-sax-perl
4    ./lib/update-rc.d
4    ./lib/initscripts
4    ./lib/insserv
4    ./lib/usb_modeswitch
1588    ./lib/firebird/2.5/system
4    ./lib/firebird/2.5/backup
4    ./lib/firebird/2.5/tmp
4    ./lib/firebird/2.5/data
1604    ./lib/firebird/2.5
1608    ./lib/firebird
4    ./lib/aptitude
4    ./lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants
4    ./lib/systemd/deb-systemd-helper-enabled/hibernate.target.wants
4    ./lib/systemd/deb-systemd-helper-enabled/bluetooth.target.wants
4    ./lib/systemd/deb-systemd-helper-enabled/suspend.target.wants
4    ./lib/systemd/deb-systemd-helper-enabled/sockets.target.wants
4    ./lib/systemd/deb-systemd-helper-enabled/hybrid-sleep.target.wants
4    ./lib/systemd/deb-systemd-helper-enabled/paths.target.wants
108    ./lib/systemd/deb-systemd-helper-enabled
112    ./lib/systemd
4    ./lib/synaptic
8    ./lib/NetworkManager
4    ./lib/python
456    ./lib/apt/lists/partial
118676    ./lib/apt/lists
146244    ./lib/apt/lists.old/partial
187768    ./lib/apt/lists.old
4    ./lib/apt/mirrors/partial
8    ./lib/apt/mirrors
4    ./lib/apt/periodic
306476    ./lib/apt
8    ./lib/initramfs-tools
4    ./lib/git
4    ./lib/deborphan
6536    ./lib/mlocate
20    ./lib/wicd/configurations
32    ./lib/wicd
4    ./lib/geoclue
4    ./lib/polkit-1/localauthority/30-site.d
4    ./lib/polkit-1/localauthority/90-mandatory.d
4    ./lib/polkit-1/localauthority/50-local.d
4    ./lib/polkit-1/localauthority/20-org.d
16    ./lib/polkit-1/localauthority/10-vendor.d
36    ./lib/polkit-1/localauthority
40    ./lib/polkit-1
20    ./lib/ghostscript/CMap
12    ./lib/ghostscript/fonts
36    ./lib/ghostscript
8    ./lib/xfonts
4    ./lib/colord/icc
8    ./lib/colord
12    ./lib/PackageKit
4    ./lib/libreoffice/share/prereg/bundled
8    ./lib/libreoffice/share/prereg
12    ./lib/libreoffice/share
16    ./lib/libreoffice
4    ./lib/alsa
4    ./lib/avahi-autoipd
28    ./lib/pam
4    ./lib/minidlna
4    ./lib/snmp
3668    ./lib/aspell
44    ./lib/ucf/cache
100    ./lib/ucf
12    ./lib/sgml-base
32    ./lib/exim4
496    ./lib/usbutils
4    ./lib/misc
400    ./lib/dpkg/alternatives
4    ./lib/dpkg/updates
62044    ./lib/dpkg/info
4    ./lib/dpkg/parts
48    ./lib/dpkg/triggers
65544    ./lib/dpkg
3204    ./lib/ispell
4    ./lib/man-db
388452    ./lib
616    ./backups
4    ./opt
12    ./log/fsck
4    ./log/hp/tmp
8    ./log/hp
14676    ./log/installer/cdebconf
15952    ./log/installer
4    ./log/speech-dispatcher
4    ./log/firebird
780    ./log/apt
240    ./log/wicd
116    ./log/ConsoleKit
44    ./log/exim4
12    ./log/cups
2386824    ./log
4    ./local
4    ./cache/pm-utils
48    ./cache/dictionaries-common
4    ./cache/man/hu/cat8
4    ./cache/man/hu/cat1
4    ./cache/man/hu/cat5
36    ./cache/man/hu
4    ./cache/man/de/cat8
4    ./cache/man/de/cat1
4    ./cache/man/de/cat5
64    ./cache/man/de
4    ./cache/man/pt_BR/cat8
4    ./cache/man/pt_BR/cat1
4    ./cache/man/pt_BR/cat5
36    ./cache/man/pt_BR
4    ./cache/man/zh/cat1
28    ./cache/man/zh
4    ./cache/man/sk/cat1
28    ./cache/man/sk
4    ./cache/man/id/cat8
4    ./cache/man/id/cat1
4    ./cache/man/id/cat5
36    ./cache/man/id
4    ./cache/man/sl/cat8
4    ./cache/man/sl/cat1
32    ./cache/man/sl
4    ./cache/man/cat2
4    ./cache/man/cat7
4    ./cache/man/fr.ISO8859-1/cat7
4    ./cache/man/fr.ISO8859-1/cat8
32    ./cache/man/fr.ISO8859-1
4    ./cache/man/hr/cat1
28    ./cache/man/hr
4    ./cache/man/tr/cat8
4    ./cache/man/tr/cat1
4    ./cache/man/tr/cat5
36    ./cache/man/tr
4    ./cache/man/zh_TW/cat8
4    ./cache/man/zh_TW/cat1
4    ./cache/man/zh_TW/cat5
36    ./cache/man/zh_TW
4    ./cache/man/pl/cat8
4    ./cache/man/pl/cat1
4    ./cache/man/pl/cat5
44    ./cache/man/pl
4    ./cache/man/zh_CN/cat8
4    ./cache/man/zh_CN/cat1
4    ./cache/man/zh_CN/cat5
36    ./cache/man/zh_CN
4    ./cache/man/ko/cat8
4    ./cache/man/ko/cat1
4    ./cache/man/ko/cat5
36    ./cache/man/ko
4    ./cache/man/ca/cat1
28    ./cache/man/ca
4    ./cache/man/sr/cat1
28    ./cache/man/sr
4    ./cache/man/lt/cat1
28    ./cache/man/lt
4    ./cache/man/cat4
4    ./cache/man/fr/cat8
4    ./cache/man/fr/cat1
4    ./cache/man/fr/cat5
64    ./cache/man/fr
4    ./cache/man/el/cat1
28    ./cache/man/el
4    ./cache/man/gl/cat8
4    ./cache/man/gl/cat1
32    ./cache/man/gl
4    ./cache/man/da/cat8
4    ./cache/man/da/cat1
4    ./cache/man/da/cat5
36    ./cache/man/da
4    ./cache/man/cs/cat8
4    ./cache/man/cs/cat1
4    ./cache/man/cs/cat5
36    ./cache/man/cs
4    ./cache/man/ro/cat1
28    ./cache/man/ro
4    ./cache/man/fi/cat1
28    ./cache/man/fi
4    ./cache/man/cat6
4    ./cache/man/nl/cat8
4    ./cache/man/nl/cat1
4    ./cache/man/nl/cat5
36    ./cache/man/nl
4    ./cache/man/cat8
4    ./cache/man/cat1
4    ./cache/man/pt/cat8
4    ./cache/man/pt/cat1
4    ./cache/man/pt/cat5
36    ./cache/man/pt
4    ./cache/man/ja/cat8
4    ./cache/man/ja/cat1
4    ./cache/man/ja/cat5
44    ./cache/man/ja
4    ./cache/man/it/cat8
4    ./cache/man/it/cat1
4    ./cache/man/it/cat5
44    ./cache/man/it
4    ./cache/man/cat3
4    ./cache/man/ug/cat1
28    ./cache/man/ug
4    ./cache/man/ru/cat8
4    ./cache/man/ru/cat1
4    ./cache/man/ru/cat5
44    ./cache/man/ru
4    ./cache/man/ar/cat1
28    ./cache/man/ar
4    ./cache/man/fr.UTF-8/cat7
4    ./cache/man/fr.UTF-8/cat8
32    ./cache/man/fr.UTF-8
4    ./cache/man/cat5
4    ./cache/man/sv/cat8
4    ./cache/man/sv/cat1
4    ./cache/man/sv/cat5
40    ./cache/man/sv
4    ./cache/man/es/cat8
4    ./cache/man/es/cat1
4    ./cache/man/es/cat5
44    ./cache/man/es
4    ./cache/man/uk/cat1
28    ./cache/man/uk
2220    ./cache/man
40    ./cache/apt/archives
56    ./cache/apt
76    ./cache/ldconfig
4    ./cache/PackageKit/downloads
8    ./cache/PackageKit
80    ./cache/minidlna
1368    ./cache/fontconfig
6508    ./cache/debconf
4    ./cache/cups/rss
16    ./cache/cups
10388    ./cache
8    ./mail
11016    ./tmp/kdecache-zach
11020    ./tmp
4    ./spool/rsyslog
16    ./spool/anacron
4    ./spool/libreoffice/uno_packages/cache
8    ./spool/libreoffice/uno_packages
12    ./spool/libreoffice
4    ./spool/cron/atspool
8    ./spool/cron/atjobs
4    ./spool/cron/crontabs
20    ./spool/cron
4    ./spool/exim4/msglog
4    ./spool/exim4/db
4    ./spool/exim4/input
16    ./spool/exim4
4    ./spool/cups/tmp
8    ./spool/cups
80    ./spool
16    ./lost+found
2797416    .
---------------------------
Do I just need to clean out my /var directory?  If that's the case, what is safe to remove?  I don't want to break my install and hesitate to start rm'ing things haphazardly.  It looks like some logs, while not duplicates
-------------------------
sudo du -s * (while in /var) prints

616    backups
10388    cache
388452    lib
4    local
0    lock
2386824    log
16    lost+found
8    mail
4    opt
0    run
80    spool
11020    tmp
-------------------
Do I just have logs that have built up and are using too much space?

Offline

#4 2017-08-28 23:28:04

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: Wicd/system-wide permissions?

OMG!   That's a mess.  Please use BBCode tags.  They are all just over the input box.

Offline

#5 2017-08-28 23:35:35

GitGud
Member
Registered: 2017-08-26
Posts: 9  

Re: Wicd/system-wide permissions?

Apologies.  I thought you might want the list like it would be in terminal.  I didn't look at what the fields permitted.  That seems a bit general though.  HOW would be like me to use them?

Offline

#6 2017-08-28 23:43:23

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: Wicd/system-wide permissions?

GitGud wrote:

Apologies.  I thought you might want the list like it would be in terminal.  I didn't look at what the fields permitted.  That seems a bit general though.  HOW would be like me to use them?

The link to BBCode is the first just below this input window

Offline

#7 2017-08-29 01:31:51

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: Wicd/system-wide permissions?

You can highlight the text you want in a code box and then click on the code link above the message box.

Yours:

2386824    ./log

Mine:

3984	/var/log

How big are your log files? Mine are all measured in kb. If yours are in the mb range, then maybe logrotate isn't working right. It's safe to remove all the archived logs (the ones that end with .gz). You can also get rid of any packages saved from upgrades (in /var/cache/apt/archives) by running

apt-get autoclean

(gets rid of the ones that are obsolete) or

apt-get clean

(gets rid of all of them).

Offline

#8 2017-08-30 13:40:11

GitGud
Member
Registered: 2017-08-26
Posts: 9  

Re: Wicd/system-wide permissions?

I made some progress.  Apt get is stl returning errors about not enough space.  I tried to run both startx and startxfce4 from the command line, but they will not run as regular user.  Then, if I don't clean /var again, they fail to run as sudo as well.  It launched "correctly" as root user after initial clean, but I suspect that logs filled the directory after and now it will not succeed.  I would like to upload the error message from cmd line, but I can't access x to post it.
Took a screencap with my phone for now. Tried to use bbcode, but I'm making due from my phone and it's giving me issues.  Forgive me https://imagebin.ca/v/3YfPKPg2cna3

Offline

#9 2017-08-30 15:20:38

GitGud
Member
Registered: 2017-08-26
Posts: 9  

Re: Wicd/system-wide permissions?

Update:
Cleared out more archives in /var
On attempting shutdown from command line, brought me to devuan GUI login screen, but displays "failed to execute login command" when I input u/n and p/w

Offline

#10 2017-08-30 17:47:46

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: Wicd/system-wide permissions?

Until you get more space on /dev/sda3, nothing you do can be trusted to work. Get it to less than 95% full. And figure out what's taking up all the space in /var/log. (Please don't answer with just "logs". Which ones and how big are they?)

To post text from console:

cat <filename> | nc termbin.com 9999

and then post the link it gives you.

Offline

#11 2017-08-30 19:50:21

GitGud
Member
Registered: 2017-08-26
Posts: 9  

Re: Wicd/system-wide permissions?

@fsmithre

Again, thank you and everyone for replies.  I resized my sda3 (/var) partition to free up space quickly, and that solved most of it.  I am now about to execute apt-get properly, as well as log in as the root user, and now on boot I am taken to the GUI login.  I am still unable to login as the normal user, although now in a different way.  The u/n and p/w fields are successfully accepted, but under my normal user, I then receive "Failed to execute login session" as text across the background.  As the root user, this does not display, but I am presented with the desktop immediately.

I investigated /home and found that there was no .xinitrc.  If I remember correctly, the root user has a different file for this purpose, so would that explain one working but not the other?  I think the error logs from this had built up so much that it was no longer able to get to the GUI login, but now there is a problem starting xfce.  Some sources said I could copy the .xinitrc from the directory used by root.  I found this:

#!/bin/sh

# /etc/X11/xinit/xinitrc
#
# global xinitrc file, used by all X sessions started by xinit (startx)

# invoke global X session script
. /etc/X11/Xsession

It seems barren to me, but I can't find out what I should have in it, if anything else.  I know I'm still missing something, but am making steady progress.  I can address my /var directory later. (Plan now is to fix this, then I think I will set up lvm).  the referenced Xsession script contains:

#!/bin/sh
#
# /etc/X11/Xsession
#
# global Xsession file -- used by display managers and xinit (startx)

# $Id: Xsession 967 2005-12-27 07:20:55Z dnusinow $

set -e

PROGNAME=Xsession

message () {
  # pretty-print messages of arbitrary length; use xmessage if it
  # is available and $DISPLAY is set
  MESSAGE="$PROGNAME: $*"
  echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} >&2
  if [ -n "$DISPLAY" ] && which xmessage > /dev/null 2>&1; then
    echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} | xmessage -center -file -
  fi
}

message_nonl () {
  # pretty-print messages of arbitrary length (no trailing newline); use
  # xmessage if it is available and $DISPLAY is set
  MESSAGE="$PROGNAME: $*"
  echo -n "$MESSAGE" | fold -s -w ${COLUMNS:-80} >&2;
  if [ -n "$DISPLAY" ] && which xmessage > /dev/null 2>&1; then
    echo -n "$MESSAGE" | fold -s -w ${COLUMNS:-80} | xmessage -center -file -
  fi
}

errormsg () {
  # exit script with error
  message "$*"
  exit 1
}

internal_errormsg () {
  # exit script with error; essentially a "THIS SHOULD NEVER HAPPEN" message
  # One big call to message() for the sake of xmessage; if we had two then
  # the user would have dismissed the error we want reported before seeing the
  # request to report it.
  errormsg "$*" \
           "Please report the installed version of the \"x11-common\"" \
           "package and the complete text of this error message to" \
           "<debian-x@lists.debian.org>."
}

# initialize variables for use by all session scripts

OPTIONFILE=/etc/X11/Xsession.options

SYSRESOURCES=/etc/X11/Xresources
USRRESOURCES=$HOME/.Xresources

SYSSESSIONDIR=/etc/X11/Xsession.d
USERXSESSION=$HOME/.xsession
USERXSESSIONRC=$HOME/.xsessionrc
ALTUSERXSESSION=$HOME/.Xsession
ERRFILE=$HOME/.xsession-errors

# attempt to create an error file; abort if we cannot
if (umask 077 && touch "$ERRFILE") 2> /dev/null && [ -w "$ERRFILE" ] &&
  [ ! -L "$ERRFILE" ]; then
  chmod 600 "$ERRFILE"
elif ERRFILE=$(tempfile 2> /dev/null); then
  if ! ln -sf "$ERRFILE" "${TMPDIR:=/tmp}/xsession-$USER"; then
    message "warning: unable to symlink \"$TMPDIR/xsession-$USER\" to" \
             "\"$ERRFILE\"; look for session log/errors in" \
             "\"$TMPDIR/xsession-$USER\"."
  fi
else
  errormsg "unable to create X session log/error file; aborting."
fi

exec >>"$ERRFILE" 2>&1

echo "$PROGNAME: X session started for $LOGNAME at $(date)"

# sanity check; is our session script directory present?
if [ ! -d "$SYSSESSIONDIR" ]; then
  errormsg "no \"$SYSSESSIONDIR\" directory found; aborting."
fi

# Attempt to create a file of non-zero length in /tmp; a full filesystem can
# cause mysterious X session failures.  We do not use touch, :, or test -w
# because they won't actually create a file with contents.  We also let standard
# error from tempfile and echo go to the error file to aid the user in
# determining what went wrong.
WRITE_TEST=$(tempfile)
if ! echo "*" >>"$WRITE_TEST"; then
  message "warning: unable to write to ${WRITE_TEST%/*}; X session may exit" \
          "with an error"
fi
rm -f "$WRITE_TEST"

# use run-parts to source every file in the session directory; we source
# instead of executing so that the variables and functions defined above
# are available to the scripts, and so that they can pass variables to each
# other
SESSIONFILES=$(run-parts --list $SYSSESSIONDIR)
if [ -n "$SESSIONFILES" ]; then
  set +e
  for SESSIONFILE in $SESSIONFILES; do
    . $SESSIONFILE
  done
  set -e
fi

exit 0

# vim:set ai et sts=2 sw=2 tw=80:

Offline

#12 2017-08-30 21:01:59

greenjeans
Member
Registered: 2017-04-07
Posts: 544  
Website

Re: Wicd/system-wide permissions?

To me it sounds like you went over on space during the update, and thus may have gotten partials, half-installs etc.

I'm pretty sure you broke that install my friend, sorry. I would save the data you want to keep and start over with a clean install, only takes a few minutes anyway.


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#13 2017-08-31 00:42:31

garyz.dev1
Member
From: U.S.-South Carolina
Registered: 2017-06-15
Posts: 89  

Re: Wicd/system-wide permissions?

Not sure how your ~ (home) is setup - but I noticed my.xsession-errors was upto 6.8Mb  !!
I don't have a ~/.xinitrc file - so I must be using a global one. [can't send you a normal user]
'
Linux devuan 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u3 (2017-08-15) x86_64 GNU/Linux
with a XFCE desktop, aaaand should be slim loginMgr  - 'which' doesn't report lightdm
'gz

Offline

#14 2017-08-31 01:06:20

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: Wicd/system-wide permissions?

garyz.dev1 wrote:

Not sure how your ~ (home) is setup - but I noticed my.xsession-errors was upto 6.8Mb  !!

You are not alone! https://dev1galaxy.org/viewtopic.php?id=1515  Mine is already back up to 30mb.

Offline

#15 2017-09-02 19:57:54

greenjeans
Member
Registered: 2017-04-07
Posts: 544  
Website

Re: Wicd/system-wide permissions?

golinux wrote:
garyz.dev1 wrote:

Not sure how your ~ (home) is setup - but I noticed my.xsession-errors was upto 6.8Mb  !!

You are not alone! https://dev1galaxy.org/viewtopic.php?id=1515  Mine is already back up to 30mb.

So I guess nobody uses Bleachbit?

Keeps my system nice and clean and fast.


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#16 2017-09-02 21:30:20

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,323  

Re: Wicd/system-wide permissions?

greenjeans wrote:

So I guess nobody uses Bleachbit?

Keeps my system nice and clean and fast.

All hail to Bleachbit! I am fully sold on Bleachbit's bleachiness! smile


I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.

Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned. wink

Offline

#17 2017-09-02 21:47:37

greenjeans
Member
Registered: 2017-04-07
Posts: 544  
Website

Re: Wicd/system-wide permissions?

MiyoLinux wrote:
greenjeans wrote:

So I guess nobody uses Bleachbit?

Keeps my system nice and clean and fast.

All hail to Bleachbit! I am fully sold on Bleachbit's bleachiness! smile

LOL! YES!!

Hey by the way, thanks for the detailed and awesome rsync info, it will be implemented ASAP as I am right now suffering through the wait period of another http upload, having had one fail on me already today, lol.


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#18 2017-09-11 23:07:33

GitGud
Member
Registered: 2017-08-26
Posts: 9  

Re: Wicd/system-wide permissions?

Thanks for all your help guys!  Reinstalled and things are going just fine.  While updating, I noticed most of my sources complete quickly, but others fail and one takes over ten minutes (when reloading from Synaptic or apt-get).  I haven't changed the default Devuan servers in my sources file.  Can someone post a copy of their sources.list (if you haven't changed it) for me?

Offline

#19 2017-09-11 23:28:22

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,323  

Re: Wicd/system-wide permissions?

GitGud wrote:

Thanks for all your help guys!  Reinstalled and things are going just fine.  While updating, I noticed most of my sources complete quickly, but others fail and one takes over ten minutes (when reloading from Synaptic or apt-get).  I haven't changed the default Devuan servers in my sources file.  Can someone post a copy of their sources.list (if you haven't changed it) for me?

Here are mine...please note...I'm a bit of a rebel and use contrib and non-free in my sources! tongue  I also leave the 'deb-src" repositories open...they aren't necessary though, so you can comment them out if desired...

# deb cdrom:[Debian GNU/Linux 1.0-final _Jessie_ - Official i386 NETINST Binary-1 20170522-03:38]/ jessie main non-free 

# deb cdrom:[Debian GNU/Linux 1.0-final _Jessie_ - Official i386 NETINST Binary-1 20170522-03:38]/ jessie main non-free 

deb http://auto.mirror.devuan.org/merged/ jessie main non-free contrib 
deb-src http://auto.mirror.devuan.org/merged/ jessie main non-free contrib 

# jessie-security, previously known as 'volatile'
deb http://auto.mirror.devuan.org/merged/ jessie-security main contrib non-free 
deb-src http://auto.mirror.devuan.org/merged/ jessie-security main contrib non-free 

# jessie-updates, previously known as 'volatile'
deb http://auto.mirror.devuan.org/merged/ jessie-updates main contrib non-free 
deb-src http://auto.mirror.devuan.org/merged/ jessie-updates main contrib non-free
greenjeans wrote:

LOL! YES!!

Hey by the way, thanks for the detailed and awesome rsync info, it will be implemented ASAP as I am right now suffering through the wait period of another http upload, having had one fail on me already today, lol.

Not sure how I missed this greenjeans. I hope it works well for you! wink


I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.

Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned. wink

Offline

Board footer